Devuan bug report logs - #595
podman: Podman fails to run containers in the default configuration

version graph

Package: src:debian-config-override; Maintainer for src:debian-config-override is Mark Hindley <mark@hindley.org.uk>;

Reported by: Hannah Rittich <void@rittich.net>

Date: Fri, 23 Jul 2021 17:33:01 UTC

Severity: normal

Fixed in version 2.1

Done: dak@devuan.org

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, void@rittich.net, devuan-dev@lists.dyne.org:
bug#595; Package podman. (Fri, 23 Jul 2021 17:33:01 GMT) (full text, mbox, link).


Acknowledgement sent to Hannah Rittich <void@rittich.net>:
New bug report received and forwarded. Copy sent to void@rittich.net, devuan-dev@lists.dyne.org. (Fri, 23 Jul 2021 17:33:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: Hannah Rittich <void@rittich.net>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: podman: Podman fails to run containers in the default configuration
Date: Fri, 23 Jul 2021 21:16:27 +0200
Package: podman
Version: 3.0.1+dfsg1-3+b1
Severity: normal
X-Debbugs-Cc: void@rittich.net

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

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#595; Package podman. (Wed, 28 Jul 2021 15:03:01 GMT) (full text, mbox, link).


Message #8 received at 595@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: Hannah Rittich <void@rittich.net>, 596@bugs.devuan.org, 595@bugs.devuan.org
Subject: Re: bug#595, bug#596: podman: messages
Date: Wed, 28 Jul 2021 15:47:50 +0100
Control: reassign -1 src:debian-config-override

Hannah,

On Fri, Jul 23, 2021 at 10:55:17PM +0200, Hannah Rittich wrote:
> Package: podman
> Version: 3.0.1+dfsg1-3+b1
> Severity: minor
> X-Debbugs-Cc: void@rittich.net
> 
> Using podman on chimaera results in many spurious error messages that result
> from podman trying to write to the systemd journal.
> 
> These error messages can be avoided by creating the file
> `/etc/containers/containers.conf` containing:
> 
>     [engine]
>     cgroup_manager = "cgroupfs"
>     events_logger = "file"

Thanks for this. As podman is not a forked package and Devuan uses Debian's
packages directly without recompilation we cannot do this directly. However, I
am reassigning to src:debian-config-override and will add a
debian-podman-config-override package to that with your suggested defaults.

Mark

bug reassigned from package 'podman' to 'src:debian-config-override'. Request was from Mark Hindley <mark@hindley.org.uk> to 595-submit@bugs.devuan.org. (Wed, 28 Jul 2021 15:03:03 GMT) (full text, mbox, link).


No longer marked as found in versions 3.0.1+dfsg1-3+b1. Request was from Mark Hindley <mark@hindley.org.uk> to 595-submit@bugs.devuan.org. (Wed, 28 Jul 2021 15:03:03 GMT) (full text, mbox, link).


Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#595; Package src:debian-config-override. (Wed, 28 Jul 2021 15:03:10 GMT) (full text, mbox, link).


Reply sent to dak@devuan.org:
You have taken responsibility. (Wed, 28 Jul 2021 15:24:02 GMT) (full text, mbox, link).


Notification sent to Hannah Rittich <void@rittich.net>:
bug acknowledged by developer. (Wed, 28 Jul 2021 15:24:04 GMT) (full text, mbox, link).


Message #20 received at 595-done@bugs.devuan.org (full text, mbox, reply):

From: dak@devuan.org
To: 595-done@bugs.devuan.org
Subject: #595: fixed in src:debian-config-override version 2.1
Date: Wed, 28 Jul 2021 15:19:17 +0000
Version: 2.1

Source package debian-config-override (2.1) added to Devuan suite unstable.

This closes bug report 595.

Thanks

DAK managing the Devuan archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 28 Jul 2021 14:02:56 +0100
Source: debian-config-override
Architecture: source
Version: 2.1
Distribution: unstable
Urgency: medium
Maintainer: Mark Hindley <mark@hindley.org.uk>
Changed-By: Mark Hindley <mark@hindley.org.uk>
Closes: 595 596
Changes:
 debian-config-override (2.1) unstable; urgency=medium
 .
   * Add debian-podman-config-override (Closes: #595, #596).
Checksums-Sha1:
 969da60f121aa4bdb6f10b1a6bbbc86f67c14a2a 1514 debian-config-override_2.1.dsc
 d81ea2156a9d1005e1e9438890f8bd615c16c345 2220 debian-config-override_2.1.tar.xz
 3cad827f959634f4ba8a3efb80f99e707680cd1a 5245 debian-config-override_2.1_source.buildinfo
Checksums-Sha256:
 6c820034946475f949d9991c341998f1e282d786eff25ba5edc91ad8cf7d0ecd 1514 debian-config-override_2.1.dsc
 93dd35a1af1b60c7c8e41820b855f960f80eb9192121beb68a93ccb8157846e0 2220 debian-config-override_2.1.tar.xz
 d76e4f19f5ea43f9c4989ff2da0bd682fe355487db1bcc86591e79ae66203187 5245 debian-config-override_2.1_source.buildinfo
Files:
 f2ea2db986f6543cb991a5c3e7c0d331 1514 misc optional debian-config-override_2.1.dsc
 c0d594f530ddbdd297988bbd30a5c22b 2220 misc optional debian-config-override_2.1.tar.xz
 f3595c61e9b77f3eea1c5dd556ddb316 5245 misc optional debian-config-override_2.1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmEBdNIACgkQlFMhJFQZ
IvtEKwgAiY8V7QqEoD2t6U0bOmkLWXO5DTbtVdPwfM3hgblCLzdEqStugpv99vK8
+BqAQmzcnlt/OUTaakm/x3aRLlhp2UOS2plikHFa9rlCfYtuXfazVViB1rKL1tD/
pbe44UzMDxOMM+T/dNboW709goxfh+yb2uh6Xck/QOA66P4Qow3gy/XDbbcUy7R9
3GHC1ZmVhxxzQar7c0y4XgsnXDzOMzjFuhcwQfIIto4SG1QuUpnUZBbtLun6TlXJ
EQlR70W1aHNYbPiyqtMHI4sgd0D5gEZ7H488yl4OyTCtNibHMJ1A7KVC6/5wf4km
OVNVyv8rKOMfDSjTYQeRiIZd1NldNg==
=HYK/
-----END PGP SIGNATURE-----

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu Mar 28 09:20:47 2024;