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

Package: src:debian-config-override; Reported by: Hannah Rittich <void@rittich.net>; Done: dak@devuan.org; Maintainer for src is (unknown).

Message received at 595-done@bugs.devuan.org:


Received: (at 595-done) by bugs.devuan.org; 28 Jul 2021 15:20:03 +0000
Return-Path: <dak@devuan.org>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Wed, 28 Jul 2021 15:20:03 +0000 (UTC)
Received: from mail.devuan.dev (mail.devuan.dev [54.36.142.182])
	by vm6.ganeti.dyne.org (Postfix) with ESMTP id 75C69F60999
	for <595-done@bugs.devuan.org>; Wed, 28 Jul 2021 17:19:18 +0200 (CEST)
Received: from dak.ganeti1.devuan.org (dak.devuan.org [192.168.97.90])
	by mail.devuan.dev (Postfix) with SMTP id 35C9D3A0423
	for <595-done@bugs.devuan.org>; Wed, 28 Jul 2021 15:19:17 +0000 (UTC)
Received: (nullmailer pid 4028 invoked by uid 107);
	Wed, 28 Jul 2021 15:19:17 -0000
From: dak@devuan.org
To: 595-done@bugs.devuan.org
Subject: #595: fixed in src:debian-config-override version 2.1
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Date: Wed, 28 Jul 2021 15:19:17 +0000
Message-Id: <1627485557.135086.4027.nullmailer@dak.localnet.devuan.org>
X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_FAIL
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org


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-----

Notification sent to Hannah Rittich <void@rittich.net>:
bug acknowledged by developer. Full text available.
Reply sent to dak@devuan.org:
You have taken responsibility. Full text available.

Message received at 595@bugs.devuan.org:


Received: (at 595) by bugs.devuan.org; 28 Jul 2021 14:50:04 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Wed, 28 Jul 2021 14:50:04 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 44986F604DC;
	Wed, 28 Jul 2021 16:47:53 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1m8kqd-0000jN-Mh; Wed, 28 Jul 2021 15:47:51 +0100
Received: (nullmailer pid 16481 invoked by uid 1000);
	Wed, 28 Jul 2021 14:47:51 -0000
Date: Wed, 28 Jul 2021 15:47:50 +0100
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
Message-ID: <YQFuFpTsa9E4UNSi@hindley.org.uk>
References: <162707371784.4203.15006124007437811971.reportbug@devuan-vm>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <162707371784.4203.15006124007437811971.reportbug@devuan-vm>
X-Debbugs-No-Ack: No Thanks
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

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

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#595; Package src:debian-config-override. Full text available.
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. Full text available.
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. Full text available.

Message received at 595@bugs.devuan.org:


Received: (at 595) by bugs.devuan.org; 28 Jul 2021 14:50:03 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Wed, 28 Jul 2021 14:50:03 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 44986F604DC;
	Wed, 28 Jul 2021 16:47:53 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1m8kqd-0000jN-Mh; Wed, 28 Jul 2021 15:47:51 +0100
Received: (nullmailer pid 16481 invoked by uid 1000);
	Wed, 28 Jul 2021 14:47:51 -0000
Date: Wed, 28 Jul 2021 15:47:50 +0100
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
Message-ID: <YQFuFpTsa9E4UNSi@hindley.org.uk>
References: <162707371784.4203.15006124007437811971.reportbug@devuan-vm>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <162707371784.4203.15006124007437811971.reportbug@devuan-vm>
X-Debbugs-No-Ack: No Thanks
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

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

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#595; Package podman. Full text available.

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 23 Jul 2021 17:20:02 +0000
Return-Path: <void@rittich.net>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Fri, 23 Jul 2021 17:20:02 +0000 (UTC)
Received: from [127.0.1.1] (v2202105148788153697.goodsrv.de [94.16.112.139])
	by vm6.ganeti.dyne.org (Postfix) with ESMTP id 4AECAF609E4
	for <submit@bugs.devuan.org>; Fri, 23 Jul 2021 19:16:30 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
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
Message-ID: <162706778745.3255.9471676401046868613.reportbug@devuan-vm>
Date: Fri, 23 Jul 2021 21:16:27 +0200
X-Spam-Status: No, score=1.2 required=5.0 tests=HELO_MISC_IP,KHOP_DYNAMIC,
	SPF_FAIL autolearn=disabled version=3.4.2
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

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

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. Full text available.
Report forwarded to devuan-bugs@lists.dyne.org, void@rittich.net, devuan-dev@lists.dyne.org:
bug#595; Package podman. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sun, 4 Dec 2022 10:39:02 UTC