From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: geokozey@mailfence.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id e6d3b4a6 for ; Sun, 29 Oct 2017 12:19:22 +0000 (UTC) Received: from wilbur.contactoffice.com (wilbur.contactoffice.com [212.3.242.68]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 695dec4e for ; Sun, 29 Oct 2017 12:19:22 +0000 (UTC) From: Geo Kozey To: "Jason A. Donenfeld" , Daniel Kahn Gillmor Message-ID: <801971811.33026.1509279684633@ichabod.co-bxl> In-Reply-To: References: <3a761178-19bc-1d01-b6a8-9fb801312d47@solidadmin.com> <44ac12fe-685b-730e-8afd-e4081daf038d@solidadmin.com> <92b6b9c5-b07c-52fa-a72a-0fc2dcc253bc@solidadmin.com> <87she4fdol.fsf@fifthhorseman.net> <87ineze3x2.fsf@fifthhorseman.net> Subject: Re: Fixing wg-quick's DNS= directive with a hatchet MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Date: Sun, 29 Oct 2017 13:21:24 +0100 (CET) Cc: WireGuard mailing list Reply-To: Geo Kozey List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , October 28, 2017 7:57:06 PM CEST "Jason A. Donenfeld" wrote: >On Oct 28, 2017 5:03 PM, "Daniel Kahn Gillmor" wrote: > >My concern with the resolvconf model (whether implemented by openresolv >or not) is that each daemon that needs to execute resolvconf needs to be >root. > >1) wg-quick isn't a daemon, though openvpn is. > >2) I can think of at least 5 ways to implement a resolvconf binary without requiring root, making your argument moot. There's nothing inherent in the resolvconf model that would require it. > >If you're interested in spending the time implementing this for openresolv, I can spec those out in detail for you. Alternatively, you can just wait for the systemd devs to add a resolvconf for controlling systemd-resolved, if that's the horse you're betting on. FYI you can already change DNS through resolvconf from non-root daemons with correct file permissions or ACLs but that's off-topic. Yours sincerely G. K.