hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhankun Tang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5394) Remove bind-mount /etc/passwd to Docker Container
Date Sun, 31 Jul 2016 05:49:20 GMT

    [ https://issues.apache.org/jira/browse/YARN-5394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15400963#comment-15400963

Zhankun Tang commented on YARN-5394:

Changed the patch name. Set 2.8.0 to "Affects version" and "Fix version" when submitting failed
due to unrelated unit test as mentioned above. And Leave them empty also does not works. The
patch is generated based on branch-2.8. [~sidharta-s], Could you please tell me what I am
missing here? Thanks

> Remove bind-mount /etc/passwd to Docker Container
> -------------------------------------------------
>                 Key: YARN-5394
>                 URL: https://issues.apache.org/jira/browse/YARN-5394
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn
>            Reporter: Zhankun Tang
>            Assignee: Zhankun Tang
>         Attachments: YARN-5394.002.patch
> Current LCE (DockerLinuxContainerRuntime) is mounting /etc/passwd to the container. And
it seems uses wrong file name "/etc/password" for container.
> {panel}
> .addMountLocation("/etc/passwd", "/etc/password:ro");
> {panel}
> The biggest issue of bind-mount /etc/passwd is that it overrides the users defined in
Docker image which is not expected. Remove it won't affect existing use cases.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message