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 to-filesystem doesn't work when target /var is a separate mount #997

Open
stephan-tolksdorf opened this issue Dec 28, 2024 · 4 comments

Comments

@stephan-tolksdorf
Copy link

install to-filesystem fails with if the target filesystem includes an empty /var directory.

ERROR Installing to filesystem: Verifying empty rootfs: Non-empty root filesystem; found "var"

With --replace=wipe the installation fails when the empty /var is an active mount point with

ERROR Installing to filesystem: Device or resource busy (os error 16)

@cgwalters
Copy link
Collaborator

What's your higher level goal? Do you want the /var directory to be the same /var in the installed target (on the same physical filesystem) or are you trying to make /var be a separate mount point/partition?

With --replace=wipe the installation fails when the empty /var is an active mount point with

Based on this it sounds like the latter, you want the /var to be a mount point in the target?

We should definitely change --wipe to not attempt to cross mount points for safety though, as I think that's never desired.

@cgwalters
Copy link
Collaborator

We should definitely change --wipe to not attempt to cross mount points for safety though, as I think that's never desired.

#1001

@stephan-tolksdorf
Copy link
Author

Thanks!

/var is a mount point in the target.

@cgwalters
Copy link
Collaborator

OK, we should definitely support that...there's a few related issues but I think not a dedicated one. Will do some triage and if I can't find/repurpose one will make a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants