#1006263 ifupdown: outdated DHCP client support

Package:
ifupdown
Source:
ifupdown
Description:
high level tools to configure network interfaces
Submitter:
Martin-Éric Racine
Date:
2026-01-10 11:39:41 UTC
Severity:
important
#1006263#5
Date:
2022-02-22 08:44:21 UTC
From:
To:
DHCP support in ifupdown is severely outdated:

1) The interfaces(5) manual page states that:

DHCPv4 support: "dhclient, pump, udhcpc, dhcpcd. (They have been listed in their order of precedence.)"

$ LC_ALL=C apt-cache search dhcp | grep client | grep -v dbgsym | grep -v dev | sort
dhcpcanon - DHCP client disclosing less identifying information
dhcpcd5 - DHCPv4, IPv6RA and DHCPv6 client with IPv4LL support
dibbler-client-dbg - portable DHCPv6 client
dibbler-client - portable DHCPv6 client
isc-dhcp-client-ddns - Dynamic DNS (DDNS) enabled DHCP client
isc-dhcp-client - DHCP client for automatically obtaining an IP address
openstack-cluster-installer-cli - automatic PXE and puppet-master installer for OpenStack - API client
udhcpc - Provides the busybox DHCP client implementation
wide-dhcpv6-client - DHCPv6 client for automatic IPv6 hosts configuration

Two of the DHCP clients supported by ifupdown no longer are in the archive (pump, dhcpd). The later may have been replaced by dhcpcd5, but the man page isn't clear on whether this is supported. The man page probably needs to be updated.

DHCPv6 support: The man page suggests that only dhclient is supported. However wide-dhcpv6-client is mentioned earlier as possibly providing its own hooks. The man page probably needs to be updated.

2) Upstream will discontinue the ISC DHCP codebase by the end of 2022.

a) ifupdown will have to implement support for some of the alternatives listed at <https://www.isc.org/blogs/dhcp-client-relay-eom/> before Bookworm is released.

b) Debian will have to select a replacement for isc-dhcp-client as its stock Priority:Important DHCP client to ship. By all counts, dhcpcd5 seems to have the best potential for this. However, I find its "Recommends: openresolv | resolvconf" excessive. This should be Suggests at most.

Best Regards,

Martin-Éric
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmIUol0ACgkQrh+Cd8S0
17aAixAAulfokE5RvGPvqd03nhMlCmOqpJKp9iYf+fl9MhqXwSl826vvIlFPRRHT
VBWnK3PYn4wnwzr3RiP9ewrt/zUhCfof1VQmIFAdj270mAhoDbDhhzAfEQNJIHdT
7jNpEc67mmwwzr0sQylzpyEpa5Had3IXXok7jrSm7ooB5Ux0mNzoju0A/a3u/NMo
xp9b9foi0/I3vJf0X5jS0KDmKAHgg0iKPrEAQ3nX1u6DaUJOjjl+Mqk8CV1v7qEL
SF9YW0taKBIYh9gCyql/xlMkEZgzu7C2XYxbIbeGAJHh+eO2g84M5vKI3m0xeV7n
iLHEkQfQAzD56lMFJeLSDKLIRZ+qvE5fGpugZcRI+kOUc29Snbo8/tnRJWj2HVUe
DSW9Za2g5Mdj3mYwRiMAvNmUNOzSFSDsDHMeen2gcXHBmwlfpbh4WWMCa8XYbopT
MJ5q3JFQVP+hM3GEc8iaExrACfMTrU9Ec5TYkt+InyMr9zQKjYSaWU87KNoakIzy
sL+cIuFgkERzsrSuc/3lSuVYfizx53BW+HcSbJd7cYxJbuRaYc7SmJbO1kxsiOsz
H2NHsFtTzJbT27ZlklVOtIrdgQTAM7j2u9QChZ5aqBT0881zZMdYoh7/rqXw6GLT
679PlPwFw6wCO2U0Or1/YegmTzIli0V6wtjJ2868IiBT0rGXpM8=
=ZZ+0
-----END PGP SIGNATURE-----

#1006263#10
Date:
2023-05-15 11:17:40 UTC
From:
To:
This is still broken.

"dhclient, udhcpc, dhcpcd. (They have been listed in their order of precedence.)"

This really is a problem if someone wants to use udhcpc or dhcpcd, because dhclient is installed by default, so it always gets used. ifupdown really needs a way to configure the precedence order.

Martin-Éric

- -- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'testing')
Architecture: i386 (i586)

