[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#889002: Simple reboot reminder



Control: reassign -1 needrestart

On Thu, 2018-02-01 at 17:29 +1300, martin f krafft wrote:
> Package: linux-base
> Version: 4.5
> Severity: wishlist
> 
> We use the following line from cron to remind us to reboot
> a machine, if the initrd for the currently running kernel has been
> updated:
> 
>   test /proc -nt /boot/initrd.img-$(uname -r) || echo reboot required
> 
> Would you be open to the idea to provide such functionality from
> linux-base?
> 
> I'd be happy to extend it to make it work for systems without
> initrd, as well as in the case of kernel version upgrades
> (configurable), but I'd want to gauge first if this is the right
> place for such a script.
> 
> If you don't think linux-base is the place for this, please
> reassign.

There are several packages that already check whether the running
kernel (and userland processes) match the installed versions, so it
doesn't make sense to me that linux-base would implement just this
check.

Reassigning this to needrestart as that's the one I'm familiar with and
it doesn't appear to do this.

Ben.

-- 
Ben Hutchings
All extremists should be taken out and shot.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: