GNU bug report logs -
#72072
gnu: isc-dhcp: Patch dhclient to support resolvconf.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#72072: gnu: isc-dhcp: Patch dhclient to support resolvconf.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 72072 <at> debbugs.gnu.org.
--
72072: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72072
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi,
"B. Wilson" <elaexuotee <at> wilsonb.com> skribis:
> From c96e6489117b2087db86161cc2b3fe0e813ac09f Mon Sep 17 00:00:00 2001
> From: "B. Wilson" <elaexuotee <at> wilsonb.com>
> Date: Fri, 12 Jul 2024 18:03:48 +0900
> Subject: [PATCH] gnu: isc-dhcp: Patch dhclient to support resolvconf.
>
> * gnu/packages/patches/dhclient-script-resolvconf-support.patch: New patch.
> * gnu/local.mk (dist_patch_DATA): Add it.
> * gnu/packages/admin.scm (isc-dhcp): Patch dhclient-script and update wrapper.
Finally applied, thanks!
Ludo’.
[Message part 3 (message/rfc822, inline)]
[Message part 4 (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)]
This bug report was last modified 181 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.