Skip to content

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>
@cgwalters cgwalters force-pushed the drop-immutable-bit-root branch from 4acf4c4 to aa89956 Compare February 9, 2024 13:58
Copy link
Contributor

@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 bootc-dev:main Feb 12, 2024
@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.

3 participants