28
submitted 7 hours ago by attackscout@lemmy.world to c/linux@lemmy.ml

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
[-] LewdLemon@sh.itjust.works 1 points 6 hours ago

Same here. I do daily updates, but I want to have a rough idea which packages got updated. If something breaks, it's easier to gauge what to roll back. Also, all of my drives are encrypted and (intentionally) require manual unlocking; hence, automated reboots won't work.

[-] HelloRoot@lemy.lol 1 points 1 hour ago* (last edited 1 hour ago)

Seems like a lot of work.

I have automatic daily borgbackups and automatic daily updates with pre&post btrfs snapshots, followed by a reboot. If I wake up and my server is down, I can boot into a snapshot via grub and rollback in under a minute (tried and tested).

Or boot into the snapshot and look for evidence what broke.

Worst case I can get a clean drive and restore the borg backup in like 1-2h.

But in practice a Debian/Ubuntu package update will almost never break anything...

this post was submitted on 04 Dec 2026
28 points (100.0% liked)

Linux

69006 readers
446 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS