-
Notifications
You must be signed in to change notification settings - Fork 293
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
/sysroot private mount and /home -> /sysroot/home #2086
Comments
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
I have noticed that if I remove totally So it seems that home should be defined within |
Yes, note rpm-ostree for example does this: coreos/rpm-ostree#1726. |
I can confirm that for Flatpak applications like org.flatpak.Builder need to have both the It is very peculiar that removing the symlink breaks flatpak. |
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work. ostreedev/ostree#2086
We hit a very related issue in Endless OS recently that's caused by As it turns out, I think private |
Back in 2b8d586, /sysroot was changed to be a private mount so that submounts of /var do not propagate back to the stateroot /var. That's laudible, but it makes /sysroot different than every other shared mount in the root namespace. In particular, it means that submounts of /sysroot do not propagate into separate mount namespaces. Rather than make /sysroot private, make /var a slave+shared mount so that it receives mount events from /sysroot but not vice versa. That achieves the same effect of preventing /var submount events from propagating back to /sysroot while allowing /sysroot mount events to propagate forward like every other system mount. The mount propagation flags are applied as options in the generated var.mount unit. This depends on a mount(8) feature that has been present since util-linux 2.23. That's available in RHEL 7 and every non-EOL Debian and Ubuntu release. Applying the propagation from var.mount fixes a small race, too. Previously, if a /var submount was added before /sysroot was made private, it would have propagated back into /sysroot. That was possible since ostree-remount.service orders itself after var.mount but not before any /var submounts. Fixes: ostreedev#2086
Related: #2085
Reported on IRC, today gnome-continuous uses
/home
➡️/sysroot/home
but this conflicts with #1438 if the user creates mounts in their home directory.I think basically everyone should use
/var/home
, but probably ostree should either disable the private mount for/sysroot
if we detect these symlinks.The text was updated successfully, but these errors were encountered: