]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: drop After=systemd-networkd.service from systemd-resolved.service
authorLennart Poettering <lennart@poettering.net>
Tue, 22 Feb 2022 15:21:29 +0000 (16:21 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 22 Feb 2022 21:52:39 +0000 (06:52 +0900)
This ordering existed since resolved was first created, but there should
not be any need to order the two services against each other, as
resolved should be able to pick up networkd DNS metadata either way (as
it works with inotify in /run).

Let's drop this hence, and not cargo-cult this to eternity

Also see: https://github.com/systemd/systemd/pull/22389#issuecomment-1045978403

units/systemd-resolved.service.in

index dfe82e1e4d884e977a9c4a17c5c35c23f01de84f..91e7c141e30aaac89ec8b3317f2c566509f47b30 100644 (file)
@@ -15,7 +15,7 @@ Documentation=https://www.freedesktop.org/wiki/Software/systemd/writing-network-
 Documentation=https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
 
 DefaultDependencies=no
-After=systemd-sysusers.service systemd-networkd.service
+After=systemd-sysusers.service
 Before=network.target nss-lookup.target shutdown.target
 Conflicts=shutdown.target
 Wants=nss-lookup.target