Skip to content

enroot start fails with mount: drop permissions failed. #261

@krono

Description

@krono

version: 4.1.0
hardened: yes
os: Ubuntu 24.04.3
kernel: 6.8.0-100

Using the overlayfs capabilties fails with mount: drop permissions failed. when enroot tries mounting the overlayfs
in https://github.com/NVIDIA/enroot/blob/main/src/runtime.sh#L158 during enroot start <path to squashfs>.

enroot ist started as a user.

Relevant kernel tunables:

kernel.apparmor_restrict_unprivileged_userns = 0
kernel.unprivileged_userns_apparmor_policy = 1
kernel.unprivileged_userns_clone = 1

How can I debug this?

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