XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: yarn
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      Current LCE (DockerLinuxContainerRuntime) is mounting /etc/passwd to the container. And it seems uses wrong file name "/etc/password" for container.

      .addMountLocation("/etc/passwd", "/etc/password:ro");

      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.

        Attachments

        1. YARN-5394.003.patch
          4 kB
          Zhankun Tang
        2. YARN-5394.002.patch
          2 kB
          Zhankun Tang

          Activity

            People

            • Assignee:
              tangzhankun Zhankun Tang
              Reporter:
              tangzhankun Zhankun Tang
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: