From 4bc6ef00898e3c5fb1e9f4ddc5f71006e0045a7d Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 30 Jan 2019 18:53:37 +0100 Subject: [PATCH] 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 Signed-off-by: Jason A. Donenfeld --- src/systemd/wg-quick@.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systemd/wg-quick@.service b/src/systemd/wg-quick@.service index da5d787..9c67af9 100644 --- a/src/systemd/wg-quick@.service +++ b/src/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/