Bug 2158083

Summary: Amend crun package dependencies
Product: Red Hat Enterprise Linux 9 Reporter: Jindrich Novy <jnovy>
Component: crunAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: Alex Jia <ajia>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.2CC: jnovy, lsm5, mboddu, tsweeney, ypu
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: crun-1.7.2-2.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2158084 (view as bug list) Environment:
Last Closed: 2023-05-09 07:41:12 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:    
Bug Blocks: 2158084    

Description Jindrich Novy 2023-01-04 07:45:06 UTC
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 1 Tom Sweeney 2023-01-04 14:51:03 UTC
Assigning to Jindrich as this looks to be a packaging

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

[root@ibm-x3250m6-08 ~]# yum install crun|grep -B1 criu-libs
Installing weak dependencies:
 criu-libs        x86_64       3.17-4.el9          beaker-AppStream        34 k

[root@ibm-x3250m6-08 ~]# rpm -qRp crun-1.7.2-2.el9.src.rpm
/usr/bin/go-md2man
autoconf
automake
criu-devel
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:04:16 UTC
Also verified this bug on aarch64, s390x, ppc64le arch.

Comment 7 errata-xmlrpc 2023-05-09 07:41:12 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 (crun 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/RHBA-2023:2269