You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Older Toolbx Containers fail to run with crun >= 1.8.2 #1841
I encountered an error while testing the backward compatibility of the Toolbx containers. Running older Toolbx containers (created with Toolbx version 0.0.96) fails with newer versions of crun (starting from version 1.8.2).
Error
Error: crun: chown `/dev/pts/N`: Operation not permitted: OCI permission denied
Steps to Reproduce
Reproduced using Podman on Fedora 39 Workstation with Podman version 4.7.0 to ensure compatibility with older crun versions.
Is it possible that podman exec --tty --user $UID ... stopped working due to #1159, unless the container was created with --mount type=devpts,destination=/dev/pts? Is that expected?
I was trying not have the separate devpts to see if it helps with containers/toolbox#568
Background
Newer versions of Toolbx now use the following podman create option to avoid this issue:
--mount type=devpts,destination=/dev/pts
However, containers created with older versions (such as Toolbx 0.0.96) did not include this mount, resulting in this failure with newer crun versions.
Fedora 39 is EOL so whatever fix we could do in crun won't get there, and even the Toolbox container itself should not be based on some old distro that doesn't get any update.
Fedora 39 is EOL so whatever fix we could do in crun won't get there, and even the Toolbox container itself should not be based on some old distro that doesn't get any update.
Fedora 39 is a bit of a red herring because it was only used to bisect the problem to the exact crun version and change, because as we bisect deeper and deeper into crun, a more modern Podman stack (like the one on Fedora 42) stops working with it.
The problem that @DaliborKr found also occurs on Fedora 42 because it has crun >= 1.8.2.
If the regression is fundamentally impossible to fix in crun, then I guess we will mark those containers as deprecated or unsupported.
Activity
giuseppe commentedon Jul 31, 2025
Fedora 39 is EOL so whatever fix we could do in crun won't get there, and even the Toolbox container itself should not be based on some old distro that doesn't get any update.
Can't the toolbox container just be recreated?
debarshiray commentedon Jul 31, 2025
Fedora 39 is a bit of a red herring because it was only used to bisect the problem to the exact crun version and change, because as we bisect deeper and deeper into crun, a more modern Podman stack (like the one on Fedora 42) stops working with it.
The problem that @DaliborKr found also occurs on Fedora 42 because it has crun >= 1.8.2.
If the regression is fundamentally impossible to fix in crun, then I guess we will mark those containers as deprecated or unsupported.
giuseppe commentedon Jul 31, 2025
if anyone cares to open a PR, I'll be glad to review it