XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • yarn
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: