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
[–] 1 point 6 hours ago*

I have daily unattended upgrades on Ubuntu/Debian and an upgrade script on Alpine systems that face the outside, for internal systems like Proxmox host I have weekly updates. However, it's always a matter of priority, to me it's better to wake up to a failing node (hasn't happened yet) than to wake up to an infected node due to unpached vulnerabilities.

  • source