You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run-java.sh has a line which attempts to write to $HOME/passwd, which is
part of the solution for backwards compatibility on OCP 3.11
(OPENJDK-312). This was made writeable by a common module but that was
moved to a new nss-wrapper module in OPENJDK-493, which is not installed
in OpenJDK 17 containers.
Two problems result for the OpenJDK-17 image:
• Starting a downstream (S2I) container with a random UID (OpenShift
default) terminates when the attempt to write to /home/jboss/passwd
fails
• for some container runtimes (at least Docker), the container will
refuse to start if the running uid can't chdir to /home/jboss
That change also moved changing the /home/jboss permissions. Partially
revert those changes and check to ensure the file can be written before
attempting to.
Signed-off-by: Jonathan Dowland <[email protected]>
0 commit comments