[
https://issues.apache.org/jira/browse/MESOS-8792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16461665#comment-16461665
]
James Peach commented on MESOS-8792:
------------------------------------
I think the approach I'll take for now is to clean up and land the patch series
with the above caveats. This is still an improvement in behavior. The only way
to fix it is to separate the chroot creation to some privileged part of the
agent that is not already in a cgroup.
> Automatically create whitelisted devices.
> -----------------------------------------
>
> Key: MESOS-8792
> URL: https://issues.apache.org/jira/browse/MESOS-8792
> Project: Mesos
> Issue Type: Improvement
> Components: cgroups, containerization
> Reporter: James Peach
> Assignee: James Peach
> Priority: Major
>
> When the operator configures the {{\-\-allowed_devices}} agent flag, the
> devices cgroup is configured but the task still needs to actually create the
> device node. This is awkward because the task might not have enough
> capabilities to {{mknod}} and even if we wanted to grant the capabilities,
> the application may need to be modified to make the right system calls.
> We should enhance the isolator and containerizer to automatically create
> device nodes that have been whitelisted.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)