On 2020-04-28 11:57 a.m., Jonathan Billings wrote:
On Tue, Apr 28, 2020 at 10:54:15AM -0400, Tom Horsley wrote:
I try to shutdown my new fedora 32 virtual machine. It immediately says:
"Installing updates, do not turn off"
AAAAAAUGH! I don't want to install frigging updates (yet).
How do I reinstall fedora and turn this crap off before I shutdown the next time?
I think it's the packagekit-offline-update.service that actually performs the update during shutdown (triggered by system-update.target). I bet if you run: 'systemctl mask packagekit-offline-update.service' ... it will disable the updates during shutdown.
(It's really annoying to me because I have a luks password and when I thought I was shutting down I show up a couple hours later at a LUKS password prompt)
This is also a potential concern for people who have systems that get auto-powered off if their UPS is close to depleted. Instead of a predictable shutdown time, you can find your system in a lengthy upgrade running while the UPS is about to die. Heck, even people who are running low on their laptop batteries are at risk.
Auto-installing updates on shutdown is a terrible idea and should NOT be the default behaviour of any modern OS.