An unofficial, read-only Hacker News reader. Join the beta →

Slow Ubuntu security response times (opens external site)

430 points by gslin 2 days ago | www.openwall.com | 268 comments on HN

View full thread · View on Hacker News

Comment thread (5)

  1. 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).

    Replies (2)
    1. > 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?

      Replies (1)
      1. 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.

    2. > 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.

      Replies (1)
      1. 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.