On Monday 26 November 2007, Henrique de Moraes Holschuh wrote:
> If someone would like to provide patches to make that documentation
> more clear, feel free to do so.  Just remember that invoke-rc.d is
> initscript subsystem *specific*, and that policy-rc.d is initscript
> subsystem *agnostic*, so you may have to look at the invoke-rc.d
> scripts for every initscript subsystem in Debian, first.

I think a simple note that the exit status overrides invoke-rc.d's 
internal rules would already be helpful. See the attached patch.

I agree that the debian-policy package would be more apropriate for 
README.policy-rc.d than sysv-rc.

Cheers,
Stefan
--- /tmp/PsL5pRpEdS-README.policy-rc.d	2008-01-07 22:12:58.727577411 +0100
+++ README.policy-rc.d	2008-01-07 22:12:20.629406320 +0100
@@ -73,6 +73,9 @@
  106 - action not allowed. Use the returned fallback actions
        (which are implied to be "allowed") instead. 
 
+Note that the exit status code overrides the checks done by invoke-rc.d
+to prevent starting an init script out of runlevel. See below for details.
+
 When in doubt (policy-rc.d returned status 105 or status 1), invoke-rc.d
 will assume an action is allowed, but it will warn the user of the problem.
 
_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel

Reply via email to