[ 
https://issues.apache.org/jira/browse/MESOS-8792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16470558#comment-16470558
 ] 

James Peach commented on MESOS-8792:
------------------------------------

As per design doc, the way forward on this is a new {{linux/devices}} isolator. 
The initial implementation will share the {{\-\-allowed_devices}} configuration 
flag so that it will automatically work in concert with the {{cgroups/devices}} 
isolator. However the mechanism is general enough that we can later build on it 
to enable per-container devices.

> 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)

Reply via email to