systemd: do not Recommends: networkd-dispatcher

Bug #2132159 reported by Nick Rosbrook
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
chrony (Ubuntu)
Fix Released
Undecided
Unassigned
clamav (Ubuntu)
Fix Released
Undecided
Unassigned
nss-pam-ldapd (Ubuntu)
Fix Released
Undecided
Unassigned
postfix (Ubuntu)
Fix Released
Undecided
Unassigned
systemd (Ubuntu)
Fix Released
Medium
Nick Rosbrook

Bug Description

The systemd package currently Recommends: networkd-dispatcher, which is a delta from Debian. The systemd package itself has no need for this package whatsoever. There are a handful of packages that do ship networkd-dispatcher scripts:

root@r:~# apt-file search networkd-dispatcher | grep -E 'networkd-dispatcher.*\.d'
chrony: /usr/lib/networkd-dispatcher/off.d/chrony-onoffline
chrony: /usr/lib/networkd-dispatcher/routable.d/chrony-onoffline
clamav-freshclam: /usr/lib/networkd-dispatcher/off.d/clamav-freshclam
clamav-freshclam: /usr/lib/networkd-dispatcher/routable.d/clamav-freshclam
nslcd: /usr/lib/networkd-dispatcher/routable.d/nslcd
postfix: /usr/lib/networkd-dispatcher/off.d/postfix
postfix: /usr/lib/networkd-dispatcher/routable.d/postfix

Those packages should declare the dependency themselves.

Tags: dcr-incoming

Related branches

Nick Rosbrook (enr0n)
description: updated
description: updated
Nick Rosbrook (enr0n)
Changed in chrony (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in clamav (Ubuntu):
status: New → Confirmed
Changed in nss-pam-ldapd (Ubuntu):
status: New → Confirmed
Changed in postfix (Ubuntu):
status: New → Confirmed
Nick Rosbrook (enr0n)
Changed in postfix (Ubuntu):
status: Confirmed → In Progress
Changed in chrony (Ubuntu):
status: In Progress → Fix Committed
Changed in postfix (Ubuntu):
status: In Progress → Fix Committed
Nick Rosbrook (enr0n)
Changed in nss-pam-ldapd (Ubuntu):
status: Confirmed → Fix Committed
Nick Rosbrook (enr0n)
Changed in clamav (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package chrony - 4.7-1ubuntu3

---------------
chrony (4.7-1ubuntu3) resolute; urgency=medium

  * configure: switch sed separator from % to # to cope with dpkg

chrony (4.7-1ubuntu2) resolute; urgency=medium

  * d/control: Recommends: networkd-dispatcher (LP: #2132159)
    This package ships networkd-dispatcher scripts. Directly declare a
    Recommends: networkd-dispatcher instead of relying on systemd to do so.

 -- Nick Rosbrook <email address hidden> Tue, 25 Nov 2025 14:22:57 -0500

Changed in chrony (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package postfix - 3.10.2-1ubuntu3

---------------
postfix (3.10.2-1ubuntu3) resolute; urgency=medium

  * d/control: Recommends: networkd-dispatcher (LP: #2132159)

 -- Nick Rosbrook <email address hidden> Tue, 25 Nov 2025 14:51:21 -0500

Changed in postfix (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package clamav - 1.4.3+dfsg-0ubuntu3

---------------
clamav (1.4.3+dfsg-0ubuntu3) resolute; urgency=medium

  * d/control: Recommends: networkd-dispatcher (LP: #2132159)

 -- Nick Rosbrook <email address hidden> Tue, 25 Nov 2025 15:06:17 -0500

Changed in clamav (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nss-pam-ldapd - 0.9.13-2ubuntu1

---------------
nss-pam-ldapd (0.9.13-2ubuntu1) resolute; urgency=medium

  * d/control: Recommends: networkd-dispatcher (LP: #2132159)

 -- Nick Rosbrook <email address hidden> Tue, 25 Nov 2025 14:59:20 -0500

Changed in nss-pam-ldapd (Ubuntu):
status: Fix Committed → Fix Released
Nick Rosbrook (enr0n)
Changed in systemd (Ubuntu):
status: Triaged → In Progress
Nick Rosbrook (enr0n)
Changed in systemd (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (20.2 KiB)

This bug was fixed in the package systemd - 259-1ubuntu2

---------------
systemd (259-1ubuntu2) resolute; urgency=medium

  * d/control: have systemd-boot depend on efibootmgr for amd64 and arm64 only
  * ukify: omit .osrel section when --os-release= is empty (LP: #2133402)
  * d/tests: drop tests-in-lxd
  * test: skip TEST-13-NSPAWN.machined (LP: #2136413)

systemd (259-1ubuntu1) resolute; urgency=medium

  * Merge with Debian unstable (LP: #2130132). Remaining changes:
    - debian/systemd.postinst:
      + manually call systemd-tmpfiles --create in postinst
    - debian/control:
      + Add Recommends: systemd-resolved to systemd package
      + Make systemd-cryptsetup Priority: important
      + Give systemd-resolved Priority: important
      + Add Recommends: systemd-hwe-hwdb to udev package
      + Drop Recommends: libnss-myhostname libnss-resolve from systemd-resolved
      + Do not build systemd-boot-efi-{amd64,arm64}-signed-template
    - d/rules: disable bpf support on riscv64 for now (LP #2099864)
    - d/extra/dbus-1: remove SetLocale restriction from dbus policy (LP #2102028)
    - Delta for i386:
      + debian/systemd.install: exclude files that are not built for i386
      + debian/systemd.manpages: do not ship un-built manpages on i386
      + debian/rules,debian/control,debian/tests/control:
        Do not build with tpm libraries on i386
      + debian/rules,debian/control,debian/tests/control:
        Do not build with libqrencode on i386
      + debian/rules: Remove unneeded efi artifacts on i386 to avoid debugedit errors
    - debian/libnss-systemd.*:
      + debian/libnss-systemd.nss: install after 'compat' too (LP #2125403)
      + debian/libnss-systemd.preinst: force nsswitch.conf update
        Drop systemd instances in nsswitch.conf, and force postinst to
        re-generate the file (LP #2121017)
      + debian/linbnss-systemd.nss: Install systemd service after files.
        As suggested by upstream the systemd NSS service should come just after
        files
    - debian/tests:
      + d/t/boot-and-services: use coreutils tunable in apparmor test (LP #2125614)
      + d/t/upstream: use GNU cp in test setup (LP #2122363)
    - debian/patches:
      + switch-root: use MS_MOVE for /run when switchig from initrd
      + test: skip TEST-50-DISSECT.dissect (LP #2116460)
  * New changes:
    - test: use journalctl -n option instead of piping to head
      (LP: #2136497)
    - test: cope with uutils coreutils flag parsing for date command
      (LP: #2136408)
    - test: workaround uutils dd broken pipe
      (LP: #2136752)

systemd (259-1) unstable; urgency=medium

  [ Luca Boccassi ]
  * Downgrade depends to recommends for IPC endpoint of respective libnss
    modules. Minimal container images might want the libnss modules to
    resolve users, but without the IPC endpoints which will be running on
    the host and which will be reachable anyway via IPC.
  * Update upstream source from tag 'upstream/259' Update to upstream
    version '259' with Debian dir 7a7b4d948977ac3c011ae6188deefd8d2c1efc8c

  [ Helmut Grohne ]
  * Update architecture match for 50-pid-max.conf

systemd (259~rc3-1ubuntu1) resolute; urgency=medium...

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.