著者: Ryutaroh Matsumoto 日付: To: mark CC: 426 題目: [devuan-dev] bug#426: lxc: cannot start Fedora30 and Debian Stretch
in LXC containers
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.
Booting with apparmor=0 did not help.
I selected openrc. Replacing with sysv-rc did not help.
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:
Removing cgroupfs-mount (1.4) ...
Unmounting cgroupfs hierarchyumount: /sys/fs/cgroup/elogind: target is busy.
invoke-rc.d: initscript cgroupfs-mount, action "stop" failed.
dpkg: error processing package cgroupfs-mount (--remove):
installed cgroupfs-mount package pre-removal script subprocess returned error exit status 32
Errors were encountered while processing:
cgroupfs-mount
E: Sub-process /usr/bin/dpkg returned an error code (1)
Stating that Devuan LXC does not support distros with systemd
and closing this but might be a good idea...
Best regards, Ryutaroh
From: Mark Hindley <mark@???>
Subject: Re: lxc: cannot start Fedora30 and Debian Stretch in LXC containers
Date: Fri, 24 Apr 2020 18:05:47 +0100
> The other thing that occurred to me is whether apparmor is interfering? The
> `Operation not permitted' is suspicious of that.
>
> There is a Debian wontfix bug relating to it: #947863.
>
> Do you have apparmor enabled? If so does disabling it help?
>
> Thanks
>
> Mark