Devuan bug report logs - #597
debian-podman-config-override: Podman missing cgroup mount

Package: debian-podman-config-override; Reported by: Hannah Rittich <[email protected]>; Done: [email protected]; Maintainer for debian-podman-config-override is Mark Hindley <[email protected]>.

Message received at [email protected]:


Received: (at 597-done) by bugs.devuan.org; 5 Aug 2021 14:40:04 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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); Thu, 05 Aug 2021 14:40:04 +0000 (UTC)
Received: from mail.devuan.dev (mail.devuan.dev [54.36.142.182])
	by vm6.ganeti.dyne.org (Postfix) with ESMTP id 096B9F60B86
	for <[email protected]>; Thu,  5 Aug 2021 16:33:53 +0200 (CEST)
Received: from dak.ganeti1.devuan.org (dak.devuan.org [192.168.97.90])
	by mail.devuan.dev (Postfix) with SMTP id 5F0713A9934
	for <[email protected]>; Thu,  5 Aug 2021 14:33:53 +0000 (UTC)
Received: (nullmailer pid 11728 invoked by uid 107);
	Thu, 05 Aug 2021 14:33:53 -0000
From: [email protected]
To: [email protected]
Subject: #597: fixed in src:debian-config-override version 2.2
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Date: Thu, 05 Aug 2021 14:33:53 +0000
Message-Id: <[email protected]>
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.2

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

This closes bug report 597.

Thanks

DAK managing the Devuan archive

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

Format: 1.8
Date: Thu, 05 Aug 2021 13:42:23 +0100
Source: debian-config-override
Architecture: source
Version: 2.2
Distribution: unstable
Urgency: medium
Maintainer: Mark Hindley <[email protected]>
Changed-By: Mark Hindley <[email protected]>
Closes: 597
Changes:
 debian-config-override (2.2) unstable; urgency=medium
 .
   * debian-podman-config-override: podman requires mounted /sys/fs/cgroup,
     so recommend elogind, cgroupfs-mount or cgmanager (Closes: #597).
Checksums-Sha1:
 1acc684cb5a90ec4780eab2c10f444b9217eb88b 1514 debian-config-override_2.2.dsc
 4451014c889e3ffe88ccf196308527ae77ba9db1 2316 debian-config-override_2.2.tar.xz
 72d2fb8034ccde3ab31a45704c71110de2a065c3 5245 debian-config-override_2.2_source.buildinfo
Checksums-Sha256:
 825d6aac46a9c1a43e27c58c003fdfd52a5f0d278d5a4567e3ad728f183448d2 1514 debian-config-override_2.2.dsc
 aa5b519bca2780d5663dcc6826e7bf966195b9287f51c43ba02c3a9b4fd61ed0 2316 debian-config-override_2.2.tar.xz
 034a2830d767d85761e15238839dbb100fd23bf7f19a3ca02d755a5a60c7e5f5 5245 debian-config-override_2.2_source.buildinfo
Files:
 bba4d89118fcb2554e497112ff016179 1514 misc optional debian-config-override_2.2.dsc
 e9cb31ce69b6616ec750164ed8336211 2316 misc optional debian-config-override_2.2.tar.xz
 2377e6713861ba232c3a0fb7e670b511 5245 misc optional debian-config-override_2.2_source.buildinfo

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

iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmEL9g0ACgkQlFMhJFQZ
IvuxSQf/TsOC7bxSxAqQjpOyX1QApypnPVRFMuyi9w1hGnvWSLOuZAaxFEJc9/CT
QgjW2WLFSU6PQmJF6ai9TxusGTRxDCTCC5RLsntELIRsIOExSNb9R7KsdROx2oN6
58FQ6uE9HELF/4Nht9Of0BuaPQwcdkLAbzuhuI9oJlkJoPwWs2JQMuUqDMtDXYbc
44m2xp+rnJ9bEGmPkMkFoCwROLNnV5flHK7nfSHlQGuwDWM1ebvPdKJUeKAmfj1p
ToRWRFdvXqWQP081+AFXFugM97kZ7ufwsjnkv+uuKQEv2Fqn4GuxhwlBIBqJh8HR
SIwOTqOjGnYgXiqZp4BOzWyp8KPS8w==
=xOOy
-----END PGP SIGNATURE-----

Notification sent to Hannah Rittich <[email protected]>:
bug acknowledged by developer. Full text available.
Reply sent to [email protected]:
You have taken responsibility. Full text available.

Message received at [email protected]:


Received: (at 597) by bugs.devuan.org; 5 Aug 2021 14:20:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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); Thu, 05 Aug 2021 14:20:03 +0000 (UTC)
Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 6087DF60B98
	for <[email protected]>; Thu,  5 Aug 2021 16:12:10 +0200 (CEST)
Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4GgVt10tz1zQkFN
	for <[email protected]>; Thu,  5 Aug 2021 16:12:09 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
	by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030)
	with ESMTP id rv9hSNpnPWBh for <[email protected]>;
	Thu,  5 Aug 2021 16:12:06 +0200 (CEST)
Subject: Re: bug#597: debian-podman-config-override: Podman missing cgroup
 mount
To: [email protected]
References: <[email protected]>
 <[email protected]>
From: Hannah Rittich <[email protected]>
Message-ID: <[email protected]>
Date: Thu, 5 Aug 2021 16:12:05 +0200
MIME-Version: 1.0
In-Reply-To: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: de-DE
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 4C2E918B8
X-Rspamd-UID: de2839
X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Am 05.08.21 um 14:39 schrieb Mark Hindley:
> Yes, I think allowing any is the way to go which should provide the greatest
> flexibility.
> 
> I note that cgmanager is not present in debian bullseye or later so appears to
> be on its way out[1]. The best solution is probably to depend on (or recommend?)
> elogind | cgroupfs-mount | cgmanager.

