You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2016/02/24 19:48:18 UTC

[jira] [Created] (MESOS-4757) Mesos containerizer should get uid/gids before pivot_root.

Jie Yu created MESOS-4757:
-----------------------------

             Summary: Mesos containerizer should get uid/gids before pivot_root.
                 Key: MESOS-4757
                 URL: https://issues.apache.org/jira/browse/MESOS-4757
             Project: Mesos
          Issue Type: Bug
            Reporter: Jie Yu


Currently, we call os::su(user) after pivot_root. This is problematic because /etc/passwd and /etc/group might be missing in container's root filesystem. We should instead, get the uid/gids before pivot_root, and call setuid/setgroups after pivot_root.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)