Bug 1955119

Summary: Add criu-devel to the criu packages on RHEL 9
Product: Red Hat Enterprise Linux 9 Reporter: Mario Torre <neugens>
Component: criuAssignee: Adrian Reber <areber>
Status: CLOSED CURRENTRELEASE QA Contact: Chao Ye <cye>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: cye, jvanek, jwboyer, skozina
Target Milestone: betaKeywords: Triaged
Target Release: 9.0 BetaFlags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: criu-3.15-6.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1971718 (view as bug list) Environment:
Last Closed: 2022-01-12 11:26:32 UTC Type: Feature Request
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: 1971718, 1972029    

Comment 1 Adrian Reber 2021-04-29 15:16:09 UTC
Providing criu-devel should be no problem. I would like to add it first to RHEL 9 and then to RHEL 8.

I would like to add it to the CRB repository. Would that work for you? criu-devel in CRB and the actual library would be part of the main repository.

Comment 2 jiri vanek 2021-04-30 09:49:28 UTC
I think it is enough if criu-devel is only part  of buildroot. Mario/Christine?

Comment 3 Adrian Reber 2021-05-05 05:49:34 UTC
Switching to RHEL 9 for first round of changes.

Comment 4 Adrian Reber 2021-05-10 06:35:29 UTC
Block by gating errors: https://issues.redhat.com/browse/OSCI-2087

Comment 5 Adrian Reber 2021-06-02 08:47:54 UTC
@jwboyer This update introduces two additional packages: criu-lib and criu-devel. criu-devel is needed in CRB and criu-lib should be automatically pulled in by whoever needs it. Expected users of criu-lib are crun and OpenJDK. Not sure where criu-lib needs to live to be pulled in by crun and OpenJDK as dependency. Can you add criu-devel and criu-lib to the correct repositories? Do I need to open a ticket somewhere else to have criu-devel and criu-lib added to repositories?

Comment 11 Chao Ye 2021-06-16 02:15:05 UTC
Verified with RHEL-9.0.0-20210615.4:
==========================================================================
[root@kvm-04-guest19 ~]# yum info criu-devel
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:13:06 ago on Tue 15 Jun 2021 10:00:50 PM EDT.
Available Packages
Name         : criu-devel
Version      : 3.15
Release      : 6.el9
Architecture : x86_64
Size         : 17 k
Source       : criu-3.15-6.el9.src.rpm
Repository   : beaker-CRB
Summary      : Header files and libraries for criu
URL          : http://criu.org/
License      : GPLv2
Description  : This package contains header files and libraries for criu.

[root@kvm-04-guest19 ~]# yum install -y criu-devel
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:13:11 ago on Tue 15 Jun 2021 10:00:50 PM EDT.
Dependencies resolved.
=============================================================================================================================================
 Package                         Architecture                Version                             Repository                             Size
=============================================================================================================================================
Installing:
 criu-devel                      x86_64                      3.15-6.el9                          beaker-CRB                             17 k
Installing dependencies:
 criu                            x86_64                      3.15-6.el9                          beaker-AppStream                      519 k
 criu-libs                       x86_64                      3.15-6.el9                          beaker-CRB                             32 k
 libnet                          x86_64                      1.2-5.el9                           beaker-AppStream                       60 k
Installing weak dependencies:
 tar                             x86_64                      2:1.34-1.el9                        beaker-BaseOS                         896 k

Transaction Summary
=============================================================================================================================================
Install  5 Packages

Total download size: 1.5 M
Installed size: 4.6 M
Downloading Packages:
(1/5): libnet-1.2-5.el9.x86_64.rpm                                                                           8.1 MB/s |  60 kB     00:00
(2/5): criu-devel-3.15-6.el9.x86_64.rpm                                                                      817 kB/s |  17 kB     00:00
(3/5): criu-3.15-6.el9.x86_64.rpm                                                                             14 MB/s | 519 kB     00:00
(4/5): criu-libs-3.15-6.el9.x86_64.rpm                                                                       1.7 MB/s |  32 kB     00:00
(5/5): tar-1.34-1.el9.x86_64.rpm                                                                              16 MB/s | 896 kB     00:00
---------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                         27 MB/s | 1.5 MB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                     1/1
  Installing       : tar-2:1.34-1.el9.x86_64                                                                                             1/5
  Installing       : libnet-1.2-5.el9.x86_64                                                                                             2/5
  Installing       : criu-3.15-6.el9.x86_64                                                                                              3/5
  Installing       : criu-libs-3.15-6.el9.x86_64                                                                                         4/5
  Installing       : criu-devel-3.15-6.el9.x86_64                                                                                        5/5
  Running scriptlet: criu-devel-3.15-6.el9.x86_64                                                                                        5/5
  Verifying        : criu-3.15-6.el9.x86_64                                                                                              1/5
  Verifying        : libnet-1.2-5.el9.x86_64                                                                                             2/5
  Verifying        : tar-2:1.34-1.el9.x86_64                                                                                             3/5
  Verifying        : criu-devel-3.15-6.el9.x86_64                                                                                        4/5
  Verifying        : criu-libs-3.15-6.el9.x86_64                                                                                         5/5
Installed products updated.

Installed:
  criu-3.15-6.el9.x86_64   criu-devel-3.15-6.el9.x86_64   criu-libs-3.15-6.el9.x86_64   libnet-1.2-5.el9.x86_64   tar-2:1.34-1.el9.x86_64

Complete!