From 8ec2c5301e794d8431346026714061255bf5ff53 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 30 Jan 2019 18:53:37 +0100 Subject: systemd: wg-quick should depend on nss-lookup.target Since wg-quick(8) calls wg(8) which does hostname lookups, we should probably only run this after we're allowed to look up hostnames. Reported-by: Anton Castelli --- src/tools/systemd/wg-quick@.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/systemd/wg-quick@.service b/src/tools/systemd/wg-quick@.service index da5d787..9c67af9 100644 --- a/src/tools/systemd/wg-quick@.service +++ b/src/tools/systemd/wg-quick@.service @@ -1,7 +1,7 @@ [Unit] Description=WireGuard via wg-quick(8) for %I -After=network-online.target -Wants=network-online.target +After=network-online.target nss-lookup.target +Wants=network-online.target nss-lookup.target Documentation=man:wg-quick(8) Documentation=man:wg(8) Documentation=https://www.wireguard.com/ -- cgit v1.2.3-59-g8ed1b