News for hackers. Stuff that matters.
Re:Bill Gates on Windows Usability (2003) by linuseouyt on Friday October 25, 2019 @04:47PM (#21359093)
I have an Ubuntu dedicated server. I reboot it every Sunday, yet there is rarely a week where on Friday I don't see this when SSHing in due to auto-updates:

    0 packages can be updated.
    0 updates are security updates.


    *** System restart required ***

    Ubuntu 18.04.1 LTS

    Linux ubuntu 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Re:Bill Gates on Windows Usability (2003) by SXX on Friday October 25, 2019 @05:11PM (#21359290)
In 99% of cases this is efficiently mean that your kernel been upgraded, but it's doesn't affect system usability at all and rarely affect security. I have servers that been continuously upgraded over years, never got single reboot and still function properly.
Re:Bill Gates on Windows Usability (2003) by tsimionescu on Saturday October 26, 2019 @03:24AM (#21362261)
As far as I know, Linux doesn't support library hotswapping any more than Windows does, so if you have a security update in libc for example, you can either manually restart all programs which use it, or reboot the system. Unless you do one of these, you don't have the security patch up and running, right?
Re:Bill Gates on Windows Usability (2003) by wokkel on Saturday October 26, 2019 @10:00AM (#21363707)
Yes it does but differently: the library is placed on disk and the symlink pointing to the new version is updates. Services depending on this library are restarted. Ssh handles this exceptionally well in that it keeps running sessions open and new sessions use the new library. There is alsof no risk of having locks on files during installation: Unix keeps a gidsen copy of a file until the last process closes it. All in all, almost no reboots required unless a critical kernel bug is found that can be exploited remotely.
Re:Bill Gates on Windows Usability (2003) by tsimionescu on Saturday October 26, 2019 @12:33PM (#21364629)
Still, each individual process using an updated library needs to be restarted for the update to take effect.

The way I see it, Linux does give you much more flexibility in how to deal with these restarts; and the ability to overwrite libraries on disk guarantees you don't get into the horrible Windows update-restart-update-restart cycles: you only ever require one restart at most.

However, there are also risks. For one, if you don't restart long-running processes which use updated shared libraries your system may be at risk; also, even if the update was not a vulnerability fix, it is technically possible for processes that communicate through a shared library to misbehave if they have different versions (one using the old library with an old data-structure for example).

This probably doesn't happen so much in Linux, where IPC is commonly done through text streams, but may be a much bigger problem on Windows if you update some COM library for example, reducing the usefullness of no-restart updates.

Re:Bill Gates on Windows Usability (2003) by parliament32 on Friday October 25, 2019 @05:04PM (#21359235)
This is just an Ubuntu-ism. Linux doesn't require a reboot for anything other than kernel updates (and dbus in special cases).

On a side note it's a bad idea to run Ubuntu on a server in prod. Ubuntu is great for desktop and pretty trash for everything else. You'd be better off just running Debian, it's a lot more stable.

Re:Bill Gates on Windows Usability (2003) by linuseouyt on Friday October 25, 2019 @05:14PM (#21359314)
> Linux doesn't require a reboot for anything other than kernel updates

You can say the same about Windows updates.

Ubuntu has a new kernel update every 3 weeks, unless CVEs force sooner ones.

https://wiki.kubuntu.org/Kernel/StableReleaseCadence

Anyway, parent was saying that Windows is shit because it forces frequent updates. Ubuntu, which as you say it's the closest to a user friendly Linux dist does the same thing.

Re:Bill Gates on Windows Usability (2003) by PhasmaFelis on Saturday October 26, 2019 @01:09AM (#21361848)
> Anyway, parent was saying that Windows is shit because it forces frequent updates. Ubuntu, which as you say it's the closest to a user friendly Linux dist does the same thing.

Windows will kill all your apps and reboot your machine in the middle of the night on a regular basis, unless you do some serious digging in the registry. (And they may have closed off even that by now.)

Is that "the same thing" as Ubuntu?

Re:Bill Gates on Windows Usability (2003) by computerex on Saturday October 26, 2019 @03:25AM (#21362266)
One thing that's different is that you'll be never forced to update on linux and you will never be forced to reboot, even on Ubuntu.
Re:Bill Gates on Windows Usability (2003) by JamesT_Kirk on Friday October 25, 2019 @11:44PM (#21361580)
Not really. Linux Mint is more popular and is far more usable and stable in my experience. And it does not force updates.
Re:Bill Gates on Windows Usability (2003) by SXX on Friday October 25, 2019 @05:15PM (#21359320)
In most cases this is exactly kernel updates that Ubuntu ask reboot for. You can just go check contents of this file to see what packages requested upgrade:

   /var/run/reboot-required.pkgs
Re:Bill Gates on Windows Usability (2003) by icedchai on Friday October 25, 2019 @10:26PM (#21361266)
You reboot your server every week? Whatever for?
Re:Bill Gates on Windows Usability (2003) by Enginerrrd on Saturday October 26, 2019 @11:23AM (#21364190)
Don't some updates set a "reboot required" flag?
Re:Bill Gates on Windows Usability (2003) by icedchai on Saturday October 26, 2019 @12:33PM (#21364627)
Yes. My point is doing this all the time is, generally, a waste of time. I recommend turning off automatic updates, do it on a schedule. Weekly is too frequent. I have some servers I update yearly. That may be too long. At a previous startup, we had boxes that hadn't seen an update in 3+ years.
Re:Bill Gates on Windows Usability (2003) by stephenr on Saturday October 26, 2019 @06:36AM (#21362929)
This is the real WTF of this subthread.
Re:Bill Gates on Windows Usability (2003) by tom_ on Saturday October 26, 2019 @08:27AM (#21363222)
To make sure the process works?
Re:Bill Gates on Windows Usability (2003) by DenseComet on Friday October 25, 2019 @07:57PM (#21360414)
Try out Ubuntu Livepatch. It can update the kernel without reboots, which is likely the cause of the message.