The Upgrade Process: Restarting vs Rebooting.

    Date09 Apr 2003
    3020
    Posted ByAnthony Pell
    Upgrading your software is a constant task. But when does it require a reboot, and when can you get by without? . . . Upgrading your software is a constant task. But when does it require a reboot, and when can you get by without?

    Every operating system in the world requires software updates from time to time. If you're used to the world of Windows, you have probably become accustomed to a simple fact of windows life: you need to reboot your machine after any system change, such as upgrading software, installing patches, installing new software, moving your mouse, and so on. In the Linux world, this is not the case. You can keep your machine running for months or years without rebooting as long as you properly handle software upgrades.

    There are four main types of software upgrades that you could require. I'll point out the actions you should take after performing an upgrade to be sure that your machine is running smoothly and you're not accidentally running old versions.

    User-level software

    User level software are your standard programs in places like /bin and /usr/bin that are executed from the command line interactively, from system scripts, cron jobs, you name it. Things like awk, emacs, grep, mutt, passwd, perl, ping, vi, and so on. These programs are run for short periods of time, rather than hanging around forever like a webserver.

    These programs, since they are not running continually, do not require any reboot of the machine after an upgrade. The next time they're called, the new version will automatically be run. On the oft chance you have extremely long lived processes (say you've had mutt running on a screen session since the beginning of time) then you should stop and restart them, but this is rare.

    Daemon software

    Daemon software is anything that runs continually unattended, such as a webserver, mail server, database server, network time server, log analyser, etc. Often you can identify these by looking at their parent process ID in ps output - it will usually be '1', the init process. For example:

    ...

    You are not authorised to post comments.

    LinuxSecurity Poll

    Do you reuse passwords across multiple accounts?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 2 answer(s).
    /component/communitypolls/?task=poll.vote
    13
    radio
    [{"id":"55","title":"Yes","votes":"0","type":"x","order":"1","pct":0,"resources":[]},{"id":"56","title":"No","votes":"0","type":"x","order":"2","pct":0,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350
    bottom200

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.