upvote
I deployed unattended-upgrades across a fairly large number of systems with automatic reboots.

Coupled with needsrestart, it is the closest you can get to “patch as soon as possible” without having to run ansible/salt/puppet to upgrade systems.

Rebooting an Ubuntu system takes less than a minute nowadays. Pretty sure Debian is the same.

Got bitten once on a physical server running Proxmox, but the fix was easy and it works reliably.

I would rather have 15 minutes of downtime on a system (average time it takes to connect to the console and reboot with a previously known good kernel) than to spend an incredible amount of time cleaning up after a breach (been there, done that, not fun at all, especially when the lawyers are called).

reply
> Got bitten once on a physical server running Proxmox, but the fix was easy and it works reliably.

Just as I'm thinking on trying out proxmox on a physical server... Can you expand on this?

reply
Yes, it was an issue with ifupdown2-pre.service. It would hang indefinitely, and because the networking service has a dependency on it, that would fail too.

The solution was to mask it: systemctl mask ifupdown2-pre.service

It happened on a single server so I did not spend time tracking the actual root cause. Found other reports for this and the resolution was the same: mask the service.

reply
> Rebooting an Ubuntu system takes less than a minute nowadays

When there’s no f-u. Which is usually but not always.

Surely you too have had the “wtf why did you do that” experience with an upgrade on a stable system changing some behavior and breaking your setup. Instantly hours down the drain.

ETA: I see this was kind of your point, but with the opposite conclusion.

reply
On Ubuntu, yeah. Ubuntu is very unstable with dist-upgrdes (admittedly, I haven't used it for many years).

On Debian I've just recently updated an old Debian 8 server to Debian 13. It took about an hour, because I've verified what apt plans to update/remove, but everything worked smoothly. And now it just works with unattended-upgrades enabled. Debian is very good at being stable.

reply