#1141356 watchdog: Lintian error about dependency on the virtual facility "$all"

Package:
watchdog
Source:
watchdog
Description:
system health checker and software/hardware watchdog handler
Submitter:
Andreas Tille
Date:
2026-07-03 09:53:03 UTC
Severity:
normal
#1141356#5
Date:
2026-07-03 09:50:21 UTC
From:
To:
Hi Michael,

lintian reports:

E: watchdog: init.d-script-depends-on-all-virtual-facility required-start [etc/init.d/watchdog]
N:
N:   The given init script declares a dependency on the virtual facility "$all". This virtual facility is reserved for very special cases, that work specifically with init system.
N:
N:   Regular services should not use this facility.
N:
N:   Please refer to https://wiki.debian.org/LSBInitScripts for details.
N:
N:   Visibility: error
N:   Show-Always: no
N:   Check: init-d
N:
N:
E: watchdog: init.d-script-depends-on-all-virtual-facility required-stop [etc/init.d/watchdog]

I wonder what you might think about the following patch:

diff --git a/debian/init b/debian/init
index df13b58..589ad59 100644
--- a/debian/init
+++ b/debian/init
@@ -4,10 +4,10 @@
 ### BEGIN INIT INFO
 # Provides:          watchdog
 # Short-Description: Start software watchdog daemon
-# Required-Start:    $all
-# Required-Stop:     $all
-# Should-Start:
-# Should-Stop:
+# Required-Start: $remote_fs
+# Required-Stop:  $remote_fs
+# Should-Start:   $network
+# Should-Stop:    $network
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 ### END INIT INFO

Kind regards
    Andreas.