2 ms·
I've been looking at various descriptions of distro security policies lately and I'm actually not really decided on what the "right way" is. I agree that if you
by viraptor 11y ago
I've been looking at various descriptions of distro security policies lately and I'm actually not really decided on what the "right way" is. I agree that if you're an sole operator, you need to monitor the upstream project, disclosure lists, and assigned CVEs. If you're in a larger company, you probably need a team to handle that.
And on one hand side this looks like it makes the issue of the distro choice moot. If you keep on top of announcements, you can either upgrade packages, or port back the patch yourself, or just repackage the latest version. But having the right distribution makes things simpler - you get the benefit of someone backporting the patch earlier and doing a coordinated release. Or maybe even you get a pre-disclosure notification. One way or another, it makes things simpler to rely on someone else's work even if it's not guaranteed that it's always available and complete.
But on the other hand, getting a rolling distro like Arch you get new versions by default. This means your backport is going to be way easier if you have to do it yourself. For example you have to only go 2.3.4->2.3.5, not backport from 2.3.5 to 1.2.3 because that's what's in stable. Arch/Gentoo also had the benefit of releasing grsec kernels which considerably limits the scope of kernel exploits (and userland too to some extent), but Debian joined them lately.
I guess if I had to admin a small service on 5 of so servers full time these days, I could be temped to actually go with some rolling release distro. At larger scale I'd prefer the benefit of using the upstream work. At not-full time job I'd still go with Debian/Ubuntu/CentOS to rely on the automation of common cases.
- chei0aiV 11y agoSome distro rolling releases get upgraded every 6 hours, are you sure you want to potentially upgrade that often? If I were running a larger company I would assign my security team to help out a distro security team, so I benefit from the work of others as well as getting specific support for the software I really care about.
- viraptor 11y agoYou don't have to upgrade every 6 hours. The upstream repo may be constantly updated, but the smaller your scope is, the less you need to care about really. For example I expect that I'll have some new packages on my desktop every few hours, but on a server with system+service+monitoring it may be one package a week instead. At that pace, it's trivial to just get notifications and classify updates as critical/useful/whatever. If you have a proper test/deploy pipeline you can retest with new software all as it's released, but only push to production every week, or when it's critical.
- dsr_ 11y agoI get more than one package a week from the security updates to Debian stable.
- wfunction 11y agoCould someone explain what's special about Arch compared to other types of Linux? I don't know and I don't understand when reading it here.
- viraptor 11y agoAbout Arch itself - nothing much. It's just in the same bag as Gentoo regarding release process. Rolling rather than periodic release means that whenever upstream project releases a new package, it's either automatically monitored or someone clicks "out of date" on the package site (like https://www.archlinux.org/packages/core/x86_64/bash/ https://www.archlinux.org/packages/core/x86_64/bash/). Then you get the new version in hours or days, rather than when the next OS release comes out. Taking GCC for example, that means Arch users are at 5.3.0 now, while Debian is still on 4.9.2. For security patches though that means that on Arch you have to upgrade to the latest version, while Debian will likely give you the same version you're already running with the issue fixed. This may be annoying on Arch if you're patching PHP for example - it may not work anymore with the site you're running and you have to migrate to the latest version.
- g1n016399 11y agoActually Debian's rolling release is newer than Arch, 5.3.1: https://packages.debian.org/source/testing/gcc-5 https://packages.debian.org/source/testing/gcc-5
- viraptor 11y agoThat's in testing though. Arch has 5.3.0 in core already. Not sure where the .1 comes from since it's not even released yet according to https://gcc.gnu.org/releases.html https://gcc.gnu.org/releases.html Edit: Actually it looks like the versions are just named differently. Debian uses SVN version from 20151205, while Arch uses 20160209. So Arch is more fresh (by 2 months), but uses different naming convention.
- g1n016399 11y ago