Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-1924

configure the entries inside /etc/passwd from cri-o during building of the container image.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Node, Runtimes
    • False
    • False
    • Undefined

      The OpenShift platform / CRI-O should create customized entries into /etc/passwd.

      The customer is deploying a web IDE to OCP and he gets an error because of a wrong entry inside /etc/passwd.

      The problem is that the entry for the random user id mentions "/sbin/nologin". The debian-based image does not have that binary, it is located at "/usr/sbin/nologin".

      To use a terminal inside the web IDE the /etc/passwd entry has to end with "/bin/bash"

      How can the generation of that random UID entry be configured to end with "/bin/bash"?

      Container Image: https://hub.docker.com/r/codercom/code-server/
      Source Repo of the Image: https://github.com/cdr/code-server
      Dockerfile of the Container Image: https://github.com/cdr/code-server/blob/main/ci/release-image/Dockerfile

      The customer wants to be able to handle/configure the entries inside /etc/passwd from CRI-O during the building of the container image.

            rhn-support-mrussell Mark Russell
            rhn-support-mchebbi Moez Chebbi (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: