[pkg-lxc-devel] Bug#869892: Using sysv, lxc-start fails while trying to create cgroup
Evgeni Golov
evgeni at debian.org
Sat Oct 21 15:08:42 UTC 2017
Hi,
On Fri, Oct 20, 2017 at 03:09:34PM +0200, Jean-Michel Vourgère wrote:
> > I guess in your case the systemd binary is installed (but not used as
> > init) and thus the dependency did not trigger?
>
> Exactly. cgroupfs-mount was not installed and installing it fixed my issue.
>
> Maybe the dependency could be adjusted?
> What about
> Depends: cgroupfs-mount | systemd-sysv
> ?
>
> When you install sysvinit-core, systemd-sysv gets removed. And vice-versa.
my understanding (and I might be wrong) is that one should not use
sysvinit-core and systemd-sysv in Depends, but their sysvinit and
systemd as these are enough to use them as init (by calling
init=/lib/whatver).
on the other hand, cgroupfs-mount is a noop when systemd is init, so we
could just depend on it, uncoditionally. what do you think?
Evgeni
More information about the Pkg-lxc-devel
mailing list