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

warning: Failed to remount /boot read-only: Device or resource busy #2047

Open
clime opened this issue Mar 29, 2020 · 0 comments
Open

warning: Failed to remount /boot read-only: Device or resource busy #2047

clime opened this issue Mar 29, 2020 · 0 comments

Comments

@clime
Copy link
Contributor

clime commented Mar 29, 2020

During deploy operations that require bootconfig swap: yes;, I am getting the warning:

warning: Failed to remount /boot read-only: Device or resource busy

I think it is because, boot is not being remounted with MS_BIND flag there. I have /boot on the root partition so I think it is trying to mount the whole root partition ro when the MS_BIND flag is missing (please, confirm, i am not completely sure about this).

But I believe if you add MS_BIND flag here https://github.com/ostreedev/ostree/blob/master/src/libostree/ostree-sysroot-deploy.c#L2461, it will solve the problem.

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

1 participant