[pkg-lxc-devel] Bug#869892: Using sysv, lxc-start fails while trying to create cgroup
Antonio Terceiro
terceiro at debian.org
Mon Oct 23 13:54:23 UTC 2017
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lxc-devel/attachments/20171023/ddab9136/attachment.sig>
More information about the Pkg-lxc-devel
mailing list