GNU bug report logs - #72072
gnu: isc-dhcp: Patch dhclient to support resolvconf.

Previous Next

Package: guix-patches;

Reported by: "B. Wilson" <elaexuotee <at> wilsonb.com>

Date: Fri, 12 Jul 2024 09:51:01 UTC

Severity: normal

To reply to this bug, email your comments to 72072 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#72072; Package guix-patches. (Fri, 12 Jul 2024 09:51:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "B. Wilson" <elaexuotee <at> wilsonb.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 12 Jul 2024 09:51:01 GMT) Full text and rfc822 format available.

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

From: "B. Wilson" <elaexuotee <at> wilsonb.com>
To: guix-patches <at> gnu.org
Subject: gnu: isc-dhcp: Patch dhclient to support resolvconf.
Date: Fri, 12 Jul 2024 18:50:39 +0900
[Message part 1 (text/plain, inline)]
Hey Guix,

This patch updates libexec/dhclient-script to use resolvconf instead of
directly editing /etc/resolv.conf, similar to dhcpcd and friends.

This allows dhclient to play nicely with other clients which may want to
contend for /etc/resolv.conf control. My particular use case is running a local
dnsmasq instance, configured to allow using the various DNS servers of multiple
simultaneous VPN connections.

Ideally, this would be an upstream patch, but ISC announced end of maintenance
in 2022, so until we migrate dhcp-client-service-type to something else, I
believe it makes sense to have the patch here.

Using a bare-bones.scm VM, I have confirmed that this transparently works in
the default case where no /etc/resolvconf.conf is setup. In a separate patch, I
will be sharing my resolvconf-service-type definition that enables the dnsmasq
integration I mention.

Note, however, that switching to this via a system reconfigure has the
possibility of nuking DNS until the next time dhclient tries to update them.
Simply restarting the networking service is enough to force this, though.

Thoughts?

[0001-gnu-isc-dhcp-Patch-dhclient-to-support-resolvconf.patch (text/x-diff, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#72072; Package guix-patches. (Fri, 12 Jul 2024 10:40:02 GMT) Full text and rfc822 format available.

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

From: "B. Wilson" <elaexuotee <at> wilsonb.com>
To: 72072 <at> debbugs.gnu.org
Subject: Re: gnu: isc-dhcp: Patch dhclient to support resolvconf.
Date: Fri, 12 Jul 2024 19:38:55 +0900
[Message part 1 (text/plain, inline)]
The attachment in the original message seems to have the incorrect mime type.
Trying again.

[0001-gnu-isc-dhcp-Patch-dhclient-to-support-resolvconf.patch (text/x-patch, attachment)]

This bug report was last modified 57 days ago.

Previous Next


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