Repository navigation
install: Skip mirroring /run/udev when the host has none - #97
Draft
cgwalters-bot wants to merge 1 commit into
Draft
cgwalters-bot wants to merge 1 commit into
cgwalters-bot wants to merge 1 commit into
Conversation
Hosts without udev currently fail installation because mirroring /run/udev is mandatory. Port the small patch from cgwalters-forge#72 (inspected head 67428c1), explicitly superseding bootc-dev#72 with this replacement draft. Skip only when the host path is absent, with a debug log and no local directory creation; a present host still creates and mirrors a missing local path. Other errors and mandatory mirrors remain unchanged. Tests retain the four existence cases and strengthen no-creation, different-filesystem bind selection and non-ENOENT lookup coverage without privileged mounts. Validation in a Fedora 44 container with the project's install-buildroot prerequisites, Rust/rustfmt/Clippy 1.94.1, ostree and bash, and tmpfs /tmp, /var/tmp and /run: `cargo fmt --check` exit 0; `cargo clippy --all-targets` exit 101; `cargo test` exit 0. The supplied base 0ca885f gives the same three exit codes in the same environment. Clippy fails at crates/ostree-ext/src/fixture.rs:274:27: disallowed `str::len` (clippy::disallowed_methods). This is outside the two-file patch; acceptance is incomplete, not green. No assertions or lint rules were weakened. Full mdev-host installation remains untested. Review: one pass, no blockers; open nit is public-wrapper skip/no-creation coverage in addition to the planner tests. Promotion remains operator-controlled; bootc-dev#72 and issues were not updated or closed, and nothing was posted upstream. Part of bootc-dev#57 Part of cgwalters-forge/tracker#313; references bootc-dev#2239. Generated-by: https://github.com/cgwalters/#llms
This was referenced Nov 5, 2026
cgwalters
approved these changes
Nov 6, 2026
This was referenced Nov 7, 2026
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hosts without udev currently fail installation because mirroring /run/udev is mandatory. Port the small patch from #72 (inspected head 67428c1), explicitly superseding #72 with this replacement draft. Skip only when the host path is absent, with a debug log and no local directory creation; a present host still creates and mirrors a missing local path. Other errors and mandatory mirrors remain unchanged. Tests retain the four existence cases and strengthen no-creation, different-filesystem bind selection and non-ENOENT lookup coverage without privileged mounts.
Validation in a Fedora 44 container with the project's install-buildroot prerequisites, Rust/rustfmt/Clippy 1.94.1, ostree and bash, and tmpfs /tmp, /var/tmp and /run:
cargo fmt --checkexit 0;cargo clippy --all-targetsexit 101;cargo testexit 0. The supplied base 0ca885f gives the same three exit codes in the same environment. Clippy fails at crates/ostree-ext/src/fixture.rs:274:27: disallowedstr::len(clippy::disallowed_methods). This is outside the two-file patch; acceptance is incomplete, not green. No assertions or lint rules were weakened.Full mdev-host installation remains untested. Review: one pass, no blockers; open nit is public-wrapper skip/no-creation coverage in addition to the planner tests. Promotion remains operator-controlled; #72 and issues were not updated or closed, and nothing was posted upstream.
Part of #57
Part of cgwalters-forge/tracker#313; references bootc-dev#2239.