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

Stacked mounts don't work as expected #6

Open
matthewsucar opened this issue Oct 12, 2017 · 1 comment
Open

Stacked mounts don't work as expected #6

matthewsucar opened this issue Oct 12, 2017 · 1 comment
Assignees

Comments

@matthewsucar
Copy link
Collaborator

matthewsucar commented Oct 12, 2017

Due to the lack of an intermediate representation (pre-chroot filesystem), stacking mounts doesn't work due to the check_path() check. check_path operates on the host path, where the intermediate mount is in the image's tree (inside the namespace)

For example:

from: /tmp
to:/picnic,
from:/picnic
to:/picnic

(assuming /picnic doesn't exist outside the namespace).

This could be solved by presenting the admin with an option to disable the sanity checks. Otherwise, we need to pass the in-image path to check_path() only when we are stacking mounts

This is really only necessary if we assume that the image can't/shouldn't be prepared in advance

@naterini
Copy link
Contributor

Need to verify this is still broken after 1396027.

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