Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding /run/host/lower-root #3201

Open
cgwalters opened this issue Feb 26, 2024 · 0 comments
Open

Consider adding /run/host/lower-root #3201

cgwalters opened this issue Feb 26, 2024 · 0 comments
Labels
area/composefs Issues related to composefs area/prepare-root Issue relates to ostree-prepare-root

Comments

@cgwalters
Copy link
Member

cgwalters commented Feb 26, 2024

When using transient root, tooling (or an admin interactively) may want to be able to scan and detect changes in the overlayfs upper versus the lower.

systemd has a container-to-host API The /run/host/ Hierarchy set defined; we could propose adding a /run/host/lower-root there that is a mount point (or symlink potentially) to the merged lower.

Then an admin or tools can just diff the two filesystem trees however they want (e.g. diff -u /run/host/lower-root/usr /usr).

@cgwalters cgwalters added area/composefs Issues related to composefs area/prepare-root Issue relates to ostree-prepare-root labels Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/composefs Issues related to composefs area/prepare-root Issue relates to ostree-prepare-root
Projects
None yet
Development

No branches or pull requests

1 participant