Hi Paul,

On 04/20/2014 08:05 AM, Paul Wise wrote:
> Please detect when the kernel on disk has been upgraded and offer to
> reboot but make it not reboot by default, for the same reason as login
> managers are blacklisted; user sessions are still open.

I've no idea how to detect outdated kernels in a generic way. In
apt-dater-host I'd tried to implement such detection... but it is only a
fragile heuristic. It is distri specific (needrestart should work on any
GNU/Linux).

On Debian based system you could install update-notifier-common. This
ships /etc/kernel/postinst.d/update-notifier which creates
/var/run/reboot-required after kernel installation. This is Debian's way
for kernel-package based kernel installations... but no generic solution.

Looking for ideas/comments.


Cheers,
Thomas

-- 

    ::  WWW:                         http://fiasko-nw.net/~thomas/  ::
   :::  Jabber:                   xmpp:tho...@jabber.fiasko-nw.net  :::
    ::  flickr:              http://www.flickr.com/photos/laugufe/  ::


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to