Am 17.02.25 um 12:30 schrieb Mark Hindley:

commit 9ba383edb0ca4308b367108dcf7b5e61b71eec51
Author: Mark Hindley <m...@hindley.org.uk>
Date:   Mon Feb 17 11:23:09 2025 +0000

     if-up.d/mountnfs: completely noop if systemd is running.
Closes: #782142

diff --git a/debian/src/initscripts/etc/network/if-up.d/mountnfs 
b/debian/src/initscripts/etc/network/if-up.d/mountnfs
index 9b1f47f2..5cde3246 100644
--- a/debian/src/initscripts/etc/network/if-up.d/mountnfs
+++ b/debian/src/initscripts/etc/network/if-up.d/mountnfs
@@ -7,14 +7,9 @@
  #                    Also mounts SMB filesystems now, so the name of
  #                    this script is getting increasingly inaccurate.
-# Skip the mountnfs hook when being triggered by the networking SysV init
-# script and instead use the systemd built-in mechanisms to mount remote
-# file systems.
-# This avoids a deadlock caused by the rpcbind SysV init script depending
-# on $network and the $network LSB facility being provided by the networking
-# SysV init script.
+# Skip hook if system is running systemd.
  if [ -d /run/systemd/system ]; then
-       systemctl list-jobs | grep -q network.target && exit 0
+       exit 0
  fi

Given that systemd-sysv nowadays has a Conflicts against initscripts, I think this change is kinda moot. You might just as well remove that code completely.

Michael

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to