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 2215262

Summary: could not find symbol `criu_set_lsm_mount_context` in `libcriu.so`
Product: Red Hat Enterprise Linux 8 Reporter: Alex Jia <ajia>
Component: crunAssignee: Giuseppe Scrivano <gscrivan>
Status: CLOSED WONTFIX QA Contact: Alex Jia <ajia>
Severity: high Docs Contact:
Priority: high    
Version: 8.9CC: gscrivan, jnovy, tsweeney
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2183041
: 2236049 (view as bug list) Environment:
Last Closed: 2023-06-15 22:11:29 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: 2183041    
Bug Blocks: 2184220, 2184221, 2236049    

Comment 1 Alex Jia 2023-06-15 08:27:26 UTC
[root@kvm-01-guest04 crun]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.9 Beta (Ootpa)

[root@kvm-01-guest04 crun]# rpm -q crun criu kernel
crun-1.8.3-1.module+el8.9.0+19098+6e7a5e3f.x86_64
criu-3.15-3.module+el8.9.0+19098+6e7a5e3f.x86_64
kernel-4.18.0-497.el8.x86_64

[root@kvm-01-guest04 crun]# ln -s /usr/bin/crun ./crun
[root@kvm-01-guest04 crun]# python3 tests/test_checkpoint_restore.py 
1..3
2023-06-15T08:21:33.370226Z: could not find symbol `criu_set_lsm_mount_context` in `libcriu.so`
b''
Command '['/root/crun/crun', '--root', '/root/crun/.testsuite-run-48402/root', 'checkpoint', '--image-path=/root/crun/.testsuite-run-48402/checkpoint', 'test-tmp6c6zaelx']' returned non-zero exit status 1.
not ok 1 - checkpoint-restore
ok 2 - checkpoint-restore-ext-ns #SKIP
ok 3 - checkpoint-restore-pre-dump #SKIP

Comment 2 Alex Jia 2023-06-15 11:07:50 UTC
(In reply to Alex Jia from comment #1)
> [root@kvm-01-guest04 crun]# rpm -q crun criu kernel
> crun-1.8.3-1.module+el8.9.0+19098+6e7a5e3f.x86_64

The crun-1.8.3-1.module+el8.9.0+19098+6e7a5e3f belongs to container-tools-4.0-8090020230614164212.e7857ab1.

We need the crun 1.8.5 for 4.0 stream of the container-tools module on 8.9.

Comment 3 Jindrich Novy 2023-06-15 11:11:25 UTC
Why we need to update crun to 1.8.5 in 4.0 stable stream Alex?

Comment 5 Alex Jia 2023-06-16 00:57:33 UTC
(In reply to Jindrich Novy from comment #3)
> Why we need to update crun to 1.8.5 in 4.0 stable stream Alex?

Because this known bug was fixed by crun 1.8.5 ago, but it's for rhel8 stream not 4.0 stream,
anyway, we need to backpoint previous patch to buildah new crun verion, thanks!