--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: unblock: dhcpcd/1:10.1.0-12
- From: Martin-Éric Racine <martin-eric.racine@iki.fi>
- Date: Sat, 14 Jun 2025 07:52:33 +0300
- Message-id: <174987675353.33964.3278899158135402585.reportbug@p8h61.internal>
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)
--- End Message ---
--- Begin Message ---
- To: Paul Gevers <elbrus@debian.org>, 1107768-done@bugs.debian.org
- Subject: Re: Bug#1107768: unblock: dhcpcd/1:10.1.0-12
- From: Martin-Éric Racine <martin-eric.racine@iki.fi>
- Date: Sun, 10 Aug 2025 19:31:12 +0300
- Message-id: <CAPZXPQfC+OmBbG_XOyG30Xv5z9ATVN=jmO_k8n5RSm_rHNP9ZQ@mail.gmail.com>
- Reply-to: martin-eric.racine@iki.fi
- In-reply-to: <CAPZXPQfu+EH0Do77dV5uXhRjVQ17D2Trdkf3VQEtLv6+mtLuUQ@mail.gmail.com>
- References: <174987675353.33964.3278899158135402585.reportbug@p8h61.internal> <20250617121956.7wdgvrjuytym7l4e@darkboxed.org> <483626c3-8e83-43da-a0e8-d18e54a33dd9@debian.org> <CAPZXPQfu+EH0Do77dV5uXhRjVQ17D2Trdkf3VQEtLv6+mtLuUQ@mail.gmail.com>
to 3.7.2025 klo 20.27 Martin-Éric Racine (martin-eric.racine@iki.fi) kirjoitti:
>
> to 3.7.2025 klo 20.12 Paul Gevers (elbrus@debian.org) kirjoitti:
> > On 17-06-2025 14:19, Daniel Gröber wrote:
> > > Have you thought the implications of this this change all the way through
> > > to user impact?
> >
> >
> > What's the answer here?
>
> As already stated, there is no impact. The Conflicts merely is
> idiot-proofing the dependencies to avoid two networking daemons
> fighting for control of the same interfaces. I've filed a bug against
> network-manager to have a Conflicts against bin:dhcpcd to address the
> same case, in reverse.
>
> > > What's about bookworm users who currently have both dhcpcd and
> > > network-manager installed? Is the observed breakage in #1107683 so bad it's
> > > unlikeley there are any?
> > >
> > > What if some exist and are relying on NM config for conectivity? Would this
> > > break their systems on upgrade? I'm honestly not sure how apt tiebreaks
> > > with conflicts. Which package would get removed in that case?
> > >
> > > I'm happy to do some testing with debvm if we agree on this being a
> > > concern.
> >
> >
> > I'd like to see some reply to the concerns raised. Daniel, if you could
> > try and reproduce the scenario you're worried about that would be
> > appreciated.
>
> I'll happily address genuine issues. Daniel's "concerns" are whataboutisms.
Sure enough, neither of the two people who expressed concerns ever got
around demonstrating the negative impacts they foresee as requested by
Paul.
Meanwhile, Trixie is now released, making this bug a moot point. Closing.
Martin-Éric
--- End Message ---