[pkg-lxc-devel] Bug#869892: Using sysv, lxc-start fails while trying to create cgroup

Jean-Michel Vourgère nirgal at debian.org
Sun Oct 22 16:34:14 UTC 2017


On Saturday, 21 October 2017 17:08:42 CEST Evgeni Golov wrote:
> 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?

That works for me.

In my opinion, both init systems should provide a system in the same state. 
The issue is womewhat larger than lxc, and we should probably ask outside for 
a proper fix. But I fear there still is a lot of stress around, with the new 
default init system, and I am tired just thinking about geting into that topic 
again... :(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-lxc-devel/attachments/20171022/01b332c4/attachment.sig>


More information about the Pkg-lxc-devel mailing list