Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12312

Docker image for Minion runs with UID 1001 but the minion user has UID 997

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 25.0.0
    • Fix Version/s: 25.1.0
    • Component/s: Container Image
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon 2019 - September 25th

      Description

      The Dockerfiles for minion has the instructions to create a user called minion. This user is identified inside /etc/passwd with UID 997.

      At runtime, the UID of the main process is 1001, and for consistency, it should be 997. Alternatively, creating the minion user to have UID 1001 would work as well.

      Also, it would be useful and more professional to copy the /etc/skel/ files to /opt/minion to have a better prompt when accessing the container.

        Attachments

          Activity

            People

            Assignee:
            indigo Ronny Trommer
            Reporter:
            agalue Alejandro Galue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: