[systemd-devel] Another attempt: Making dependencies properly overridable

Dimitri John Ledkov dimitri.j.ledkov at intel.com
Thu Apr 23 17:58:18 PDT 2015


On 23 April 2015 at 14:58, Christian Seiler <christian at iwakd.de> wrote:
> On 04/23/2015 08:36 PM, Lennart Poettering wrote:
>> I mean, so far the deps we set are combined from:
>>
>>           unit file                          (1)
>>         + dropins                            (2)
>>         + .wants/ + .requires/ symlinks      (3)
>>         + automatic deps                     (4)
>>         + deps configured in other units     (5)
>>
>> I'd allow unsetting deps configured in (1) from (1), (2) and (3). I'd
>> allow unsetting deps configured in (2) from (2) and (3). I'd allow
>> unsetting deps made in (3) from (3).
>>
>> I would not allow unsetting deps made in (1,2,3) with (4) or (5), or
>> vice versa.
>
> That makes sense, I'll incorporate that.

I like this as well.

-- 
Regards,

Dimitri.
Pura Vida!

https://clearlinux.org
Open Source Technology Center
Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ.


More information about the systemd-devel mailing list