Skip to content

Conversation

cgwalters
Copy link
Member

@cgwalters cgwalters commented Oct 15, 2025

For anyone affected by this today, a workaround is to explicitly override $PATH in ostree-finalize-staged.service by setting e.g. ExecSearchPath=/bin:/usr/bin:/sbin:/usr/sbin

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly addresses an issue with command execution paths when running on a merged-/usr system but targeting a non-merged-/usr root. It achieves this by using absolute paths for zipl and semodule. The changes are logical and well-motivated. I have one suggestion for ostree-bootloader-zipl.c to improve maintainability by defining a constant for the hardcoded path and adding an explanatory comment, mirroring the good practice already applied in ostree-sysroot-deploy.c.

@champtar

This comment was marked as resolved.

This handles cases of running from systems with merged /sbin and /bin (e.g. F42+)
but targeting a non-merged root.

Signed-off-by: Colin Walters <[email protected]>
@cgwalters cgwalters enabled auto-merge October 15, 2025 14:32
@cgwalters cgwalters disabled auto-merge October 15, 2025 17:03
This handles cases of running from systems with merged /sbin and /bin (e.g. F42+)
but targeting a non-merged root.

Reported-by: Peter Colberg <[email protected]>
Signed-off-by: Colin Walters <[email protected]>
Copy link

openshift-ci bot commented Oct 15, 2025

@cgwalters: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/fcos-e2e 03883b0 link true /test fcos-e2e

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants