-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68348/
-----------------------------------------------------------

Review request for mesos, Alexander Rukletsov, Gilbert Song, Jie Yu, and Kevin 
Klues.


Bugs: MESOS-9116
    https://issues.apache.org/jira/browse/MESOS-9116


Repository: mesos


Description
-------

Previously, we were calling `getMountNamespaceTarget()` not only in
case of the command executor but in all other cases too, including
the default executor. That might lead to various subtle bugs, caused by
wrong detection of `mnt` namespace target. This patch fixes the issue
by setting a parent PID as `mnt` namespace target in case of
non-command executor task.


Diffs
-----

  src/slave/containerizer/mesos/containerizer.cpp 
98129d006cda9b65804b518619b6addc8990410a 


Diff: https://reviews.apache.org/r/68348/diff/1/


Testing
-------

1. sudo make check (Fedora 25)
2. internal CI


Thanks,

Andrei Budnik

Reply via email to