On Debian/Ubuntu servers I enable unattended-upgrades for the security pocket only, with automatic reboot disabled and a notification instead. Feature updates and major versions stay manual. The common failure is not the tool, it is forgetting that a kernel or libc update does nothing until the service or the machine restarts: needrestart (or checkrestart) tells you what still runs old code.

Also worth checking: apt-get -s upgrade weekly, so you see what is waiting.

What is your policy: fully automatic with reboots in a maintenance window, notify-only, or everything by hand? Any horror story with auto-updates?

Open-source agent that lists the versions exposed by a Linux host: https://github.com/AttackScout/attackscout-agent — I work on AttackScout.

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 day ago

The urgency now is not the same as back them. Moreover, a bank and a homelab have very different impact risks due to an outage caused by a failed update. Similarly, I'm working on a municipal project with 3 way redundancy, where the system must ne er be stoped, and there too the policy is checks and tests before touching production, but again, in our own company servers unattended upgrades are on, because the calculus is different.

  • source
  • parent