On Sun, Oct 22, 2017 at 06:34:14PM +0200, Jean-Michel Vourgère wrote: > 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.
Well, this is in principle true but very few packages really care specifically about cgroups, so in this case making lxc depend on cgroupfs-mount uncoditionally works for me.
signature.asc
Description: PGP signature