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

install: Drop setting immutable bit on physical / #318

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

cgwalters
Copy link
Collaborator

I've gone back and forth on this one over time; lately my thought is that conceptually / is stuff that bootc/ostree doesn't actually own, and so we shouldn't add this bit.

For a use case of e.g. testing out bootc via an "alongside" install, we would want to enable rolling back to the non-bootc state (at some point in the future when we e.g. save the original /boot) and the immutable bit would be a thing we'd then need to undo.

The readonly bind mount over /sysroot should be sufficient for our use cases.

@github-actions github-actions bot added the area/install Issues related to `bootc install` label Feb 9, 2024
I've gone back and forth on this one over time; lately my
thought is that conceptually `/` is stuff that bootc/ostree doesn't
actually own, and so we shouldn't add this bit.

For a use case of e.g. testing out bootc via an "alongside" install,
we would want to enable rolling back to the non-bootc state
(at some point in the future when we e.g. save the original `/boot`)
and the immutable bit would be a thing we'd then need to undo.

The readonly bind mount over `/sysroot` should be sufficient for
our use cases.

Signed-off-by: Colin Walters <walters@verbum.org>
Copy link
Member

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

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

lgtm

@cgwalters cgwalters merged commit d37f481 into containers:main Feb 12, 2024
11 checks passed
@jlebon
Copy link
Contributor

jlebon commented Feb 12, 2024

This matches coreos/coreos-assembler#3693 too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/install Issues related to `bootc install`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants