Skip to content

User namespaces in Appliances #24

@Laikulo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions