On Thu, Mar 17, 2011 at 3:04 AM, 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.
>

yet another undocumented magic ...

> (We currently do not document what DefaultDependencies= actually means
> for the specific unit types. We probably should...)
>

Yes, please.

BTW I remember there were other magic directories besides xxx.wanted,
should not they be documented as well? Are they also handled by
"systemctl enable/disable"?
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to