GNU bug report logs - #53381
wireguard service can fail on boot by starting before DNS is ready

Previous Next

Package: guix;

Reported by: Nathan Dehnel <ncdehnel <at> gmail.com>

Date: Thu, 20 Jan 2022 03:44:01 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nathan Dehnel <ncdehnel <at> gmail.com>
To: Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Subject: wireguard service can fail on boot by starting before DNS is ready
Date: Wed, 19 Jan 2022 21:42:54 -0600
As shown here on boot:

[#] ip link add test type wireguard
[#] wg setconf test /dev/fd/63
Name or service not known: `<other server FQDN>:51820'
Configuration parsing error
[#] ip link delete dev test
failed to start service 'wireguard-test'

This can cause remote machines to become inaccessible.

Is there an equivalent of systemd-networkd-wait-online.service? Or
perhaps you would accept a patch to enable the "respawn?" service
method, so wireguard will eventually connect once DNS is ready?




This bug report was last modified 3 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.