From: Lennart Poettering Date: Tue, 22 Feb 2022 15:21:29 +0000 (+0100) Subject: units: drop After=systemd-networkd.service from systemd-resolved.service X-Git-Tag: v251-rc1~239 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b547838000ad640dfd86618202c67680119383a5;p=thirdparty%2Fsystemd.git units: drop After=systemd-networkd.service from systemd-resolved.service 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 --- diff --git a/units/systemd-resolved.service.in b/units/systemd-resolved.service.in index dfe82e1e4d8..91e7c141e30 100644 --- a/units/systemd-resolved.service.in +++ b/units/systemd-resolved.service.in @@ -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