Bug 2355948

Summary: registry.fedoraproject.org/fedora:rawhide image no longer ships shadow-utils
Product: [Fedora] Fedora Container Images Reporter: Jan Pazdziora <adelton>
Component: baseAssignee: Jan Pazdziora <adelton>
Status: CLOSED RAWHIDE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-03-30 12:11:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Pazdziora 2025-03-29 17:04:01 UTC
Description of problem:

The registry.fedoraproject.org/fedora:rawhide image no longer ships shadow-utils. So when one has a

FROM registry.fedoraproject.org/fedora:rawhide
RUN groupadd ...

in their Dockerfile, like for example https://github.com/freeipa/freeipa-container Dockerfiles have, build of their container image will start to fail.

Version-Release number of selected component (if applicable):

REPOSITORY                         TAG         IMAGE ID      CREATED       SIZE
registry.fedoraproject.org/fedora  rawhide     4b88e8378771  10 hours ago  162 MB

How reproducible:

Deterministic.

Steps to Reproduce:
1. podman run --rm registry.fedoraproject.org/fedora:rawhide groupadd -g 288 kdcproxy

Actual results:

Error: crun: executable file `groupadd` not found in $PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found

Expected results:

No error.

Additional info:

In bug 2344322 comment 11 Adam suggested that the container image content is defined in https://pagure.io/fedora-kiwi-descriptions/blob/rawhide/f/teams/cloud/container.xml.

However, when I diff branches f41 and rawhide or f42 and rawhide, I see no change which would remove shadow-utils from that file. I also did not find any pull request or issue there which would indicate that shadow-utils should be removed.

Is there some bug in the build system?

Comment 1 Jan Pazdziora 2025-03-29 17:07:10 UTC
Also filed as https://pagure.io/fedora-kiwi-descriptions/issue/169.

Comment 2 Jan Pazdziora 2025-03-30 12:11:03 UTC
Resolved via https://pagure.io/fedora-kiwi-descriptions/pull-request/170.

Image

REPOSITORY                         TAG         IMAGE ID      CREATED       SIZE
registry.fedoraproject.org/fedora  rawhide     6bc60d89f034  6 hours ago   165 MB

has the fix.