Repository navigation
Description
Hi,
In the freedesktop-sdk project we've just updated our containers to include crun 1.29 (previously 1.28), we build the same container for aarch64, amd64, ppc64le & riscv arches. I've also tested this with crun rebuilt from the latest head commit, as I can see mentioned of fixing regressions
When trying to integrate the container into our CI we're noticing an error, but only on our ppc64le runners. One thing that stands out to me is unfortunately the ppc64le runners are using a host distro that still ships Linux 4.18 whereas all the other arches are on 6+. It could also be arch or host configuration specific (it is using an upto date gitlab-runner), but it does stand out.
The error manifests itself when trying to podman load a tarball:
Getting image source signatures
Copying blob sha256:ec13296c9c912c8a0f36721ce3f142db63b22c3314f75303e8c7ae7ef8ceefca
Copying blob sha256:15b0387ed3c57d99ebe3550958179baf0e6f3cd7f22e34c0b6d3d2ca7deafdab
Copying blob sha256:2c95c406d04020feb15d22d1037043ea2066436e7e097de4b19597139bf2033c
Copying blob sha256:ac918c78cebf4752e7a36ca7552e1f73294f9e00e130728d699f81f9b5075f75
Copying config sha256:e33b488d94caed71d2016580cae48e949a5ff72d145baf29fb992c5357f2e9b4
Writing manifest to image destination
Error: OCI runtime error: crun: set propagation for `etc/hosts`: Invalid argument
In the case it's etc/hosts, but we've also seen it for dev paths too.
Looking into 1.29 it introduces changes to use the new mount API for more mount operations, including changes around mount propagation. These APIs (mount_setattr(), open_tree(), move_mount(), etc.) were introduced after Linux 4.18. I'm wondering whether the new mount/propagation handling has a compatibility issue on 4.18, potentially resulting in EINVAL rather than falling back to the legacy mount API?
Happy to help however I can, or if there's a real expectation on a minimal required kernel version then this would help us too.
Thank you
Activity
[-]crun 1.29 showing issues on <= Linux 4.18 kernels[/-][+]crun 1.29 showing issues on Linux <= 4.18 kernels[/+][-]crun 1.29 showing issues on Linux <= 4.18 kernels[/-][+]crun 1.29 potentially showing issues on Linux <= 4.18 kernels[/+]linux: refresh real_target after reopening the mount target
giuseppe commentedon Aug 12, 2026
do you have a chance to try out #2179 ?
tom--pollard commentedon Aug 12, 2026
@giuseppe sure I can rebuild the crun in the container based on that PR branch, will report back with relevant links
tom--pollard commentedon Aug 12, 2026
Should be being tested here
https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/jobs/15861327171network hiccup on that one, re-triggered https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/jobs/15861782836tom--pollard commentedon Aug 12, 2026
@giuseppe looking good!
giuseppe commentedon Aug 12, 2026
@kolyshkin PTAL, I'll cut a new release once we get this in