Kernel: Linux 6.1.0-9-686 (SMP w/1 CPU thread; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ifupdown depends on:
ii  adduser   3.132
ii  iproute2  6.1.0-2
ii  libc6     2.36-9

Versions of packages ifupdown recommends:
ii  dhcpcd-base [dhcp-client]  9.4.1-21

Versions of packages ifupdown suggests:
ii  ppp     2.4.9-1+1.1+b1
pn  rdnssd  <none>

- -- debconf information:
  ifupdown/convert-interfaces-hotplug: true
  ifupdown/convert-interfaces: true
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmRiFM8ACgkQrh+Cd8S0
17Y3ew/+I9vIEaWsvooZH/KDmfF57pEoTWXUEVmv1SXuRLqmdwGNYIRNU3upAmlx
S4bJVoURk/W5c9iGk2K94YCYZZtMeFmvVObriXbV1q+DpnMLpX4DoS395A/jzzYH
ulRS8f7vNntnDwYFC38qA9+FLGa5K8S8KER/EGIRqG5aBiy8I2isM+Bo88ADr4rk
2lgaBb05Vc/YQnYMWkJyaPv7/d1ggaZMOLhwaQn0jm/OUcP/On+VwLmdsvGxo85R
gYUL6gR9DFI34xns0u7SPlcHG8hHTtc+fBbXxrz0OGWIU038pverKr93nf0ipf7q
OxkyurRXNHVNT4GiD/QRPzEC3h38dyXdDlW5vjoU5dUv7wiQ6Zo1w9kxpUBof3na
GyeINpyhj7vr7q3JeC/+k3VcXVcspnqrBt1ykoEG8iEF75FvlBTcdJA10EnXVOW1
ckNyLwkhZEEs8ARYXmrTjqGUlTsNll+LY8lSosB5pG0SPPMmvDubcENZaNymeeYc
ZDUl8Y66wZpQ+04pkx39Ua5WIPyJbXh6PvhsDFS+owOJrUG176XM5KKrvWwO6IRt
VGbIHYQV4iNIV/u5gB36NIdoYPWWj1Lctzyd5X745pEpK/xgU122tiZA8TWS2Ng9
9PHakRCcO4ZuQ9hmjmcksaxUiPIqJv8RQLqTTYbHYywFyO1TCS4=
=jWQQ
-----END PGP SIGNATURE-----

#1006263#15
Date:
2023-06-10 02:32:56 UTC
From:
To:
El 15/05/23 a las 14:17, Martin-Éric Racine escribió:

Indeed. I will work on this after the upcoming release.

Thanks for pointing this out,

#1006263#20
Date:
2023-11-20 18:00:33 UTC
From:
To:
As discussed in bug #1038882, ifupdown needs to change its precedence order for DHCP clients. The new order of precedence should be: dhcpcd, dhclient, others (see above). This is necessary to ensure that dhcpcd-base will become the new default DHCP client after upgrades.

Martin-Éric
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmVbnr4ACgkQrh+Cd8S0
17YtvxAAtY6xRzY+T628fW9mtCR3jcC01aPNhSJNNUDzwGyGvh6CWha3Tp4HJfPF
AQh/Hdc+4j+HPo+EKOvO5zm58DHsGTKSFrm72QTwLJmhmXHig1ZNjDcSY+TUno3Y
mPoEhWKDkPxqeO8tDOCV2m9ydRk9AEYNO2TgoGarIj+EeIOzKzNdWZCPDnb+HC4U
7MJJjjtAyBbt1OFFX1QhMcSJAiJU8uIEQyjhrztvAYHLnxMV/hov92sf82RsXR2G
QTjf0rNSdOtcYnyJW612HzDsWuHAIRbp9qBpSn6cwLvz1OP+ZwRVWKk7xcuN0xj2
/t5Gw2IOX6KZ4KFB1jPTjYItb4XBmtu4jV9/IBUCLMImFLN1lYShUZ1z5EJ6mWY/
eEn5mWqiibF2ttW6VbMoTCFTLew2ETY6RDTcKFvK7PbDmruUhU54h50Egpeo46yA
eQuVbH+Rvz29su8+NtXH2KzLnKcS+sAXSNYw+KkiHg+HfkebA7sLvNbnQIy18Mej
CnnEAV5JsU63EXbELAMDYtOuE1RDTdFvRBftJXjAWJPw3yOl1k9T2kSju0yBLuFd
bxxlciIlSM0Xx4WVFiA62hAuU4rukPp+f4nqQXfE+kPeMEfX0ma2wGAof36kjgLP
IXKkIRlj+386j02SXxrv5iojobm04Gj7UIokEsCEMQZMSb7fAhU=
=/jHu
-----END PGP SIGNATURE-----

#1006263#25
Date:
2026-01-10 10:08:08 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.