• Why do I never see /var/run/reboot-required ?

    From Christian Jaeger@21:1/5 to All on Mon Feb 24 22:50:01 2025
    Hi!

    According to various online sources, packages are expected to create
    the file `/var/run/reboot-required` if they wish that the system
    reboots.

    I've been running a cron job that checks for this file for 3 months now
    and it has never seen it. And the system has upgraded its kernel (via a
    script of mine) and is now running an outdated one, surely a case that
    requires a reboot.

    $ ls -l /var/run/|grep reboo
    ---------- 1 root root 0 Nov 26 07:50 crond.reboot
    $ dpkg -l linux-image'*'|grep ^ii| awk '{print $2}'
    linux-image-6.1.0-27-amd64
    linux-image-6.1.0-30-amd64
    linux-image-6.1.0-31-amd64
    linux-image-amd64
    $ uname -a
    Linux xyz 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux

    So what's the matter?

    Christian.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to Christian Jaeger on Mon Feb 24 23:30:02 2025
    Hi,

    On Mon, Feb 24, 2025 at 10:35:08PM +0100, Christian Jaeger wrote:
    According to various online sources, packages are expected to create
    the file `/var/run/reboot-required` if they wish that the system
    reboots.

    See this thread for answers:

    https://lists.debian.org/debian-user/2024/02/msg00515.html

    Thanks,
    Andy

    --
    https://bitfolk.com/ -- No-nonsense VPS hosting

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)