[systemd-devel] DefaultDependencies=false on scopes

Lennart Poettering mztabzr at 0pointer.de
Wed Feb 4 04:13:39 PST 2015


On Tue, 03.02.15 21:03, Brandon Philips (brandon at ifup.co) wrote:

> 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

Hmm, I figure I am not hipster enough to read this Go code...

But yeah, if you check for ReadOnlyProperty when putting together a
scope, that sounds like an OK check.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list