Skip to content

install: Never traverse mount points with --wipe - #1001

Merged
cgwalters merged 2 commits into
bootc-dev:mainfrom
cgwalters:wipe-no-xdev
Jan 6, 2025
Merged

cgwalters merged 2 commits into
bootc-dev:mainfrom
cgwalters:wipe-no-xdev

Conversation

@cgwalters

@cgwalters cgwalters commented Jan 2, 2025 •

Copy link
Copy Markdown
Member

utils: Move open_dir_noxdev here

Prep for using it elsewhere.

Signed-off-by: Colin Walters [email protected]


install: Never traverse mount points with --wipe

If we encounter a mount point when attempting to
wipe a filesystem, then something has definitely gone
wrong. At the install phase we should only be operating
on a single physical filesystem.

Motivated by #997

Signed-off-by: Colin Walters [email protected]


Prep for using it elsewhere.

Signed-off-by: Colin Walters <[email protected]>
@cgwalters

This comment was marked as outdated.

@cgwalters
cgwalters marked this pull request as draft January 2, 2025 18:40
If we encounter a mount point when attempting to
wipe a filesystem, then something has definitely gone
wrong. At the install phase we should only be operating
on a single physical filesystem.

Signed-off-by: Colin Walters <[email protected]>
@cgwalters
cgwalters marked this pull request as ready for review January 2, 2025 21:44
@cgwalters
cgwalters enabled auto-merge January 3, 2025 01:53

@jmarrero jmarrero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

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.

2 participants