When to reboot after update
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 14 of 14
  1. #1
    Join Date
    Apr 2018
    Location
    Canada
    Posts
    3
    Linux Chrome 72.0.3626.81

    When to reboot after update

    I am wondering if it is necessary, or advisable, to reboot after each 'dnf upgrade', or if only after certain types of packages, like kernel and libraries have, been upgraded.

    Thanks.

  2. #2
    PabloTwo's Avatar
    PabloTwo is offline "Registered User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    7,925
    Linux Chrome 72.0.3626.81

    Re: When to reboot after update

    Generally, only after a kernel update, so you can boot into the new kernel.

  3. #3
    Join Date
    Apr 2018
    Location
    Canada
    Posts
    3
    Linux Chrome 72.0.3626.81

    Re: When to reboot after update

    But what about daemon binaries? Wouldn't they need to at least be stopped and started?

  4. #4
    PabloTwo's Avatar
    PabloTwo is offline "Registered User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    7,925
    Linux Chrome 72.0.3626.81

    Re: When to reboot after update

    Quote Originally Posted by wucolin
    But what about daemon binaries? Wouldn't they need to at least be stopped and started?
    Actually, I think dnf mostly takes care of that for you. There is a built-in plugin to dnf that is probably called upon in the update process. See,

    man dnf.plugin.needs-restarting

    Code:
    DNF.PLUGIN.NEEDS_RESTARTING(8)                  dnf-plugins-core                  DNF.PLUGIN.NEEDS_RESTARTING(8)
    
    NAME
           dnf.plugin.needs_restarting - DNF needs_restarting Plugin
    
           Check for running processes that should be restarted.
    
    SYNOPSIS
           dnf needs-restarting [-u]
    
    DESCRIPTION
           needs-restarting  looks  through running processes and tries to detect those that use files from packages
           that have been updated after the given process started. Such processes are reported by this tool.
    
           Note that in most cases a process should survive update of its binary and libraries it is  using  without
           requiring  to  be  restarted  for  proper  operation. There are however specific cases when this does not
           apply.
    
    OPTIONS
           -u, --useronly
              Only consider processes belonging to the running user.
    
    AUTHOR
           See AUTHORS in your Core DNF Plugins distribution
    
    COPYRIGHT
           2014, Red Hat, Licensed under GPLv2+
    
    2.1.5                                             Feb 10, 2018                    DNF.PLUGIN.NEEDS_RESTARTING(8)l
    Or you could run that manually yourself after an update.

    Only on very rare occasion have I experienced something not working quite right after a package upgrade. Besides, Fedora serves out new kernels often enough your going to be doing a reboot before very long anyways. My own computer usage is to shut down the machine after use and not leave it running, which would make this a non-issue for me under any circumstance.

  5. #5
    Join Date
    Feb 2015
    Location
    Colorado
    Posts
    41
    Linux (Fedora) Firefox 64.0

    Re: When to reboot after update

    If you want Fedora's position on rebooting after updates, take a big hint from the fact that updating from the provided GUI ALWAYS involves a reboot.
    If the computer is a personal workstation, I always reboot after updating with dnf.
    If the computer is an enterprise production server, then whether to reboot or not becomes a totally different issue. Which is usually handled by a competent administrator.
    Just my humble opinion.
    I try to think, but nothin' happens!

  6. #6
    Join Date
    Apr 2009
    Location
    central NY, USA
    Posts
    1,205
    Linux Firefox 60.0

    Re: When to reboot after update

    I never 'pick & choose' packages to update. My machines ALWAYS reboot after an update.

    Troubleshooting is just so much easier (and constant) that way!

    ;-)
    Change - the only constant.

  7. #7
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,701
    Linux (Fedora) Chrome 71.0.3578.98

    Re: When to reboot after update

    I do not as yet run a server. Therefore, when I know I am going to be away for more than a day, I power down my computer.
    I generally reboot my system every week as I try some other Linux ISO's.

    Quite a few people are only rebooting when the kernel update corrects a function they make use of. Others like myself, have three or four competing or explorative Linux distributions on my 5 disk system. I use the system's in a daily round robin sequence. My #1 is Fedora 29, which I Reboot for the weekend. Of course, I also run. Sudo grub2-mkconfig once per weekend.
    Last edited by lsatenstein; 6th February 2019 at 11:54 PM.
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  8. #8
    Join Date
    Jul 2005
    Age
    58
    Posts
    1,207
    Linux Chrome 72.0.3626.81

    Re: When to reboot after update

    Reboot after a kernel or glibc update. Restart your desktop if any security related big patches come out to the packages on your desktop of choice - gnome, kde, and friends. Most services will restart after they are updated - which is something that you may need to watch out for if they might affect nfs or gluster or other distributed file system mounts or operations. Other than that, there is no need to reboot.

    It used to be, back in the day, that Fedora ran a web page / mailing list page like CentOS listing each update that came out. The CentOS page doesn't get updated much anymore so I suspect it is going away as well at some point. Then Fedora went to this disgustingly stupid and hard to use - but cute - never forget cute - replacement page, and it's been a pain in the behind to find out just what the problem was for any package that was updated. You end up having to do a search for a particular package or click back through page after page of listings to find the page you wanted. There used to be a summary page for the month listing each update in date order that you could click on for more info to see just why something was added. But cuteness won over functionality. So now, it is much harder to really see if you need to reboot or restart services for those that don't restart automatically or log out and log back in. But this is somehow progress - just reboot all the time like that other company does. I suppose in a few years, we'll be doing multiple reboots each update cycle, cause that is somehow progress.

  9. #9
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    808
    Linux (Ubuntu) Firefox 65.0

    Re: When to reboot after update

    Quote Originally Posted by William Haller
    Reboot after a kernel... update
    A bit of a side note: Kernel 4 introduced no-reboot kernel patching. Sadly it's disabled in Fedora kernels and is meant for deploying emergency security pacthes rather than a full kernel version upgrade anyway. However, it would be nice if they managed to make it truely no-reboot in future.

  10. #10
    Join Date
    Mar 2011
    Posts
    190
    Windows NT 10.0 Firefox 65.0

    Re: When to reboot after update

    Quote Originally Posted by Pudge
    I try to think, but nothin' happens!
    Hello Curly!

  11. #11
    Join Date
    Feb 2015
    Location
    Colorado
    Posts
    41
    Linux (Fedora) Firefox 65.0

    Re: When to reboot after update

    I try to think, but nothin' happens!
    Quote Originally Posted by evilbastard
    Hello Curly!
    hello...Hello...HELLO

    One of many of my favorite quotes. From "No Census, No Feeling" (Search on Utube)
    Moe was acting as a Census taker.
    Moe: What was your family decomposed of?
    Curly: Well I'll tell ya. There was a litter of three, and I was the one they kept.
    Later on.....
    Moe: How many in the family?
    Larry: I was one of a litter of three.
    Moe: Now don't tell me you're the one they kept.
    Larry: Nah, I'm the one they threw away.

    evilB if I may ask, how old are you? It took quite a while before someone noticed my signature. I guess most of the members are too young for that nonsense.
    I try to think, but nothin' happens!

  12. #12
    Join Date
    Mar 2011
    Posts
    190
    Linux (Fedora) Chrome 71.0.3578.98

    Re: When to reboot after update

    I am 57, been a Stooges fan since I was 9 or 10.

  13. #13
    Join Date
    Dec 2008
    Location
    Maryland
    Posts
    504
    Linux (Fedora) Firefox 65.0

    Re: When to reboot after update

    I'm 65. Saw them (with Joe DeRita) live once. It was just an appearance. IIRC, they didn't perform.

  14. #14
    Join Date
    Jan 2019
    Location
    algeria
    Posts
    4
    Linux (Fedora) Firefox 65.0

    Re: When to reboot after update

    reboot after kernel update if we need to use the newest version immediately
    for other applications just restart them and they will be updated

Similar Threads

  1. Why does Fedora need to reboot to update?
    By yangmusa in forum Installation, Upgrades and Live Media
    Replies: 3
    Last Post: 7th August 2018, 04:45 AM
  2. How to update without reboot
    By Sandrew in forum Using Fedora
    Replies: 5
    Last Post: 1st April 2018, 11:24 PM
  3. F20: reboot after update fails
    By fabianBaer in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 10th October 2014, 02:42 PM
  4. No networking after update and reboot
    By Dead1nside in forum Using Fedora
    Replies: 4
    Last Post: 11th October 2011, 06:50 PM
  5. Reboot after every Update !!
    By cmdrunix in forum Using Fedora
    Replies: 7
    Last Post: 5th September 2009, 06:12 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •