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.

  • @sudoer777@lemmy.ml
    link
    fedilink
    English
    2•
    edit-2
    7 hours ago

    Full unattended-upgrades for my Debian homelab servers (due for replacement) because I don’t care about downtime and it has never broken anything. Manual updates for my personal NixOS server (that I’m also about to replace) because I never set up automatic updates. Weekly manual updates for a production Ubuntu server (that’s hopefully about to get axed) because whoever set it up and was supposed to be maintaining it before was an idiot so updates need to be planned carefully.