Devuan bug report logs - #426
lxc: cannot start Fedora30 and Debian Stretch in LXC containers

version graph

Package: cgroupfs-mount; Maintainer for cgroupfs-mount is Tanya <tanyadegurechaff@waifu.club>; Source for cgroupfs-mount is src:cgroupfs-mount.

Reported by: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>

Date: Fri, 24 Apr 2020 10:03:01 UTC

Severity: grave

Tags: debian

Fixed in version 1.4+devuan1

Done: dak@devuan.org

Forwarded to https://bugs.debian.org/939435

Full log


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

Received: (at 426) by bugs.devuan.org; 27 Apr 2020 03:00:01 +0000
Return-Path: <matsumoto.r.aa@m.titech.ac.jp>
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); Mon, 27 Apr 2020 03:00:01 +0000 (UTC)
Received: from mail001.nap.gsic.titech.ac.jp (mail001.nap.gsic.titech.ac.jp [131.112.13.101])
	by vm6.ganeti.dyne.org (Postfix) with SMTP id 1B64BF60859
	for <426@bugs.devuan.org>; Mon, 27 Apr 2020 04:48:11 +0200 (CEST)
Received: from 172.22.40.205
	by mail001.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2612:0:AUTH_RELAY)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Mon, 27 Apr 2020 11:48:09 +0900 (JST)
Received: from mail002.nap.gsic.titech.ac.jp (mail002.nap.gsic.titech.ac.jp [131.112.13.102])
	by drweb08.nap.gsic.titech.ac.jp (Postfix) with SMTP id 468DE3B12;
	Mon, 27 Apr 2020 11:48:09 +0900 (JST)
Received: from 131.112.36.198
	by mail002.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2629:0:AUTH_LOGIN)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Mon, 27 Apr 2020 11:48:07 +0900 (JST)
Date: Mon, 27 Apr 2020 11:48:03 +0900 (JST)
Message-Id: <20200427.114803.1437962298189317609.ryutaroh@ict.e.titech.ac.jp>
To: mark@hindley.org.uk
Cc: 426@bugs.devuan.org
Subject: Re: lxc: cannot start Fedora30 and Debian Stretch in LXC containers
From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
In-Reply-To: <20200425094838.GK22592@hindley.org.uk>
References: <20200424170547.GH22592@hindley.org.uk>
	<20200425.044713.1306704157252843423.ryutaroh@ict.e.titech.ac.jp>
	<20200425094838.GK22592@hindley.org.uk>
X-Mailer: Mew version 6.8 on Emacs 26.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Hi Mark,

> A few other ideas to try: obviously the lxc container is looking for the host
> /sys/fs/cgroup/systemd which doesn't exist. Does creating it manually help?
> Does installing cgmanager help (I am not sure if that will create and manage
> /sys/fs/cgroup/systemd)?

None of them worked.
My Devuan is running on qemu.
I can upload the image so that you can try on your computer.

Best regards,
Ryutaroh

From: Mark Hindley <mark@hindley.org.uk>
Subject: Re: lxc: cannot start Fedora30 and Debian Stretch in LXC containers
Date: Sat, 25 Apr 2020 10:48:38 +0100

> On Sat, Apr 25, 2020 at 04:47:13AM +0900, Ryutaroh Matsumoto wrote:
>> Hi Mark,
>> 
>> Thanks for your help.
>> I was able to use Gentoo in the LXC container on Devuan.
>> So this is not a general problem of LXC.
>> It is specific to Devuan hosts and systemd containers.
> 
> Helpful to know.
> 
>> Booting with apparmor=0 did not help.
>> I selected openrc. Replacing with sysv-rc did not help.
> 
> Thanks for trying.
> 
>> I wonder what is the cgroup mounts without cgroupfs-mount, so
>> I tried apt-get purge cgroupfs-mount, and got the following.
>> I have no idea how to remove cgroupfs-mount from Devuan 3:
> 
> See my answer to #428.
> 
>> Stating that Devuan LXC does not support distros with systemd
>> and closing this but might be a good idea...
> 
> Yes, it might come to that. However, I would like to exhaust other possibilities
> first.
> 
> A few other ideas to try: obviously the lxc container is looking for the host
> /sys/fs/cgroup/systemd which doesn't exist. Does creating it manually help?
> Does installing cgmanager help (I am not sure if that will create and manage
> /sys/fs/cgroup/systemd)?
> 
> Mark

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: Tue Apr 23 08:48:00 2024;