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 2158084

Summary: Amend crun package dependencies [rhel-8.8]
Product: Red Hat Enterprise Linux 8 Reporter: Jindrich Novy <jnovy>
Component: crunAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: Alex Jia <ajia>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.8CC: atomic-bugs, gscrivan, jnovy, lsm5, mboddu, tsweeney, ypu
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: crun-1.7.2-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2158083 Environment:
Last Closed: 2023-05-16 08:22:23 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:
Bug Depends On: 2158083    
Bug Blocks:    

Description Jindrich Novy 2023-01-04 07:47:26 UTC
+++ This bug was initially created as a clone of Bug #2158083 +++

libcriu is dynamically loaded at runtime by crun when needed.  It is not a dependency of the ELF binary anymore, and it is not added automatically to the rpm dependencies.

Also libgcrypt-devel needs to be added as build requirement of crun.

Comment 3 Tom Sweeney 2023-01-04 14:45:05 UTC
Assigning to Jindrich as this looks to be a packaging BZ at the moment.

Comment 4 Alex Jia 2023-01-11 02:48:45 UTC
The criu-libs is rpm dependency of crun and the libgcrypt-devel is build requirement of crun now.

[root@sweetpig-21 ~]# rpm -qa|grep criu
[root@sweetpig-21 ~]# yum install crun-1.7.2-2.module+el8.8.0+17767+1754d41a.x86_64.rpm |grep -B1 criu-libs
Installing weak dependencies:
 criu-libs  x86_64 3.15-3.module+el8.8.0+17695+8a9c0c1b  beaker-AppStream  38 k

[root@sweetpig-21 ~]# rpm -qRp crun-1.7.2-2.module+el8.8.0+17767+1754d41a.src.rpm 
/usr/bin/go-md2man
autoconf
automake
gcc
git
libcap-devel
libgcrypt-devel
libseccomp-devel
libselinux-devel
libtool
python3
python3-libmount
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
systemd-devel
yajl-devel

Comment 5 Alex Jia 2023-01-11 03:17:03 UTC
Also verified this bug on aarch64, s390x, ppc64le arch.

Comment 9 Alex Jia 2023-02-06 09:17:18 UTC
Closed this bug per Comment 4.

Comment 12 errata-xmlrpc 2023-05-16 08:22:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: container-tools:rhel8 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:2758