Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Pavel Raiskup
On Wednesday 17 of September 2014 20:58:02 Andrei Borzenkov wrote: > Huh? Argh! .. and finally, thanks a lot for your exmaple. I iterated into the sitation that this is not about .include. Probably due to some false premise or testing result, I lived in false feeling that the .include is _the tr

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Pavel Raiskup
On Wednesday 17 of September 2014 20:44:38 Andrei Borzenkov wrote: > В Wed, 17 Sep 2014 18:29:35 +0200 > Pavel Raiskup пишет: > > > On Wednesday 17 of September 2014 20:06:50 Andrei Borzenkov wrote: > > > В Wed, 17 Sep 2014 13:40:11 +0200 > > > Pavel Raiskup п

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Pavel Raiskup
On Wednesday 17 of September 2014 20:06:50 Andrei Borzenkov wrote: > В Wed, 17 Sep 2014 13:40:11 +0200 > Pavel Raiskup пишет: > > > On Wednesday 17 of September 2014 11:50:08 Zbigniew Jędrzejewski-Szmek > > wrote: > > > On Wed, Sep 17, 2014 at 08:52:0

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-17 Thread Pavel Raiskup
On Wednesday 17 of September 2014 11:50:08 Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Sep 17, 2014 at 08:52:00AM +0200, Pavel Raiskup wrote: > > Thanks, I agree, and yet another rule on top of that -- the /usr/lib > > dropins _are ignored_ if /etc service overriding the

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-16 Thread Pavel Raiskup
On Wednesday 17 of September 2014 01:33:02 Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Sep 16, 2014 at 05:07:06PM +0200, Pavel Raiskup wrote: > > > for example > > > tmpfiles.d/systemd.conf and tmpfiles.d/systemd-nologin.conf are split > > > exactly for the purpose o

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-16 Thread Pavel Raiskup
On Tuesday 16 of September 2014 16:42:32 Jóhann B. Guðmundsson wrote: > On 09/16/2014 01:16 PM, Zbigniew Jędrzejewski-Szmek wrote: > > This would change the way that drop-ins work. Your model is not > > necessarily worse, but dropins have been the advertised way to do > > overiddes for a while, and

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-16 Thread Pavel Raiskup
On Tuesday 16 of September 2014 16:41:49 Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Sep 16, 2014 at 04:35:50PM +0200, Pavel Raiskup wrote: > > This should not be a revert. Just make it properly defined? > > It was already properly defined, maybe just not explicitly documented

Re: [systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-16 Thread Pavel Raiskup
This is reply to both Tomasz and Zbigniew, thanks for reactions! On Tuesday 16 of September 2014 16:14:16 Tomasz Torcz wrote: > On Tue, Sep 16, 2014 at 03:16:12PM +0200, Zbigniew Jędrzejewski-Szmek wrote: > > On Tue, Sep 16, 2014 at 01:21:30PM +0200, Pavel Raiskup wrote: > > > I

[systemd-devel] Prioritize the /etc configuration over /usr/lib also with .include

2014-09-16 Thread Pavel Raiskup
Hi, consider the situation that admin has /etc/systemd/system/a.service, which includes via .include the /usr/lib/systemd/system/a.service. Then in our case there exists also packaged /usr/lib/systemd/system/a.service.d/ with existing drop-in. In this case - the setup from /etc/ is beaten by dro