Chris Murphy writes:
> Seems to me it
> would be more worthwhile to build in better error recovery within DNF than
> to always require "offline" - especially
> since the incidence of failure (at least anecdotally) just isn't that high.
Sufficiently impractical that it's not possible.
Wrong.
I can make any process survive an X shutdown, using an amazing tool called
"tmux".
Why can't dnf do the same?
It's why openSUSE has spent a ton of resources, and a few bloody
noses, getting completely atomic updates working with Btrfs and
snapper, with very fine rollback capabilities.
You do not need atomic updates to install a signal handler for SIGHUP or
SIGTERM. And maybe issue a setsid() call, beforehand.
This shouldn't be rocket science.