On Thu, 17.03.11 23:28, Lennart Poettering (lenn...@poettering.net) wrote:

> On Thu, 17.03.11 13:06, Mike Kazantsev (mk.frag...@gmail.com) wrote:
> 
> > On Thu, 17 Mar 2011 01:04:35 +0100
> > Lennart Poettering <lenn...@poettering.net> wrote:
> > 
> > > On Wed, 16.03.11 14:39, Andrey Borzenkov (arvidj...@mail.ru) wrote:
> > > 
> > > > > Or is rsyslog expected to provide a symlink in syslog.target.wants?
> > > > >
> > > > 
> > > > This is really orthogonal. As Lennart commented, it may be sensible to
> > > > do both. But this symlink does not ensure syslog is actually started
> > > > before syslog.target.
> > > 
> > > Well, actually there is.
> > > 
> > > If DefaultDependencies= is "yes" (which it is by default) for target
> > > units then they'll automatically gain an After= for all untis they have
> > > Wants= or Requires= on.
> > > 
> > > (We currently do not document what DefaultDependencies= actually means
> > > for the specific unit types. We probably should...)
> > > 
> > 
> > Can this behavior be relied upon or this might change in future
> > releases?
> 
> Yes.

Hah, turns out this is actually already documented, in systemd.target(5)
where it should be. So yupp, it's so reliable, that this is already
documented since a while ;-)

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to