Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-23 Thread Andrey Borzenkov
On Fri, Mar 18, 2011 at 3:06 PM, Mike Kazantsev mk.frag...@gmail.com wrote: On Fri, 18 Mar 2011 14:11:47 +0300 Andrey Borzenkov arvidj...@mail.ru wrote: On Fri, Mar 18, 2011 at 8:31 AM, Mike Kazantsev mk.frag...@gmail.com wrote: That'd make all the systems with currently enabled services

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-23 Thread Andrey Borzenkov
On Wed, Mar 23, 2011 at 7:44 PM, Mike Kazantsev mk.frag...@gmail.com wrote: On Wed, 23 Mar 2011 15:35:35 +0300 Andrey Borzenkov arvidj...@mail.ru wrote: On Fri, Mar 18, 2011 at 3:06 PM, Mike Kazantsev mk.frag...@gmail.com wrote: On Fri, 18 Mar 2011 14:11:47 +0300 Andrey Borzenkov

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-18 Thread Andrey Borzenkov
On Fri, Mar 18, 2011 at 8:31 AM, Mike Kazantsev mk.frag...@gmail.com wrote: On Fri, 18 Mar 2011 00:34:19 +0100 Lennart Poettering lenn...@poettering.net wrote: But what about the other direction? We definitely want network.target in the boot transaction if NM or network.service is part of it

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-18 Thread Mike Kazantsev
On Fri, 18 Mar 2011 14:11:47 +0300 Andrey Borzenkov arvidj...@mail.ru wrote: On Fri, Mar 18, 2011 at 8:31 AM, Mike Kazantsev mk.frag...@gmail.com wrote: That'd make all the systems with currently enabled services in network.target.wants misconfigured - network should fail on these unless

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-17 Thread Andrey Borzenkov
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

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-17 Thread Andrey Borzenkov
On Thu, Mar 17, 2011 at 11:06 AM, Mike Kazantsev mk.frag...@gmail.com wrote: On Thu, 17 Mar 2011 01:04:35 +0100 Lennart Poettering lenn...@poettering.net wrote: If DefaultDependencies= is yes (which it is by default) for target units then they'll automatically gain an After= for all untis they

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-17 Thread Andrey Borzenkov
On Thu, Mar 17, 2011 at 1:59 PM, Mike Kazantsev mk.frag...@gmail.com wrote: On Thu, 17 Mar 2011 12:41:34 +0300 Andrey Borzenkov arvidj...@mail.ru wrote: On Thu, Mar 17, 2011 at 11:06 AM, Mike Kazantsev mk.frag...@gmail.com wrote: On Thu, 17 Mar 2011 01:04:35 +0100 Lennart Poettering

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-17 Thread Mike Kazantsev
On Thu, 17 Mar 2011 14:32:26 +0300 Andrey Borzenkov arvidj...@mail.ru wrote: On Thu, Mar 17, 2011 at 1:59 PM, Mike Kazantsev mk.frag...@gmail.com wrote: On Thu, 17 Mar 2011 12:41:34 +0300 Andrey Borzenkov arvidj...@mail.ru wrote: On Thu, Mar 17, 2011 at 11:06 AM, Mike Kazantsev

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 14:32, Andrey Borzenkov (arvidj...@mail.ru) wrote: Ah, I missed the target units part, but even then Requires=network.target + After=network.target is a common enough pattern for services that need network to be up at startup and After= line is present in each one of

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 12:39, Andrey Borzenkov (arvidj...@mail.ru) wrote: (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

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 23:28, Lennart Poettering (lenn...@poettering.net) wrote: (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.

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-17 Thread Lennart Poettering
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

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-17 Thread Mike Kazantsev
On Fri, 18 Mar 2011 00:34:19 +0100 Lennart Poettering lenn...@poettering.net wrote: But what about the other direction? We definitely want network.target in the boot transaction if NM or network.service is part of it too. Because only then the network consuming services can be synchronized

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-12 Thread Andrey Borzenkov
On Sat, Mar 12, 2011 at 1:00 PM, Andrey Borzenkov arvidj...@mail.ru wrote: On Sat, Mar 12, 2011 at 3:14 AM, Michael Biebl mbi...@gmail.com wrote: 2011/3/12 Michael Biebl mbi...@gmail.com: 2011/3/11 Andrey Borzenkov arvidj...@mail.ru: On Fri, Mar 11, 2011 at 9:10 PM, Mike Kazantsev