[systemd-devel] Issues with docker systemd cgroups integration
Mrunal Patel
mpatel at redhat.com
Tue Mar 15 17:13:54 UTC 2016
On Tue, Mar 15, 2016 at 10:01 AM, Michal Sekletar <msekleta at redhat.com>
wrote:
> On Tue, Mar 15, 2016 at 5:42 PM, Mrunal Patel <mpatel at redhat.com> wrote:
> >
> >
> >
> >> >
> >> > docker.io did that too three weeks ago:
> >> >
> >> > https://github.com/docker/docker/commit/65820132
> >>
> >> This seems odd. I thought you primarily want to enable delegation for
> >> scope units wrapping processes which constitute your container and not
> >> for the container manager itself. For example, on Fedora 23
> >> libvirtd.service doesn't have Delegate=yes. However libvirtd registers
> >> VMs as machines in machined. And machined will take care for creating
> >> scope unit and it also sets Delegate=yes for the scope.
> >>
> > Yes, this is the model we have. So, it looks like we should set
> Delegate=yes
> > for the scope. Last time I tried, I got some errors from the API.
> > I will try again and respond back on this thread.
>
> You can have a look at our C implementation and re-implement it in Go.
>
>
> https://github.com/systemd/systemd/blob/master/src/machine/machined-dbus.c#L1277
>
> Thanks Michal,
I created a patch setting Delegate to true and it seems to be working. We
will need to see how the new version behaves on Openshift builds where this
problem was originally reported.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160315/9595f778/attachment.html>
More information about the systemd-devel
mailing list