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: 43
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: 2026-05-06 18:54 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.

Comment 2 Fedora Release Engineering 2026-05-06 13:54:04 UTC
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '42'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 42 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 3 Nalin Dahyabhai 2026-05-06 18:54:45 UTC
Changing "Version" to 43 as this affects it (and currently, 44) as well.


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