Updates that require restart

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
User avatar
silfox2000
Level 2
Level 2
Posts: 83
Joined: Fri Sep 08, 2017 8:13 am

Updates that require restart

Post by silfox2000 » Fri Mar 02, 2018 5:47 am

I noted that none of the updates indicate that they require restart in order to be applied. For example updates of the kernel. The new kernel is not loaded until restart. There are several other updates, mostly level 4 and 5 for which I usually wonder if they require restart. My question is - is it possible the updates that require restart to be appropriately marked?
Last edited by silfox2000 on Fri Mar 02, 2018 6:51 am, edited 1 time in total.

User avatar
Pjotr
Level 20
Level 20
Posts: 10208
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Updates that requre restart

Post by Pjotr » Fri Mar 02, 2018 5:58 am

Good question; reasonable request.... This forum isn't the place for this, though: I advise to contact Clem about this directly. Either on IRC or by e-mail.

Note that level 4 updates *in most cases* (not all) require a reboot before becoming active. While level 1-3 updates usually don't. So as a workaround, you might make it standard practice to reboot after applying a level 4 update. It's what I do, myself.
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: Updates that requre restart

Post by Cosmo. » Fri Mar 02, 2018 6:38 am

There is in the roadmap an entry, whether a prompt for a reboot after a kernel update should get implemented (see the R&D section). Actually I read this entry already since a very long time, but obviously nothing has happened until now. And obviously only kernel updates are mentioned there. Actually level 3 & 4 (only valid for Mint 18.2 & 18.3) updates are very often related to services or drivers and there is no general answer, whether or not a restart of them gets automatically done or if a restart is even possible without a restart. An update for the graphics driver e. g. does also only get effective after rebooting. Theoretically one could investigate, if a current level 3 / 4 updates needs a reboot or at least a manual service restart, but the needed time for this investigation would most likely take the multiple time than the reboot itself.

So I recommend since a long time to reboot the machine after a level 3 / 4 update and I consider the documentation in the help file of the update manager as incomplete, because it does not cover this question. Especially the recommendation in the help file to apply level 3 / 4 updates only one by one does not help, if a reboot (or at least a service restart) should be needed, but not get done, because the documentation misses this point.

In short: If you get a level 3 / 4 update, do a reboot. It can save headaches.

blockhead47
Level 2
Level 2
Posts: 72
Joined: Wed Jun 15, 2016 4:50 pm
Location: Chicago, IL, USA

Re: Updates that requre restart

Post by blockhead47 » Fri Mar 02, 2018 10:57 am

Another option might be to install debian-goodies so that you can run checkrestart after upgrades to determine which services are using old versions of libraries and need restarting.

User avatar
silfox2000
Level 2
Level 2
Posts: 83
Joined: Fri Sep 08, 2017 8:13 am

Re: Updates that requre restart

Post by silfox2000 » Fri Mar 02, 2018 1:54 pm

Thanks for the tips. I was thinking more about the possibility some updates that are known to require restart to be marked somehow. Well, I'm going to restart the system whether there are level 3, 4 and 5 updates, but for sure there are users that will not do that just because they don't know that they have to do that in order to apply the updates. I may contact Clem as Pjotr advised during the weekend.

User avatar
BG405
Level 6
Level 6
Posts: 1100
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: Updates that require restart

Post by BG405 » Tue Mar 06, 2018 5:39 pm

blockhead47 wrote:
Fri Mar 02, 2018 10:57 am
Another option might be to install debian-goodies so that you can run checkrestart after upgrades
Great idea, I think it would be good for this to be included in Mint installations! (As well as NOT removing GParted during install, but that's OT for this thread).
Dell Inspiron 1525 - LM17.3 CE 64-------------------Acer D255E 2GB - LM17.3 KDE 32
Toshiba NB305 - LM17.3 Xfce 32---------------------K7S5A Athlon 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Dell PII 350 64MB - Puppy 4.3 & Win98-SE

Post Reply

Return to “Other topics”