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: ---   
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