[pkg-go] Bug#1088574: podman does not allow foreign architectures to be run

Juan Croce juanignacio.croce at gmail.com
Thu Nov 28 12:38:13 GMT 2024


Package: podman
Version: 4.3.1+ds1-8+deb12u1
Severity: normal
X-Debbugs-Cc: juanignacio.croce at gmail.com

Dear Maintainer,

* What led up to the situation?
I wanted to use podman with foreign architectures (--arch aarch64 for example)
for the cross compilation of my applications.

* What exactly did you do (or not do) that was effective (or ineffective)?
I searched for the error message online but it did not return any hints on how
to solve it. Using other tools like strace did not report in any additional
information.
I tried running the same setup on debian testing where it does work correctly,
although I would like to see the fix implemented on stable where I intend to
run the server.
I also tried updating the kernel to 6.11 but it does not solve the issue
either, so my belief is that the issue is in podman and not in the kernel.
Trying to run a newer version of podman within a container
(incus/podman/docker) does not solve the issue. What I did is, in the debian
stable version, install through incus a arch linux image to get a newer version
of podman and then run it through it, but it results on the same error.

* What was the outcome of this action?
Please find attached the error reported by the software.
```
$ podman run -it --rm --arch aarch64 debian:12 /bin/bash
{"msg":"exec container process (missing dynamic library?) `/bin/bash`: No such
file or directory","level":"error","time":"2024-11-28T12:11:20.494144Z"}
```

* What outcome did you expect instead?
I expected to have the container running through qemu in a foreign architecture
and for it to run correctly.


-- System Information:
Debian Release: 12.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.11.5+bpo-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US: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.1.6+ds1-1
ii  crun                             1.8.1-1+deb12u1
ii  golang-github-containers-common  0.50.1+ds1-4
ii  libc6                            2.36-9+deb12u9
ii  libdevmapper1.02.1               2:1.02.185-2
ii  libgpgme11                       1.18.0-3+b1
ii  libseccomp2                      2.5.4-1+deb12u1
ii  libsubid4                        1:4.13+dfsg1-1+b1

Versions of packages podman recommends:
ii  buildah            1.28.2+ds1-3+b1
ii  catatonit          0.1.7-1+b1
ii  dbus-user-session  1.14.10-1~deb12u1
ii  fuse-overlayfs     1.10-1
ii  slirp4netns        1.2.0-1
ii  uidmap             1:4.13+dfsg1-1+b1

Versions of packages podman suggests:
pn  containers-storage  <none>
pn  docker-compose      <none>
ii  iptables            1.8.9-2

-- no debconf information



More information about the Pkg-go-maintainers mailing list