Quantcast
Viewing all articles
Browse latest Browse all 4884

Raspberry Pi OS • Why is "/var/run/reboot-required" not present after a kernel update?

My Ansible playbook will reboot a Raspberry Pi if a new kernel has been installed. It does this by checking "/var/run/reboot-required".

In the last update, several Raspberry Pi machines did not reboot (model 4 and 5 on 64 bit kernel, and a model zero on the 32 bit kernel). For example the Pi Zero upgraded from:
  • "6.1.0-rpi7-rpi-v7 #1 SMP Raspbian 1:6.1.63-1+rpt1 (2023-11-24) armv7l GNU/Linux" to
  • "6.1.0-rpi8-rpi-v7 #1 SMP Raspbian 1:6.1.73-1+rpt1 (2024-01-25) armv7l GNU/Linux".
Why is "/var/run/reboot-required" not set when a new kernel is present?

Statistics: Posted by Tinue — Fri Feb 02, 2024 2:27 pm



Viewing all articles
Browse latest Browse all 4884

Trending Articles