FS#61644 - [podman] Missing catatonit for --init parameter
Attached to Project:
Community Packages
Opened by mwohahmwohah (mwohahmwohah) - Tuesday, 05 February 2019, 20:52 GMT
Last edited by Morten Linderud (Foxboron) - Saturday, 14 December 2019, 13:32 GMT
Opened by mwohahmwohah (mwohahmwohah) - Tuesday, 05 February 2019, 20:52 GMT
Last edited by Morten Linderud (Foxboron) - Saturday, 14 December 2019, 13:32 GMT
|
Details
Description:
When using podman run with the --init argument, catatonit [1] is tried by default. catatonit isn't installed by default nor does it seem to be present in the official Arch packages (nor in the AUR), causing any command that involves this option to fail with the following error: container-init binary not found on the host: stat /usr/libexec/podman/catatonit: no such file or directory An alternative to catatonit is tini, which is already available in the AUR [2] and can be used, but must be explicitly enabled and configured. Upstream seems to have reasons to prefer the former [3]. The preferred solution/feature would be that --init just works after installing podman, which would imply either adding and making catatonit a dependency or doing the same for tini and configuring that for use by default via the Podman configuration. Barring that, making either of these a, required or optional/suggested dependencies (potentially ones that provide container-init via "provides"), would be desirable. Additional info: * podman: 1.0.0-2 * Configuration: default, activated user namespace support with "sudo sysctl kernel.unprivileged_userns_clone=1" and configured /etc/subuid and /etc/subgid to get podman working Steps to reproduce: Example command that causes the error: podman run --init --rm php:cli bash -c "ls -al /" Example command to run with tini (AUR): podman run --init --init-path="/usr/bin/tini" --rm php:cli bash -c "ls -al /" [1] https://github.com/openSUSE/catatonit [2] https://aur.archlinux.org/packages/tini/ [3] https://github.com/containers/libpod/issues/1670#issuecomment-440950663 |
This task depends upon
Closed by Morten Linderud (Foxboron)
Saturday, 14 December 2019, 13:32 GMT
Reason for closing: Fixed
Additional comments about closing: catatonit is in [community]. Added to optdepends when podman gets it's 1.7.0 release (soon).
Saturday, 14 December 2019, 13:32 GMT
Reason for closing: Fixed
Additional comments about closing: catatonit is in [community]. Added to optdepends when podman gets it's 1.7.0 release (soon).
1) Install Docker
2) Use it's bundled init binary by adding `init_path = "/usr/bin/docker-init"` to `/usr/share/containers/libpod.conf`
[1] https://aur.archlinux.org/packages/catatonit/