Bug#1107768: unblock: dhcpcd/1:10.1.0-12
Package: release.debian.org
Severity: normal
X-Debbugs-Cc: dhcpcd@packages.debian.org, martin-eric.racine@iki.fi
Control: affects -1 + src:dhcpcd
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package dhcpcd
[ Reason ]
As someone found out during the soft freeze, a daemonized dhcpcd competes with network-manager and other network configuration tools for control over the network interfaces and resolver.
Back when I took over maintenance of the package, I ended up spliting the init.d script and systemd unit into a separate bin:dhcpcd package precisely to avoid this. Apparently, that wasn't enough. I therefore just added a "Conflicts: network-manager" to bin:dhcpcd to further drive the point that having two networking daemons on the same host is a bad idea. This is the only change.
Meanwhile, bin:dhcpcd-base remains perfectly harmless on hosts running systemd-networkd or network-manager, since it doesn't come with startup scripts and is instead executed via ifupdown or some other network configuration framework as per administrator configuration.
[ Impact ]
Without this fix, bug reports similar to #1107683 are likely to be filed after Trixie is released.
[ Tests ]
None needed. It's only a dependency change (Conflicts: network-manager).
[ Risks ]
No code change.
[ Checklist ]
[x] all changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in testing
unblock dhcpcd/1:10.1.0-12
diff -Nru dhcpcd-10.1.0/debian/changelog dhcpcd-10.1.0/debian/changelog
--- dhcpcd-10.1.0/debian/changelog 2025-05-08 21:47:28.000000000 +0300
+++ dhcpcd-10.1.0/debian/changelog 2025-06-13 14:09:46.000000000 +0300
@@ -1,3 +1,13 @@
+dhcpcd (1:10.1.0-12) unstable; urgency=high
+
+ * dhcpcd: Conflicts: network-manager (Closes: #1107683).
+ This ensures that a daemonized dhcpcd and network-manager won't install on
+ the same host and compete for control of the interfaces and resolver.
+ Meanwhile, dhcpcd-base does nothing without ifupdown or network-manager's
+ dhcpcd backend, so it remains harmless on a stock Trixie install.
+
+ -- Martin-Éric Racine <martin-eric.racine@iki.fi> Fri, 13 Jun 2025 14:09:46 +0300
+
dhcpcd (1:10.1.0-11) unstable; urgency=medium
* [patches]
diff -Nru dhcpcd-10.1.0/debian/control dhcpcd-10.1.0/debian/control
--- dhcpcd-10.1.0/debian/control 2025-05-04 22:16:36.000000000 +0300
+++ dhcpcd-10.1.0/debian/control 2025-06-13 14:07:26.000000000 +0300
@@ -54,6 +54,7 @@
Recommends: wpasupplicant
Suggests: dhcpcd-gtk
Breaks: dhcpcd5 (<< ${source:Version}~)
+Conflicts: network-manager
Provides: dhcpcd
Replaces: dhcpcd5 (<< ${source:Version}~)
Description: DHCPv4 and DHCPv6 dual-stack client (init.d script & systemd unit)
Reply to: