Skip to content

Stacked mounts don't work as expected #6

@matthewsucar

Description

@matthewsucar

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions