Package: debian-policy
Version: 3.7.2.1
Followup-For: Bug #152955

According to LSB 3.1 (see [1]), force-reload should only restart the
service if it is already running. Therefore I suggest applying the
attached patch, which just adds "if it is already running" to the
force-reload description.

              <tag><tt>force-reload</tt></tag>
              <item>cause the configuration to be reloaded if the
                  service supports this, otherwise restart the
-                 service.</item>
+                 service if it is already running.</item>
            </taglist>

[1]:
http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

In general, it might be good to point to LSB specifications on init
scripts in policy 9.3.2 since LSB-compliance is a release goal for etch
anyway.

Sven

-- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (990, 'stable'), (400, 'experimental'), (90, 'testing'), (50, 
'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.12-incase
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

-- no debconf information
diff -ur debian-policy-3.7.2.1.orig/policy.sgml 
debian-policy-3.7.2.1/policy.sgml
--- debian-policy-3.7.2.1.orig/policy.sgml      2006-06-20 07:20:13.000000000 
+0200
+++ debian-policy-3.7.2.1/policy.sgml   2006-07-07 18:12:06.952862322 +0200
@@ -5584,7 +5584,7 @@
              <tag><tt>force-reload</tt></tag>
              <item>cause the configuration to be reloaded if the
                  service supports this, otherwise restart the
-                 service.</item>
+                 service if it is already running.</item>
            </taglist>
 
            The <tt>start</tt>, <tt>stop</tt>, <tt>restart</tt>, and

Reply via email to