adoptium / adoptium/infrastructure

adoptopenjdk/centos*build_image don't work on CentOS/RHEL podman hosts

Open
#2,142 3 comments 0 reactions 0 assignees View on GitHub
bug good first issue NeedsClosure
Dominant language
Python
Stars
96
Forks
106
Avg merge
1d 23h
Merged PRs (30d)
13

Description

On CentOS/RHEL8, `docker` is provided by the `podman-docker` package. When you try and pull the image we use for building on a system using `podman-docker` you cannot `su` to the jenkins user inside the container as it gives a message "could not open session" (Seen on x64) or `su: cannot open session: Critical error` on (aarch64 seen as part of https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/2119#issuecomment-821198804) It's not obvious why this is occurring.

Contributor guide

Open the contributing guide

Research direction

Reproduce the `adoptopenjdk/centos*build_image` failure on CentOS/RHEL 8 hosts using the `podman-docker` package, on both x64 and aarch64 if possible. Investigate the `su` session error for the Jenkins user, using the linked infrastructure issue for the aarch64 context; done means the build image permits switching to that user on these hosts.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, linux
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.