Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Arjen Runsink <arjenrr@gmail.com>
To: wireguard@lists.zx2c4.com, roy@marples.name
Subject: wg-quick invoking resolvectl instead of resolvconf on systems where that is appropriate?
Date: Fri, 01 Nov 2019 00:19:13 +0100	[thread overview]
Message-ID: <1572563954.3.1@gmail.com> (raw)

In response to messages:

https://lists.zx2c4.com/pipermail/wireguard/2019-September/004524.html
https://lists.zx2c4.com/pipermail/wireguard/2019-September/004533.html

The resolvconf implementation on distro's using systemd is not a 
complete replacement of the original resolvconf.

On my preferred distribution (Solus) it even results in some 
strangeness where instead of setting the dns, resolvconf produces the 
status and halts the execution of wg-quick.

My solution is to detect the presence of systemd during build and use a 
modified version of linux.bash that I call linux-systemd.bash which 
uses resolvectl and a changed Makefile to go with it. It is a bit of a 
hack, but if interested, I will gladly send the patch.

Regards, Arjen






_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

             reply	other threads:[~2019-11-27  9:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-31 23:19 Arjen Runsink [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-09-10 18:50 Daniel Kahn Gillmor
2019-09-10 18:52 ` Jason A. Donenfeld
2019-09-10 21:12   ` Daniel Kahn Gillmor
2019-09-10 21:22   ` Michael Biebl
2019-09-11 18:40     ` Roy Marples

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1572563954.3.1@gmail.com \
    --to=arjenrr@gmail.com \
    --cc=roy@marples.name \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).