Skip to content

Commit 69d5702

Browse files
authored
Merge pull request #1328 from cgwalters/silence-selinux
main: Silence SELinux
2 parents cbbd345 + 7f0e3a5 commit 69d5702

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/cli.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,8 @@ pub fn global_init() -> Result<()> {
10121012
// This shouldn't ever happen
10131013
eprintln!("failed to set name: {e}");
10141014
}
1015+
// Silence SELinux log warnings
1016+
ostree::SePolicy::set_null_log();
10151017
let am_root = rustix::process::getuid().is_root();
10161018
// Work around bootc-image-builder not setting HOME, in combination with podman (really c/common)
10171019
// bombing out if it is unset.

ostree-ext/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ version = "0.15.3"
1414
# semver here you must also bump our semver.
1515
containers-image-proxy = "0.7.0"
1616
# We re-export this library too.
17-
ostree = { features = ["v2025_1"], version = "0.20.0" }
17+
ostree = { features = ["v2025_2"], version = "0.20" }
1818

1919
# Private dependencies
2020
anyhow = { workspace = true }

0 commit comments

Comments
 (0)