Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1998037

Summary: podman 3.2.3: unknown capability "CAP_BPF"
Product: Red Hat Enterprise Linux 8 Reporter: Sebastian Wagner <sewagner>
Component: libcapAssignee: Zoltan Fridrich <zfridric>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, jligon, jnovy, jwboyer, lsm5, rsroka, tsweeney
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-27 09:29:16 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 Sebastian Wagner 2021-08-26 10:24:25 UTC
This is super similar to https://bugzilla.redhat.com/show_bug.cgi?id=1946982 but this time, We have a different error message: 

bash[26804]: Error: OCI runtime error: container_linux.go:370: starting container process caused: unknown capability "CAP_BPF"
systemd[1]: ceph-783410ce-0504-11ec-8c25-001a4aab830c.service: Control process exited, code=exited status=126
systemd[1]: ceph-783410ce-0504-11ec-8c25-001a4aab830c.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Ceph mon.a for 783410ce-0504-11ec-8c25-001a4aab830c.


This is the upstream run that failed: 

https://pulpito.ceph.com/pdonnell-2021-08-24_17:29:03-fs:workload-wip-pdonnell-testing-20210824.150835-distro-basic-smithi/6356265

Seems we tried running podman-3.2.3-0.10.module+el8.4.0+11989+6676f7ad.x86_64 on RHEL 8.4 and that combination seems to be broken. 

This is the podman run command that failed: 

/bin/podman run --rm --ipc=host --stop-signal=SIGTERM --net=host --entrypoint /usr/bin/ceph-mon --init -e CONTAINER_IMAGE=q
uay.ceph.io/ceph-ci/ceph:12c6370403d1ff9d4580beff2cfe964261fc5671 -e NODE_NAME=smithi023 -e CEPH_USE_RANDOM_NONCE=1 -v /var/log/ceph/783410ce-0504-11ec-8c25-001a4aab830c:/var/log/ceph:z -v /var/lib/ceph/783410ce
-0504-11ec-8c25-001a4aab830c/mon.a:/var/lib/ceph/mon/ceph-a:z -v /tmp/ceph-tmpymo1jjtl:/tmp/keyring:z -v /tmp/ceph-tmpq13q9m8_:/tmp/monmap:z quay.ceph.io/ceph-ci/ceph:12c6370403d1ff9d4580beff2cfe964261fc5671 --m
kfs -i a --fsid 783410ce-0504-11ec-8c25-001a4aab830c -c /dev/null --monmap /tmp/monmap --keyring /tmp/keyring --setuser ceph --setgroup ceph --default-log-to-file=false --default-log-to-journald=true --default-l
og-to-stderr=false --default-mon-cluster-log-to-file=false --default-mon-cluster-log-to-journald=true --default-mon-cluster-log-to-stderr=false

Unfortunately, I don't know which libcap version is installed on that host.

Comment 2 Zoltan Fridrich 2021-08-27 09:29:16 UTC
This is a duplicate of rhbz#1921576
in both cases the CAP_BPF is undefined.

*** This bug has been marked as a duplicate of bug 1921576 ***