mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
units: systemd-resolved should start before network-online.target and nss-lookup.target (#5691)
systemd-resolved provides 1. local API via NSS and D-Bus 2. kind of a local "DNS proxy" through its stub listener The 1st item should be started before nss-lookup.target. The 2nd item should be started before network-online.target, because if the networking works in general, then DNS (and DNS proxy) should too. Fixes #5650
This commit is contained in:
parent
c8b2118405
commit
3e06055500
|
@ -12,6 +12,8 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/resolved
|
|||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
|
||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
|
||||
After=systemd-networkd.service network.target
|
||||
Before=network-online.target nss-lookup.target
|
||||
Wants=nss-lookup.target
|
||||
|
||||
# On kdbus systems we pull in the busname explicitly, because it
|
||||
# carries policy that allows the daemon to acquire its name.
|
||||
|
|
Loading…
Reference in a new issue