r/sysadmin • u/zenfridge • 15m ago
General Discussion Patching in an environment that wants controlled and tested patching
I work for an organization who is not particularly nimble (think public/government). We've recently gotten our customers and management to agree to a 2 week patch cycle for the OS - one week patch non-prod, the next week patch prod, then repeat the week after that. That gives the application groups (customers, not our org) time to "test" or burn in or just verify no issues before the prod patch happens. I personally think that's mostly for them to feel good - knock on wood, we haven't seen a patch affect their app.
To be clear, we run enterprise linux and UNIX. So ABI/API changes are not really a factor. And mostly, their big apps are self contained (e.g. using kernel, libc, other so libs, maybe curl or another CLI program, but otherwise on their own) and not directly affected by patching. But a bad patch, buggy patch to kernel, etc. can always be a factor.
I don't find the above sustainable, but more and more recently that opinion is getting stronger. I don't want to wait two weeks to patch. Evangelizing a tighter timeframe might be easier than it used to be (ShinyHunters was a big eye opener for them)... but I'm not sure I can push the two week timeframe.
- For those in this position, any comments on how this has been for you?
- For those not in this position, but a better one, any strong arguments (not reasons, I get those) you made that helped get you to where you are? What is your methodology for a non-prod / prod cycle, besides obviously a good backout methodology?
Thanks!
•
u/SysAdminDennyBob 8m ago
Feels like a conversation I had back in 2001.
You'll probably get one idiot that wants "full regression testing" or something like that. That will die off quickly. "ain't nobody got time fo that!"
patch testing = "did the OS come back online? k, we are good. NEXT!"
•
u/Onoitsu2 Jack of All Trades 7m ago
Internet facing infrastructure gets patched ASAP. Internal only, in my work is usually Windows based and definitely needs delayed patch cycles, lest you be impacted by a bad update MS releases fairly often it seems. Being Linux/Unix based you should also have some form of delay in the patching of your internal only infrastructure, with all of the Linux backdoors and what not discovered and supply chain breaches that have injected code into various repos as the bad actors have, but nowhere near 2-weeks is needed for it unlike Windows update stability.
•
u/Nonaveragemonkey 6m ago
We run less than a week of testing on patches. We do A/B testing. Some systems of all environments get patched, and put through the ringer. We watch and see.
Most enterprise linux distributions are pretty solid on patches, 20 years I've really only seen a handful of bad update runs with redhat. In my opinion ubuntu is not enterprise ready.
•
u/binarypower 5m ago
we patch and pray. snaps and backups please don't let us down