Package: ifupdown
Version: 0.8.44
Severity: important
Tags: ipv6

Dear Maintainer,

Interfaces documentation page for testing still mentions the stateless DHCPv6 
option availability when using inet6 auto.
This should use DHCPv6 to obtain things like DNS and NTP servers from DHCPv6 
while using autoconfigured v6 address for the interface.

Since deprecation of isc-dhcp-client and replacement with dhcpd-base, this no 
longer seems to work. With following configuration:

auto eth2
iface eth2 inet6 auto
    dhcp 1

Networking service fails to start with following errors:

Jul 29 06:17:13 debian13-test ifup[1344]: No DHCPv6 client software found!
Jul 29 06:17:13 debian13-test ifup[1233]: ifup: failed to bring up eth2
Jul 29 06:17:13 debian13-test systemd[1]: networking.service: Main process 
exited, code=exited, status=1/FAILURE
Jul 29 06:17:13 debian13-test dhcpcd[1246]: received SIGTERM, stopping
Jul 29 06:17:13 debian13-test dhcpcd[1246]: eth0: removing interface
Jul 29 06:17:13 debian13-test dhcpcd[1294]: received SIGTERM, stopping
Jul 29 06:17:13 debian13-test dhcpcd[1294]: eth1: removing interface
Jul 29 06:17:13 debian13-test dhcpcd[1246]: script_status: 
/usr/lib/dhcpcd/dhcpcd-run-hooks: Terminated
Jul 29 06:17:13 debian13-test dhcpcd[1294]: script_status: 
/usr/lib/dhcpcd/dhcpcd-run-hooks: Terminated
Jul 29 06:17:13 debian13-test dhcpcd[1294]: dhcpcd exited
Jul 29 06:17:13 debian13-test dhcpcd[1246]: dhcpcd exited
Jul 29 06:17:13 debian13-test systemd[1]: networking.service: Failed with 
result 'exit-code'.
Jul 29 06:17:13 debian13-test systemd[1]: Failed to start networking.service - 
Raise network interfaces.

This also causes the v4 dhcp interfaces to break after lease expires which 
makes it worse, but the root cause is stateless DHCPv6 not working properly. 
Same error can be seen while using ifup manually.

Simply installing the deprecated isc-dhcp-client fixes this so either the 
documentation is not updated or dhcpd-base isn't a drop-in replacement for 
isc-dhcp-client.

-- Package-specific info:
--- /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

--- /etc/network/interfaces.d/*:
auto lo
iface lo inet loopback
    dns-nameservers <redacted>

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

auto eth2
iface eth2 inet6 auto
    dhcp 1

--- up and down scripts installed:
/etc/network/if-down.d:
total 4
-rwxr-xr-x 1 root root 759 Aug 20  2024 resolved

/etc/network/if-post-down.d:
total 0

/etc/network/if-pre-up.d:
total 0

/etc/network/if-up.d:
total 8
-rwxr-xr-x 1 root root 4665 Aug 20  2024 resolved


-- System Information:
Debian Release: 13.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.35+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)
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 ifupdown depends on:
ii  adduser   3.152
ii  iproute2  6.15.0-1
ii  libc6     2.41-10

Versions of packages ifupdown recommends:
ii  dhcpcd-base [dhcp-client]  1:10.1.0-11

Versions of packages ifupdown suggests:
pn  ppp     <none>
pn  rdnssd  <none>

-- no debconf information

Reply via email to