Package: watchdog
Severity: normal

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.


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (501, 'testing'), (50, 'buildd-unstable'), (50, 'unstable'), (5, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.0.13+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages watchdog depends on:
ii  debconf [debconf-2.0]      1.5.92
ii  libc6                      2.42-17
ii  lsb-base                   11.6
ii  sysvinit-utils [lsb-base]  3.18-1
ii  udev                       261-1

watchdog recommends no packages.

watchdog suggests no packages.

Reply via email to