1

Icinga notified us of the presence of a /var/run/reboot-required file on various servers. i.e. we were getting a

SERVICE STATUS: CRITICAL file or directory /var/run/reboot-required exists message in Icinga.

We duly did a reboot only to find a couple of days later the message had cropped up again.

I don't recall having to reboot servers so often. I'm starting to think these are just spurious messages and we should simply ignore them.

Is there any harm in that?

Snowcrash
  • 1,087
  • 2
  • 16
  • 19

2 Answers2

2

File /var/run/reboot-required is created when a security update to a package requires reboot for this update to have effect. In the last week there were two updates for the kernel, microcode update and an update for dbus, all requiring system reboot. If you didn't reboot then you are running a vulnerable system.

AlexD
  • 8,179
  • 2
  • 28
  • 38
1

Are you by any chance automatically updating system packages?
In that case updating some system critical packages will cause this flag to be set, but it usually doesn't do any harm to the system to not reboot, yet a frequent reboot is advised.

Gilrain
  • 11
  • 2