Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-332

Executor launcher fetches resources as slave user, instead of executor user.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • None
    • None

    Description

      In launcher.cpp, we currently:
      -chown the work direcotry
      -fetch executor resources
      -unpack them if .zip or .tar.gz files (BUG: This needs to be done as the executor user)
      -move into work directory
      -switch user
      -launch executor

      This may be a matter of just switching to the executor user earlier, right before the unpacking occurs.

      The result of this is that the unpacked files are owned by root and inaccessible by a non-root executor.

      Attachments

        Activity

          People

            bmahler Benjamin Mahler
            bmahler Benjamin Mahler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: