[prev in list] [next in list] [prev in thread] [next in thread] 

List:       systemd-devel
Subject:    Re: [systemd-devel] Antw: Re: confusing message "systemd[1]: nss-lookup.target: Dependency Before=ns
From:       Andrei Borzenkov <arvidjaar () gmail ! com>
Date:       2020-01-18 10:34:04
Message-ID: 6bae3f99-1c48-c5cb-bafc-cd7f7125f786 () gmail ! com
[Download RAW message or body]

15.01.2020 10:14, Ulrich Windl пишет:
>>>> Andrei Borzenkov <arvidjaar@gmail.com> schrieb am 14.01.2020 um 20:08 in
> Nachricht <a84b6282-31bb-7677-01fb-e46a39ac9a85@gmail.com>:
>> 14.01.2020 10:57, Ulrich Windl пишет:
>>> Hi!
>>>
>>> I see the message
>>> systemd[1]: nss-lookup.target: Dependency Before=nss-lookup.target dropped
>>> several times, wondering:
>>>
>>> Does it say "nss-lookup.target" has a dependency "Before=nss-lookup.target"
> 
>> that was dropped, or is the first argument simply the wrong unit being 
>> displayed? It's systemd 228 of SLES 12 SP4.
>>>
>>
>> this is private SUSE patch so wrong list. But if you want to fix it -
> 
> Why is this the wrong list? I want to understand what's going on inside
> systemd.
> 

This message is result of downstream patch; generator that adds this
dependency is using private configuration file unrelated to systemd. So
nothing is going on inside systemd and unless you hit someone familiar
with SUSE code base you also won't get information on upstream list.

>> edit /etc/insserv.conf and delete +named from $named line. It is not
>> really the fix, more a workaround, but this entry was non-functional
>> anyway so it simply eliminates extra noise.
> 
> As the system in question does not have named installed, I wonder what's going
> on.
> 

https://github.com/openSUSE/systemd/blob/SLE12/src/insserv-generator/insserv-generator.c

> The man page systemd.special(7) explains: "systemd automatically adds
> dependencies of type
> After= for this target unit to all SysV init script service units with an LSB
> header referring to the "$named" facility."
> 
> So does that mean some LSB script in turn depends on nss-lookup.target?
> 
> How could I query "what depends on nss-lookup.target?" amd "what contributes
> to nss-lookup.target?"?
> 
>>
>>> It's hard to believe a unit has a Before= dependency on itself.
>>> Looking into the unit directly, I cannot see such a direct dependency.
>>> Or is it "Artificial intelligence biting in its own tail"?
>>>
>>> Regards,
>>> Ulrich
>>>
>>>
>>>
>>> _______________________________________________
>>> systemd-devel mailing list
>>> systemd-devel@lists.freedesktop.org 
>>> https://lists.freedesktop.org/mailman/listinfo/systemd-devel 
>>>
>>
>> _______________________________________________
>> systemd-devel mailing list
>> systemd-devel@lists.freedesktop.org 
>> https://lists.freedesktop.org/mailman/listinfo/systemd-devel 
> 
> 
> 

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic