Changing Fedora's shutdown timeouts
Changing Fedora's shutdown timeouts
Posted Jan 19, 2023 9:36 UTC (Thu) by tchernobog (subscriber, #73595)Parent article: Changing Fedora's shutdown timeouts
What I would like then is a way to selectively make certain services blocking the shutdown. My use case is the backup service I use (btrbk), which might be in the middle of a send/receive operation between disks.
I don't know if shutdown is still prevented if Btrfs is committing a snapshot deletion (basically an fsync operation). If the kernel will still prevent shutdown automatically in that case, overriding the init system wishes, I haven't really tested. If it does, at least for me it will affect shutdown time much more than the typical use case of the user session hanging for two minutes.
A message to make the user aware that shutdown/restart is taking longer than expected would be welcome either way.
