Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#71364 - [crun] Should have optional CRIU dependency

Attached to Project: Community Packages
Opened by Alexander (sashok724) - Friday, 25 June 2021, 19:57 GMT
Last edited by Morten Linderud (Foxboron) - Friday, 09 July 2021, 13:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
crun package is built without CRIU (criu package), so it's impossible to checkpoint or restore Podman container.
I think it should be built with CRIU, and CRIU should be an optional dependency.

Steps to reproduce:
* Run podman checkpoint <container> command, it will fail
Error: configured runtime does not support checkpoint/restore
* Rebuild crun package with criu installed (i got PKGBUILD from asp)
* Run podman checkpoint <container> again, now it will succeed

'podman system info' output with current crun package:
...
ociRuntime:
name: crun
package: /usr/bin/crun is owned by crun 0.20.1-1
path: /usr/bin/crun
version: |-
crun version 0.20.1
commit: 38271d1c8d9641a2cdc70acfa3dcb6996d124b3d
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
...

'podman system info' output with rebuilt crun package when criu is installed:
...
ociRuntime:
name: crun
package: /usr/bin/crun is owned by crun 0.20.1-1
path: /usr/bin/crun
version: |-
crun version 0.20.1
commit: 38271d1c8d9641a2cdc70acfa3dcb6996d124b3d
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL
...
This task depends upon

Closed by  Morten Linderud (Foxboron)
Friday, 09 July 2021, 13:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  crun and runc has criu optional dependency listed
Comment by Alexander (sashok724) - Sunday, 27 June 2021, 20:09 GMT
Seemingly this also applies to the runc package

Loading...