mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Peach (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-4757) Mesos containerizer should get uid/gids before pivot_root.
Date Mon, 29 Feb 2016 23:16:18 GMT

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

James Peach commented on MESOS-4757:
------------------------------------

This only works because you have < 16 groups.

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

Mime
View raw message