bootc-dev / bootc-dev/bootc

feat: set systemd inhibitor during sensative operations

Open
#1,553 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.