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

version graph

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

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

Date: Thu, 5 Aug 2021 11:32:02 UTC

Severity: normal

Found in version 2.1

Fixed in version 2.2

Done: dak@devuan.org

Full log


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

Received: (at 597) by bugs.devuan.org; 5 Aug 2021 12:40: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); 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 <597@bugs.devuan.org>; 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 <mark@hindley.org.uk>)
	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 <mark@hindley.org.uk>
To: Hannah Rittich <void@rittich.net>, 597@bugs.devuan.org
Subject: Re: bug#597: debian-podman-config-override: Podman missing cgroup
 mount
Message-ID: <YQvb7pmusI9LmZaa@hindley.org.uk>
References: <c8f7dab3-90a0-e249-e437-d5fbb9432d11@rittich.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <c8f7dab3-90a0-e249-e437-d5fbb9432d11@rittich.net>
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: void@rittich.net
> 
> 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


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: Fri Apr 19 10:18:41 2024;