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

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, Mark Hindley <mark@hindley.org.uk>:
bug#597; Package debian-podman-config-override. (Thu, 05 Aug 2021 11:32:02 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, Mark Hindley <mark@hindley.org.uk>. (Thu, 05 Aug 2021 11:32:06 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: debian-podman-config-override: Podman missing cgroup mount
Date: Thu, 5 Aug 2021 13:22:23 +0200
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

Information forwarded to devuan-bugs@lists.dyne.org:
bug#597; Package debian-podman-config-override. (Thu, 05 Aug 2021 12:42:02 GMT) (full text, mbox, link).


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

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
Date: Thu, 5 Aug 2021 13:39:10 +0100
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


Information forwarded to devuan-bugs@lists.dyne.org, Mark Hindley <mark@hindley.org.uk>:
bug#597; Package debian-podman-config-override. (Thu, 05 Aug 2021 14:22:02 GMT) (full text, mbox, link).


Acknowledgement sent to Hannah Rittich <void@rittich.net>:
Extra info received and forwarded to list. Copy sent to Mark Hindley <mark@hindley.org.uk>. (Thu, 05 Aug 2021 14:22:04 GMT) (full text, mbox, link).


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

From: Hannah Rittich <void@rittich.net>
To: 597@bugs.devuan.org
Subject: Re: bug#597: debian-podman-config-override: Podman missing cgroup mount
Date: Thu, 5 Aug 2021 16:12:05 +0200
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.

Reply sent to dak@devuan.org:
You have taken responsibility. (Thu, 05 Aug 2021 14:42:02 GMT) (full text, mbox, link).


Notification sent to Hannah Rittich <void@rittich.net>:
bug acknowledged by developer. (Thu, 05 Aug 2021 14:42:05 GMT) (full text, mbox, link).


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

From: dak@devuan.org
To: 597-done@bugs.devuan.org
Subject: #597: fixed in src:debian-config-override version 2.2
Date: Thu, 05 Aug 2021 14:33:53 +0000
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 <mark@hindley.org.uk>
Changed-By: Mark Hindley <leepen@debian.org>
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-----

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 26 22:56:16 2024;