Your message dated Wed, 23 Apr 2025 09:06:45 +0000
with message-id <e1u7w45-00cb7u...@fasolo.debian.org>
and subject line Bug#1100720: fixed in resolvconf 1.93
has caused the Debian Bug report #1100720,
regarding resolvconf: IPv4 resolvers prioritized over IPv6 when using
dhcpcd-base
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1100720: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100720
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: resolvconf
Version: 1.92
Severity: normal
Tags: ipv6 patch
Dear Maintainer,
When using dhcpcd-base, as is now default with ifupdown, the resolvers
discovered via DHCP are placed above those from RDNSS.
It appears that somewhere along the line dhcpcd changed the filenames used to
render this information.
Namely, DHCP discovered information is written to ${interface}.dhcp and RDNSS
information is written to ${interface}.ra
Since these patterns are not called out in the interface-order file, it falls
through to the glob at the end of the file,
and 'dhcp' comes before 'ra' in alpha sorting.
--
root@minnehaha:~# resolvconf -l
# resolv.conf from eth0.dhcp
nameserver 172.31.3.30
# resolv.conf from eth0.ra
search home.nivex.net int.home.nivex.net
nameserver fd60:e0:a0f4:121::10
root@minnehaha:~# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "resolvectl status" to see details about the actual nameservers.
nameserver 172.31.3.30
nameserver fd60:e0:a0f4:121::10
search home.nivex.net int.home.nivex.net
--
The simplest solution would be to include patterns for '.ra' near their inet6
counterparts.
I have included a patch for this that produces the desired result on my system.
--
root@minnehaha:/tmp# resolvconf -l
# resolv.conf from eth0.ra
search home.nivex.net int.home.nivex.net
nameserver fd60:e0:a0f4:121::10
# resolv.conf from eth0.dhcp
nameserver 172.31.3.30
root@minnehaha:/tmp# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "resolvectl status" to see details about the actual nameservers.
nameserver fd60:e0:a0f4:121::10
nameserver 172.31.3.30
search home.nivex.net int.home.nivex.net
--
However, I think this file is ripe for a larger cleanup effort.
Not only has dhcpcd apparently changed its output format, pump hasn't been a
thing in many years.
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.12+bpo-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages resolvconf depends on:
ii debconf [debconf-2.0] 1.5.89
ii sysvinit-utils [lsb-base] 3.14-3
resolvconf recommends no packages.
resolvconf suggests no packages.
-- debconf information excluded
--- etc/resolvconf/interface-order 2023-11-26 14:18:54.000000000 +0000
+++ /etc/resolvconf/interface-order 2025-03-17 18:24:58.031040855 +0000
@@ -11,21 +11,25 @@
em+([0-9])?(_+([0-9]))*
p+([0-9])p+([0-9])?(_+([0-9]))*
en+([bcosxpP])*([^.]).inet6
+en+([bcosxpP])*([^.]).ra
en+([bcosxpP])*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
en+([bcosxpP])*([^.]).inet
en+([bcosxpP])*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
en+([bcosxpP])*
@(br|eth)*([^.]).inet6
+@(br|eth)*([^.]).ra
@(br|eth)*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
@(br|eth)*([^.]).inet
@(br|eth)*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
@(br|eth)*
wl+([bcosxpP])*([^.]).inet6
+wl+([bcosxpP])*([^.]).ra
wl+([bcosxpP])*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
wl+([bcosxpP])*([^.]).inet
wl+([bcosxpP])*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
wl+([bcosxpP])*
@(ath|wifi|wlan)*([^.]).inet6
+@(ath|wifi|wlan)*([^.]).ra
@(ath|wifi|wlan)*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
@(ath|wifi|wlan)*([^.]).inet
@(ath|wifi|wlan)*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
--- End Message ---
--- Begin Message ---
Source: resolvconf
Source-Version: 1.93
Done: Andrej Shadura <andre...@debian.org>
We believe that the bug you reported is fixed in the latest version of
resolvconf, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1100...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrej Shadura <andre...@debian.org> (supplier of updated resolvconf package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 23 Apr 2025 09:46:18 +0200
Source: resolvconf
Architecture: source
Version: 1.93
Distribution: unstable
Urgency: medium
Maintainer: resolvconf team <team+resolvc...@tracker.debian.org>
Changed-By: Andrej Shadura <andre...@debian.org>
Closes: 958045 1033457 1039696 1085994 1100720 1103939
Changes:
resolvconf (1.93) unstable; urgency=medium
.
[ Carles Pina i Estany ]
* Added po-debconf Catalan translation (Closes: #1103939).
.
[ Guillem Jover ]
* Add a debian/.gitignore file.
* Do not hardcode absolute pathnames to third-party commands.
* Fully move files from «/» to canonical «/usr» locations.
.
[ Kevin Otte ]
* Prioritize IPv6 resolvers when using dhcpcd-base (Closes: #1100720)
and rdnssd (Closes: #1100720).
.
[ Wolfgang ]
* Honor dns-options for creating resolv.conf (Closes: #958045, #1085994)
.
[ Andrej Shadura ]
* Remove the confusing comment about resolvectl from the resolv.conf header
(Closes: #1039696)
.
[ Remus-Gabriel Chelu ]
* Add Romanian debconf templates translation of resolvconf (Closes: #1033457)
Checksums-Sha1:
5a690bec4d92e97d282aa8e9dedde8193198f509 1218 resolvconf_1.93.dsc
eacd852c0a08438cdf03b3c2ea23cf7bd33d1b2c 78072 resolvconf_1.93.tar.xz
Checksums-Sha256:
134f1f31a82aafe4e53a676996926fa4a8536c6755555df2386eaa9c8c11c9ba 1218
resolvconf_1.93.dsc
0ecc034a74410968819fe378a07056350cf286cc20c3ddfc476ca7a5c1267923 78072
resolvconf_1.93.tar.xz
Files:
3047d3f23aed0e467051f5ec110cf486 1218 net optional resolvconf_1.93.dsc
c9ad3d9dd82fb2f3a21af11cf4e5fc4c 78072 net optional resolvconf_1.93.tar.xz
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCaAibAwAKCRDoRGtKyMdy
YczTAP9nKPHulizgcxpl9JcJQfsrOZlBbFgJFh6hGl4QUfhVDgD/RUv0TaIjOpcU
1t1NoW5wRx2WRvj0NmHmowF8RTJ3bwk=
=eXTI
-----END PGP SIGNATURE-----
pgpU8sab4brK4.pgp
Description: PGP signature
--- End Message ---