Discussion:
How do I manually acknowledge the "System restart required" indicator?
Christofer C. Bell
2006-08-21 03:38:43 UTC
Permalink
When one installs a new kernel, the update-notifier in the system
notification area displays a circle comprised of two blue arrows and
presents the message that a system restart is required. How does one
manually acknowledge this indicator without rebooting?

Thank you!
--
Chris

"I trust the Democrats to take away my money, which I can afford. I
trust the Republicans to take away my freedom, which I cannot."
Luis
2006-08-22 10:09:34 UTC
Permalink
I'd say check under

/var/lib/update-notifier/

And delete the text file that tells it that something (not just a
kernel) that needs the system to be rebooted was installed. A good
example of a non-kernel package that would do this is any fglrx (ATI)
driver. Or any other module to the kernel for that matter. (Yes,
modules are supposed to work by simply modprobe'ing them, but in
practice you almost always need to reboot. Why take a chance).

In your case what you want is to be able to "restart later". This
option is part of Edgy now.
Post by Christofer C. Bell
When one installs a new kernel, the update-notifier in the system
notification area displays a circle comprised of two blue arrows and
presents the message that a system restart is required. How does one
manually acknowledge this indicator without rebooting?
Thank you!
--
Chris
"I trust the Democrats to take away my money, which I can afford. I
trust the Republicans to take away my freedom, which I cannot."
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
----)(-----
Luis Mondesi
*NIX Guru

Kiskeyix.org

"We think basically you watch television to turn your brain off, and
you work on your computer when you want to turn your brain on" --
Steve Jobs in an interview for MacWorld Magazine 2004-Feb

No .doc: http://www.gnu.org/philosophy/no-word-attachments.es.html
Christofer C. Bell
2006-08-23 21:23:29 UTC
Permalink
Post by Christofer C. Bell
When one installs a new kernel, the update-notifier in the system
notification area displays a circle comprised of two blue arrows and
presents the message that a system restart is required. How does one
manually acknowledge this indicator without rebooting?
Thank you!
It turns out the answer is to delete /var/run/reboot-required. This
file is created when update-manager installs a new kernel, and removed
during a reboot. update-notifier checks for it every time it starts
and displays the notification if the file is present. Removing it
"acknowledges" the notification.
--
Chris

"I trust the Democrats to take away my money, which I can afford. I
trust the Republicans to take away my freedom, which I cannot."
Derek Broughton
2006-08-24 15:25:28 UTC
Permalink
Post by Christofer C. Bell
It turns out the answer is to delete /var/run/reboot-required. This
file is created when update-manager installs a new kernel, and removed
during a reboot.
I looked at this and though "how could it do that?". Then realized it
doesn't, really. Clever. /var/run is created in a tmpfs filesystem. So
after reboot, nothing gets "removed", it just doesn't exist anymore - which
is exactly what update-notifier wants.
--
derek
Loading...