[ https://issues.apache.org/jira/browse/MESOS-6236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Rukletsov updated MESOS-6236: --------------------------------------- Description: Currently there is no standard way in Mesos to launch a child process in a different namespace (e.g. {{net}}, {{mnt}}). A user may leverage {{Subprocess}} and provide its own {{clone}} callback, but this approach is error-prone. One possible solution is to implement a {{Subprocess}}' child hook. In [MESOS-5070|https://issues.apache.org/jira/browse/MESOS-5070], we have introduced a child hook framework in subprocess and implemented three child hooks {{CHDIR}}, {{SETSID}} and {{SUPERVISOR}}. We suggest to introduce another child hook {{SETNS}} so that other components (e.g., health check) can call it to enter the namespaces of a specific process. was:In [MESOS-5070|https://issues.apache.org/jira/browse/MESOS-5070], we have introduced a child hook framework in subprocess and implemented three child hooks {{CHDIR}}, {{SETSID}} and {{SUPERVISOR}}. In this ticket, we'd like to introduce another child hook {{SETNS}} so that other components (e.g., health check) can call it to enter the namespaces of a specific process. > Launch subprocesses associated with specified namespaces. > --------------------------------------------------------- > > Key: MESOS-6236 > URL: https://issues.apache.org/jira/browse/MESOS-6236 > Project: Mesos > Issue Type: Improvement > Reporter: Qian Zhang > Assignee: Qian Zhang > Labels: mesosphere > Fix For: 1.1.0 > > > Currently there is no standard way in Mesos to launch a child process in a > different namespace (e.g. {{net}}, {{mnt}}). A user may leverage > {{Subprocess}} and provide its own {{clone}} callback, but this approach is > error-prone. > One possible solution is to implement a {{Subprocess}}' child hook. In > [MESOS-5070|https://issues.apache.org/jira/browse/MESOS-5070], we have > introduced a child hook framework in subprocess and implemented three child > hooks {{CHDIR}}, {{SETSID}} and {{SUPERVISOR}}. We suggest to introduce > another child hook {{SETNS}} so that other components (e.g., health check) > can call it to enter the namespaces of a specific process. -- This message was sent by Atlassian JIRA (v6.3.4#6332)