Package: dhcpcd
Version: 1:10.1.0-11
Severity: normal

I connect to a network and immediately run "resolvectl" and see the following:

Link 3 (wifi)
    Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
         Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.0.17
       DNS Servers: 192.168.0.17
        DNS Domain: REDACTED
     Default Route: yes

I run it again a couple of seconds later and that is gone.  I add it again
manually with the command "resolvectl dns wifi 192.168.0.17" and it is good
for a second or two and then goes away again.  The only way I can keep it
going is using watch(1) to repeatedly run resolvectl to keep adding it back
as dhcpcd keeps removing it.  It was not obvious that dhcpcd was doing this
in the background.  Also it doesn't happen on all networks for unknown
reasons, it seems to happen with isc-dhcp-server but not with kea but I have
a small sample size.

dhcpcd should do at least one of the following:

1) Take the same DNS data from dhcp as network-manager and use the same
settings.
2) Realise that something else configured an interface and do nothing with it.
3) Not be run by default on all interfaces.

-- System Information:
Debian Release: 13.0
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.27-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages dhcpcd depends on:
ii  dhcpcd-base                1:10.1.0-11
ii  lsb-base                   11.6
ii  sysvinit-utils [lsb-base]  3.14-4

Versions of packages dhcpcd recommends:
ii  wpasupplicant  2:2.10-24

Versions of packages dhcpcd suggests:
pn  dhcpcd-gtk  <none>

-- Configuration Files:
/etc/init.d/dhcpcd [Errno 13] Permission denied: '/etc/init.d/dhcpcd'

-- debconf-show failed

Reply via email to