Bug 2184222

Summary: could not find symbol `criu_set_lsm_mount_context` in `libcriu.so` [rhel-9.2.0.z]
Product: Red Hat Enterprise Linux 9 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: crunAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: Alex Jia <ajia>
Severity: high Docs Contact:
Priority: high    
Version: 9.3CC: ajia, atomic-bugs, gscrivan, jnovy, lsm5, mboddu, tsweeney, ypu
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: crun-1.8.4-1.el9_2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2184220 Environment:
Last Closed: 2023-05-09 11:04:39 UTC Type: ---
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: 2184220    
Bug Blocks:    

Comment 1 Tom Sweeney 2023-04-04 00:53:44 UTC
I believe this just needs crun-1.8.3-1.el8 in the 9.2 ZeroDay branch.

Comment 2 Giuseppe Scrivano 2023-04-04 07:56:03 UTC
we need to backport the patch that fixes the issue: https://github.com/containers/crun/pull/1183

the patch is not part of crun 1.8.3

Comment 3 Alex Jia 2023-04-11 04:20:37 UTC
This bug has been verified on crun-1.8.1-1.el9, and the crun-1.8.1-2.el9
is not ready in brew system for RHEL 9.2

[root@kvm-01-guest10 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 9.2 (Plow)

[root@kvm-01-guest10 ~]# rpm -q crun criu criu-libs kernel
crun-1.8.1-1.el9.x86_64
criu-3.17-4.el9.x86_64
criu-libs-3.17-4.el9.x86_64
kernel-5.14.0-284.10.1.el9_2.x86_64
[root@kvm-01-guest10 ~]# cd crun
[root@kvm-01-guest10 crun]# ll crun
lrwxrwxrwx. 1 root root 13 Apr 11 00:17 crun -> /usr/bin/crun
[root@kvm-01-guest10 crun]# python3 tests/test_checkpoint_restore.py
1..3
ok 1 - checkpoint-restore
ok 2 - checkpoint-restore-ext-ns
ok 3 - checkpoint-restore-pre-dump

Comment 7 Alex Jia 2023-04-14 13:00:38 UTC
This bug has been verified on crun-1.8.4-1.el9_2.

[root@kvm-01-guest25 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 9.2 (Plow)

[root@kvm-01-guest25 ~]# uname -a
Linux kvm-01-guest25.lab.eng.rdu2.redhat.com 5.14.0-284.10.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 6 07:43:41 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux

[root@kvm-01-guest25 ~]# rpm -q crun criu
crun-1.8.4-1.el9_2.x86_64
criu-3.17-4.el9.x86_64

[root@kvm-01-guest25 ~]# cd crun
[root@kvm-01-guest25 crun]# ll ./crun
lrwxrwxrwx. 1 root root 13 Apr 14 08:54 ./crun -> /usr/bin/crun
[root@kvm-01-guest25 crun]# python3 tests/test_checkpoint_restore.py
1..3
ok 1 - checkpoint-restore
ok 2 - checkpoint-restore-ext-ns
ok 3 - checkpoint-restore-pre-dump

Comment 11 errata-xmlrpc 2023-05-09 11:04:39 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:2630