Bug 2390800

Summary: fedora images are missing file capabilities
Product: [Fedora] Fedora Container Images Reporter: Paul Holzinger <pholzing>
Component: fedora-container-imageAssignee: Clement Verna <clems.verna>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: clems.verna, fedoraproject, nalin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Paul Holzinger 2025-08-25 15:30:25 UTC
Description of problem:

The build base images are missing the extended file attributes for for file capabilities on at least /usr/bin/newuidmap and /usr/bin/newgidmap but likely all files who depend on that though I haven't checked if there are more.

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

How reproducible:


Steps to Reproduce:
1. podman run --rm registry.fedoraproject.org/fedora:42 getcap /usr/bin/newgidmap


Actual results:
no output (no capabilities)

Expected results:
/usr/bin/newuidmap cap_setuid=ep

Additional info:

The work around for build that use this as base is `rpm --setcaps shadow-utils` which correctly restore the missing file caps.