mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Peach (JIRA)" <>
Subject [jira] [Created] (MESOS-8272) Fall back to bind mounting container devices.
Date Wed, 29 Nov 2017 00:20:00 GMT
James Peach created MESOS-8272:

             Summary: Fall back to bind mounting container devices.
                 Key: MESOS-8272
             Project: Mesos
          Issue Type: Bug
          Components: containerization
            Reporter: James Peach

When we use {{mknod}} to create device files within a container root, we require {{CAP_MKNOD}}
in the root user namespace. If we have already entered a private user namespace, this fails
with {{EPERM}}. To work around this, we can do what {{systemd-nspawn}} does (though for different
reasons), which is to fall back bind mounting the device files into the chroot from the host.

This message was sent by Atlassian JIRA

View raw message