docs: require overlay storage driver for bootc switch - #21
Open
bupd wants to merge 1 commit into
Open
Conversation
A fresh host without an explicit /etc/containers/storage.conf can hit 'graph driver "overlay" overwritten by graph driver "vfs"' on bootc switch, because /run/bootc/storage (bootc's tmpfs staging store) picks vfs on its own and containers/storage refuses to trust the configured overlay default over what it already recorded. Deleting that directory doesn't help since the driver gets re-derived the same way next run; pinning the driver in /etc/containers/storage.conf does. Signed-off-by: Prasanth Baskar <prasanth@8gears.com>
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.
Why
A fresh host without an explicit
/etc/containers/storage.confcan hit this onbootc switch:/run/bootc/storageis bootc's own ephemeral tmpfs staging store for the image it's about to switch to. It independently decidesvfs, andcontainers/storagewon't trust the system'soverlaydefault over what's already recorded there. Deleting the directory doesn't fix it — the driver gets re-derived the same way on the next invocation. The actual fix is pinning the driver at/etc/containers/storage.conf, which overrides every otherstorage.confon the host.What
Documents this as a host prerequisite in
docs/laptop-bootc-architecture.md, with the required config and the symptom to search for next time.🤖 Generated with Claude Code