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... :(

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to