[Bug 666348] [NEW] Reboot notification should not require X
Brandon Black
666348 at bugs.launchpad.net
Mon Oct 25 15:18:22 UTC 2010
Public bug reported:
The postinst script for Maverick (and probably other releases') kernels
ultimately signal that a reboot is required by checking for and
executing (if exists) "/usr/share/update-notifier/notify-reboot-
required". That script in turn generates "/var/run/reboot-required",
which then other scripts (unattended-upgrade, for example) look for to
indicate that a package update requires a reboot. For that matter,
/var/run/reboot-required is what any other scripts would want to look
for (sysadmin's own scripts on a remote headless server? EC2?).
The meta-problem here is that update-notifier is not normally installed
in a headless server environment like EC2, and depends on the whole mess
of X dependencies since it's related to graphical notifications as well.
Thus the notify-reboot-required script does not exist, thus /var/run
/reboot-required does not get generated.
The best fix would probably be to have the kernel postinst script create
/var/run/reboot-required directly itself, in addition to executing
update-notifier hooks if that package happens to be installed.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
Reboot notification should not require X
https://bugs.launchpad.net/bugs/666348
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list