Package: ifupdown
Version: 0.8.44
Severity: normal

Hi - 

When /etc/network/interfaces is configured with the inet6 address family
of type "dhcp" and isc-dhcp-client is used as the DHCP client, DHCPv6
doesn't appear to work properly:

(janeway:20:36:EST)% sudo ifup eth0
Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Can't bind to dhcp address: Cannot assign requested address
Please make sure there is no other dhcp server
running and that there's no entry for dhcp or
bootp in /etc/inetd.conf.   Also make sure you
are not running HP JetAdmin software, which
includes a bootp server.

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging.

exiting.
ifup: failed to bring up eth0
(janeway:20:36:EST)% ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.3.8.98  netmask 255.255.255.252  broadcast 10.3.8.99
        inet6 2620:6:2000:12c:250:56ff:fe1a:aaab  prefixlen 64  scopeid 
0x0<global>
        inet6 fe80::250:56ff:fe1a:aaab  prefixlen 64  scopeid 0x20<link>
        ether 00:50:56:1a:aa:ab  txqueuelen 1000  (Ethernet)
        RX packets 3554  bytes 1100609 (1.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3944  bytes 458573 (447.8 KiB)
        TX errors 0  dropped 1 overruns 0  carrier 0  collisions 0

(janeway:20:36:EST)% systemctl --failed  
  UNIT               LOAD   ACTIVE SUB    DESCRIPTION             
● networking.service loaded failed failed Raise network interfaces

Legend: LOAD   → Reflects whether the unit definition was properly loaded.
        ACTIVE → The high-level unit activation state, i.e. generalization of 
SUB.
        SUB    → The low-level unit activation state, values depend on unit 
type.

1 loaded units listed.

As a result, networking.service is listed failed and the stateful
address from DHCPv6 is never applied to the interface.  If called
manually, the stateful address is correctly applied:

(janeway:20:36:EST)% sudo dhclient -6 eth0
(janeway:20:36:EST)% ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.3.8.98  netmask 255.255.255.252  broadcast 10.3.8.99
        inet6 2620:6:2000:12c:250:56ff:fe1a:aaab  prefixlen 64  scopeid 
0x0<global>
        inet6 fe80::250:56ff:fe1a:aaab  prefixlen 64  scopeid 0x20<link>
        inet6 2620:6:2000:12c::22bb  prefixlen 128  scopeid 0x0<global>    
<<<<------ added, but this should have been there upon ifup eth0
        ether 00:50:56:1a:aa:ab  txqueuelen 1000  (Ethernet)
        RX packets 16967  bytes 3565104 (3.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 17090  bytes 2126654 (2.0 MiB)
        TX errors 0  dropped 1 overruns 0  carrier 0  collisions 0

This used to work for years(?) but now no longer does.  I'm not sure
when it broke, to be honest.

- Mark

-- 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).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 10.3.8.98
        netmask 255.255.255.252
        gateway 10.3.8.97
iface eth0 inet6 dhcp
        accept_ra 1
        autoconf 1

--- up and down scripts installed:
/etc/network/if-down.d:
total 4
lrwxrwxrwx 1 root root  33 Mar  1  2024 bridge -> 
/usr/lib/bridge-utils/ifupdown.sh
-rwxr-xr-x 1 root root 759 Dec  9  2022 resolved

/etc/network/if-post-down.d:
total 0
lrwxrwxrwx 1 root root 33 Mar  1  2024 bridge -> 
/usr/lib/bridge-utils/ifupdown.sh

/etc/network/if-pre-up.d:
total 0
lrwxrwxrwx 1 root root 33 Mar  1  2024 bridge -> 
/usr/lib/bridge-utils/ifupdown.sh

/etc/network/if-up.d:
total 16
-rwxr-xr-x 1 root root  721 Jun 11  2012 lprng
-rwxr-xr-x 1 root root 1129 Mar 10  2024 ntpsec-ntpdate
-rwxr-xr-x 1 root root 4665 Jun 28  2023 resolved


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 6.11.10-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (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.137
ii  iproute2  6.12.0-1
ii  libc6     2.40-3

Versions of packages ifupdown recommends:
ii  isc-dhcp-client [dhcp-client]  4.4.3-P1-5

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

-- debconf information:
  ifupdown/convert-interfaces: true

Reply via email to