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

Don't try to remount /sysroot rw for ostree admin unlock #2262

Open
jlebon opened this issue Jan 11, 2021 · 0 comments
Open

Don't try to remount /sysroot rw for ostree admin unlock #2262

jlebon opened this issue Jan 11, 2021 · 0 comments

Comments

@jlebon
Copy link
Member

jlebon commented Jan 11, 2021

We only really need it writable for --hotfix to persist the overlayfs. But for --transient and the default (development), we shouldn't need it. That way, it'll work in live FCOS/RHCOS environments where the /sysroot is backed by squashfs. Right now, we get EPERM:

[root@cosa-devsh ~]# ostree admin unlock
error: Remounting /sysroot read-write: Permission denied

Comes from: https://discussion.fedoraproject.org/t/25680/9

This will also be needed for supporting pkglayering in live environments (see coreos/fedora-coreos-tracker#401 (comment)).

@jlebon jlebon changed the title Don't try to rewrite /sysroot rw for ostree admin unlock Don't try to remount /sysroot rw for ostree admin unlock Jan 11, 2021
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