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 #5 received at submit@bugs.devuan.org (full text, mbox, reply):

Received: (at submit) by bugs.devuan.org; 5 Aug 2021 11:30:03 +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); 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 <submit@bugs.devuan.org>; 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 <submit@bugs.devuan.org>; 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 <submit@bugs.devuan.org>;
	Thu,  5 Aug 2021 13:22:25 +0200 (CEST)
From: Hannah Rittich <void@rittich.net>
Subject: debian-podman-config-override: Podman missing cgroup mount
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Message-ID: <c8f7dab3-90a0-e249-e437-d5fbb9432d11@rittich.net>
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: 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.

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

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 Apr 25 10:57:40 2024;