[Pkg-utopia-maintainers] Bug#1108086: network-manager: please make bin:network-manager Conflicts bin:dhcpcd
Martin-Éric Racine
martin-eric.racine at iki.fi
Fri Jun 20 10:38:24 BST 2025
Package: network-manager
Severity: normal
X-Debbugs-Cc: martin-eric.racine at iki.fi
See corresponding dhcpcd bug #1107683.
Out of the box, network-manager and a daemonized dhcpcd (launched by the init.d script or systemd units provided by bin:dhcpcp) takes control of all network interfaces.
Installing both packages on the same host results in both daemons constantly trying to hijack control over the interfaces from each other. This is obviously undesirable. The only fix I can think of is to make these 2 packages mutually Conflicts.
I cannot think of any other case for conflicting with other packages, since ifupdown does nothing until /etc/network/interfaces is populated (and network-manager knows how to skip any interface defined there), and networkd requires manually creating units for the interfaces then unmasking the daemon to have it lauch, and dhcpcd-base only ships binaries needed by ifupdown or network-manager's dhcpcd backend but doesn't launch anything out of the box.
If you can think of a better way to handle this, I'm listening.
Martin-Éric
-- System Information:
Debian Release: 13.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: i386 (x86_64)
Kernel: Linux 6.12.32-amd64 (SMP w/8 CPU threads; PREEMPT)
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 network-manager depends on:
ii adduser 3.152
ii dbus [default-dbus-system-bus] 1.16.2-2
ii libaudit1 1:4.0.2-2+b2
pn libbluetooth3 <none>
ii libc6 2.41-9
ii libcurl3t64-gnutls 8.14.1-2
ii libglib2.0-0t64 2.84.3-1
ii libgnutls30t64 3.8.9-2
ii libjansson4 2.14-2+b3
pn libmm-glib0 <none>
pn libndp0 <none>
ii libnewt0.52 0.52.25-1
pn libnm0 <none>
ii libpsl5t64 0.21.2-1.1+b1
ii libreadline8t64 8.2-6
ii libselinux1 3.8.1-1
ii libsystemd0 257.6-1
pn libteamdctl0 <none>
ii libudev1 257.6-1
Versions of packages network-manager recommends:
pn dnsmasq-base <none>
ii libpam-systemd 257.6-1
pn modemmanager <none>
pn network-manager-l10n <none>
pn polkitd <none>
pn ppp <none>
pn udev <none>
pn wireless-regdb <none>
pn wpasupplicant <none>
Versions of packages network-manager suggests:
pn iptables <none>
pn libteam-utils <none>
More information about the Pkg-utopia-maintainers
mailing list