Podman troubleshooting: Difference between revisions
From wikinotes
(Created page with "= Error: OCI runtime error: crun: writing file `/sys/fs/cgroup/cgroup.subtree_control` invalid argument = <blockquote> Temp Workaround: <code>sc --user stop mpd.service</code>, then podman, then can start mpd Issue/Cause: * https://github.com/containers/crun/issues/704 * https://github.com/lxc/lxc/issues/3545 </blockquote><!-- Error: OCI runtime error: crun: writing file `/sys/fs/cgroup/cgroup.subtree_control` invalid argument -->") |
|||
Line 1: | Line 1: | ||
= Error: OCI runtime error: crun: writing file `/sys/fs/cgroup/cgroup.subtree_control` invalid argument = | = Error: OCI runtime error: crun: writing file `/sys/fs/cgroup/cgroup.subtree_control` invalid argument = | ||
<blockquote> | <blockquote> | ||
Temp Workaround: <code>sc --user stop mpd.service</code>, then podman, then can start mpd | **Temp Workaround 1:**<br> | ||
<code>sc --user stop mpd.service</code>, then podman, then can start mpd (or start as non realtime service).<br> | |||
This worked initially but no longer. | |||
**Temp Workaround 2:**<br> | |||
Assign the [[Linux kernel configuration]] following kernel params:<br> | |||
NOTE: grub abstracts kernel params? these params are not available. | |||
<syntaxhighlight lang="bash"> | |||
systemd.unified_cgroup_hierarchy=1 | |||
cgroup_enable=cpu cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 | |||
</syntaxhighlight> | |||
**Temp Workaround 3:**<br> | |||
Apparently rootless podman just-works. | |||
Issue/Cause: | Issue/Cause: | ||
* https://github.com/containers/crun/issues/704 | * https://github.com/containers/crun/issues/704 | ||
* https://github.com/lxc/lxc/issues/3545 | * https://github.com/lxc/lxc/issues/3545 | ||
* https://bugs.archlinux.org/task/71560 | |||
</blockquote><!-- Error: OCI runtime error: crun: writing file `/sys/fs/cgroup/cgroup.subtree_control` invalid argument --> | </blockquote><!-- Error: OCI runtime error: crun: writing file `/sys/fs/cgroup/cgroup.subtree_control` invalid argument --> |
Revision as of 17:31, 24 September 2023
Error: OCI runtime error: crun: writing file `/sys/fs/cgroup/cgroup.subtree_control` invalid argument
- Temp Workaround 1:**
sc --user stop mpd.service
, then podman, then can start mpd (or start as non realtime service).
This worked initially but no longer.
- Temp Workaround 2:**
Assign the Linux kernel configuration following kernel params:
NOTE: grub abstracts kernel params? these params are not available.systemd.unified_cgroup_hierarchy=1 cgroup_enable=cpu cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1
- Temp Workaround 3:**
Apparently rootless podman just-works.
Issue/Cause: