[pkg-go] Bug#971815: podman: --init is broken: /usr/libexec/podman/catatonit not found

Antonio Terceiro terceiro at debian.org
Wed Oct 7 22:39:43 BST 2020

Package: podman
Version: 2.0.6+dfsg1-1
Severity: normal
Tags: patch

I was testing some things that I usually run against docker with podman,
and discovered that --init does not work:

$ docker run --init debian echo Hello world
Hello world
$ podman run --init debian echo Hello world
Error: container-init binary not found on the host: stat /usr/libexec/podman/catatonit: no such file or directory

I found https://github.com/containers/podman/issues/4159 upstream

I did a quick packaging of catatonit, installed it, and with the
attached patch, I can make it work. I have just submitted an ITP for

$ podman run --init debian echo Hello world
Hello world

Should I go ahead and upload catatonit? Or would you rather point to a
different init by default? It seems we have quite some of them in the
archive already (tini, dumb-init, ...)?

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64, i386

Kernel: Linux 5.8.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages podman depends on:
ii  conmon                           2.0.20-1
ii  containernetworking-plugins      0.8.6-2
ii  golang-github-containers-common  0.14.10+ds1-1
ii  init-system-helpers              1.58
ii  libc6                            2.31-3
ii  libdevmapper1.02.1               2:1.02.171-3
ii  libgpgme11                       1.14.0-1
ii  libseccomp2                      2.4.4-1
ii  runc                             1.0.0~rc92+dfsg1-5

Versions of packages podman recommends:
ii  buildah         1.15.2-1
ii  catatonit       0.1.5-2.ge27d77f
ii  fuse-overlayfs  1.1.2-1
ii  slirp4netns     1.0.1-1
ii  tini            0.19.0-1
ii  uidmap          1:4.8.1-1

Versions of packages podman suggests:
pn  containers-storage  <none>

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-catatonit-with-init-by-default.patch
Type: text/x-diff
Size: 971 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20201007/bd92b21e/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20201007/bd92b21e/attachment.sig>

More information about the Pkg-go-maintainers mailing list