:: [devuan-dev] bug#595: podman: Podma…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Hannah Rittich
日付:  
To: Devuan Bug Tracking System
題目: [devuan-dev] bug#595: podman: Podman fails to run containers in the default configuration
Package: podman
Version: 3.0.1+dfsg1-3+b1
Severity: normal
X-Debbugs-Cc: void@???

In the recent version, podman defaults to systemd for cgroup management. See
[Red Hat Bugzilla 1768954] and [podman issue 7544]. Thus, running podman
without changing the configuration on Chimaera results in a dubious error
message.

Podman can be used when creating a file `/etc/containers/containers.conf`
with the following content:

    [engine]
    cgroup_manager = "cgroupfs"


I would suggest to include this configuration file in the podman package of
Devuan, to ensure a good user experience.

Steps to reproduce:

1. Install podman.
2. Run the following commands

        # podman pull docker.io/dyne/devuan:beowulf
        ...
        # podman run --rm -ti devuan:beowulf
        ...
        Error: OCI runtime error: sd-bus call: No route to host


3. Create the file `/etc/containers/containers.conf` as described above.
4. Try 2. again.

[Red Hat Bugzilla 1768954]: https://bugzilla.redhat.com/show_bug.cgi?id=1768954
[podman issue 7544]: https://github.com/containers/podman/issues/7544

-- System Information:
Distributor ID:    Devuan
Description:    Devuan GNU/Linux 4 (chimaera)
Release:    4
Codename:    n/a
Architecture: x86_64


Kernel: Linux 5.10.0-8-amd64 (SMP w/1 CPU thread)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages podman depends on:
ii  conmon                           2.0.25+ds1-1
ii  containernetworking-plugins      0.9.0-1+b6
ii  crun                             0.17+dfsg-1
ii  golang-github-containers-common  0.33.4+ds1-1
ii  init-system-helpers              1.60+devuan1
ii  iptables                         1.8.7-1
ii  libc6                            2.31-12
ii  libdevmapper1.02.1               2:1.02.175-2.1
ii  libgpgme11                       1.14.0-1+b2
ii  libseccomp2                      2.5.1-1


Versions of packages podman recommends:
ii  buildah                                           1.19.6+dfsg1-1+b5
ii  catatonit                                         0.1.5-2
ii  fuse-overlayfs                                    1.4.0-1
ii  golang-github-containernetworking-plugin-dnsname  1.1.1+ds1-4+b7
ii  slirp4netns                                       1.0.1-2
ii  uidmap                                            1:4.8.1-1


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


-- no debconf information