Bug 2390800 - fedora images are missing file capabilities
Summary: fedora images are missing file capabilities
Keywords:
Status: NEW
Alias: None
Product: Fedora Container Images
Classification: Fedora
Component: fedora-container-image
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Clement Verna
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-25 15:30 UTC by Paul Holzinger
Modified: 2025-08-25 17:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.