Sounds good. I would say, recommending is enough, because if the user 
wants they can still mount cgroupfs manually.

Acknowledgement sent to Hannah Rittich <[email protected]>:
Extra info received and forwarded to list. Copy sent to Mark Hindley <[email protected]>. Full text available.
Information forwarded to [email protected], Mark Hindley <[email protected]>:
bug#597; Package debian-podman-config-override. Full text available.

Message received at [email protected]:


Received: (at 597) by bugs.devuan.org; 5 Aug 2021 12:40:04 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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); Thu, 05 Aug 2021 12:40: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 C374FF60C08
	for <[email protected]>; Thu,  5 Aug 2021 14:39:13 +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 <[email protected]>)
	id 1mBceV-0007ay-3i; Thu, 05 Aug 2021 13:39:11 +0100
Received: (nullmailer pid 5519 invoked by uid 1000);
	Thu, 05 Aug 2021 12:39:10 -0000
Date: Thu, 5 Aug 2021 13:39:10 +0100
From: Mark Hindley <[email protected]>
To: Hannah Rittich <[email protected]>, [email protected]
Subject: Re: bug#597: debian-podman-config-override: Podman missing cgroup
 mount
Message-ID: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
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

Hannah,

Thanks for this.

On Thu, Aug 05, 2021 at 01:22:23PM +0200, Hannah Rittich wrote:
> Package: debian-podman-config-override
> Version: 2.1
> Severity: normal
> X-Debbugs-Cc: [email protected]
> 
> I was setting up a minimal installation of chimaera to test the new
> `debian-podman-config-override` package. On this system, running a simple
> container with podman fails.
> 
>     $ podman pull docker.io/dyne/devuan:beowulf
>     ...
>     $ podman run -ti --rm devuan:beowulf
>     Error: OCI runtime error: invalid file system type on '/sys/fs/cgroup'
> 
> I had not seen this error message when testing the configuration that is now
> in `debian-podman-config-override`. When testing earlier, I was running a
> full desktop installation, and it turns out that `elogind` mounts the cgroup
> filesystem. Thus, installing `elogind` and restarting allows podman to run.
> 
> Instead of `elogind`, it is also possible to install `cgroupfs-mount` or
> `cgmanager`. Maybe there are more packages that mount the cgroup filesystem.
> 
> To improve the out-of-the-box experice of chimaera, I would suggest to make
> `debian-podman-config-override` to depend on a package that mounts the
> cgroup filesystem. I would suggest to make the package depend on
> `cgroupfs-mount`. It would be possible, however, to just require that any of
> the above-mentioned packages is installed.

Yes, I think allowing any is the way to go which should provide the greatest
flexibility.

I note that cgmanager is not present in debian bullseye or later so appears to
be on its way out[1]. The best solution is probably to depend on (or recommend?)
elogind | cgroupfs-mount | cgmanager.

Mark

[1]  https://tracker.debian.org/pkg/cgmanager


Information forwarded to [email protected]:
bug#597; Package debian-podman-config-override. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 5 Aug 2021 11:30:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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); Thu, 05 Aug 2021 11:30:03 +0000 (UTC)
Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 5A773F609A2
	for <[email protected]>; Thu,  5 Aug 2021 13:22:30 +0200 (CEST)
Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4GgR6D1qjDzQk4Q
	for <[email protected]>; Thu,  5 Aug 2021 13:22:28 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
	by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030)
	with ESMTP id VNY2VThxTszS for <[email protected]>;
	Thu,  5 Aug 2021 13:22:25 +0200 (CEST)
From: Hannah Rittich <[email protected]>
Subject: debian-podman-config-override: Podman missing cgroup mount
To: Devuan Bug Tracking System <[email protected]>
Message-ID: <[email protected]>
Date: Thu, 5 Aug 2021 13:22:23 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Language: de-DE
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 69FB0189C
X-Rspamd-UID: bb0b27
X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,
	RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: debian-podman-config-override
Version: 2.1
Severity: normal
X-Debbugs-Cc: [email protected]

I was setting up a minimal installation of chimaera to test the new 
`debian-podman-config-override` package. On this system, running a 
simple container with podman fails.

     $ podman pull docker.io/dyne/devuan:beowulf
     ...
     $ podman run -ti --rm devuan:beowulf
     Error: OCI runtime error: invalid file system type on '/sys/fs/cgroup'

I had not seen this error message when testing the configuration that is 
now in `debian-podman-config-override`. When testing earlier, I was 
running a full desktop installation, and it turns out that `elogind` 
mounts the cgroup filesystem. Thus, installing `elogind` and restarting 
allows podman to run.

Instead of `elogind`, it is also possible to install `cgroupfs-mount` or 
`cgmanager`. Maybe there are more packages that mount the cgroup filesystem.

To improve the out-of-the-box experice of chimaera, I would suggest to 
make `debian-podman-config-override` to depend on a package that mounts 
the cgroup filesystem. I would suggest to make the package depend on 
`cgroupfs-mount`. It would be possible, however, to just require that 
any of the above-mentioned packages is installed.

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

-- no debconf information

Acknowledgement sent to Hannah Rittich <[email protected]>:
New bug report received and forwarded. Copy sent to [email protected], Mark Hindley <[email protected]>. Full text available.
Report forwarded to [email protected], [email protected], Mark Hindley <[email protected]>:
bug#597; Package debian-podman-config-override. 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 <[email protected]>.
Last modified: Sat, 18 Jan 2025 04:39:02 UTC