feat: set systemd inhibitor during sensative operations
Open
triaged
- Dominant language
- Rust
- Stars
- 2.3k
- Forks
- 230
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 38
Description
There are a handful of times when an unexpected shutdown or reboot would leave the system in an incomplete state.
It would be helpful if bootc set systemd inhibitors during those windows to ensure the system is not kicked during those operations.
In practice systemd 257 is probably the lower bound for this to work as expected:
> systemd-logind now always obeys block inhibitor locks, where previously it ignored locks taken by the caller or when the caller was root
Contributor guide
Assessment
This issue has not been assessed yet.