[systemd-devel] DefaultDependencies=false on scopes

Brandon Philips brandon at ifup.co
Tue Feb 3 21:03:36 PST 2015


Hey Lennart-

On Tue, Feb 3, 2015 at 10:32 AM, Brandon Philips <brandon at ifup.co> wrote:
> On Tue, Feb 3, 2015 at 10:20 AM, Lennart Poettering
> <lennart at poettering.net> wrote:
>> I have added DefaultDependencies= for you now:
>>
>> http://cgit.freedesktop.org/systemd/systemd/commit/?id=261420ba2a20305ad271b6f5f380aa74c5c9dd50
>
> Thank you. I will work on getting Docker fixed up to fix this annoying behavior.

So, is this the best way to tell if the systemd I am working with
supports setting this property on a scope?
https://github.com/philips/libcontainer/blob/systemd-default-dependencies-false/cgroups/systemd/apply_systemd.go#L74

Essentially I am trying to create a scope and seeing if I get a
PropertyReadOnly, if I do I don't set it.

For reference the PR is: https://github.com/docker/libcontainer/pull/359

Thanks,

Brandon


More information about the systemd-devel mailing list