Skip to content

User namespaces in Appliances #24

Description

@Laikulo

As mentioned in #19, chroot-ing in the initrd prevents the use of user namespaces in appliances.

Looking in how othrs, they tend to mostly use switch_root, which does the equivalent of a mount --move before the chroot. IIUC correctly, this makes the new root the "real" root of the mount namespace, and then the chroot makes it reality for init as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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