[Pkg-sysvinit-devel] Bug#362888: sysv-rc: meaning of may and must
Bart Martens
bartm at knars.be
Sun Apr 16 08:22:10 UTC 2006
Package: sysv-rc
Version: 2.86.ds1-14
Severity: minor
Tags: patch
In the file /etc/init.d/README I read "scripts may not rely". I think
that this should be "scripts must not rely". The rest of the text seems
to confirm that. Patch attached.
-------------- next part --------------
diff -ruN orig/sysvinit-2.86.ds1/debian/sysv-rc/etc/init.d/README sysvinit-2.86.ds1/debian/sysv-rc/etc/init.d/README
--- orig/sysvinit-2.86.ds1/debian/sysv-rc/etc/init.d/README 2006-04-16 10:13:10.000000000 +0200
+++ sysvinit-2.86.ds1/debian/sysv-rc/etc/init.d/README 2006-04-16 10:14:30.000000000 +0200
@@ -23,7 +23,7 @@
Debian Policy dictates that /etc/init.d/*.sh scripts must work properly
when sourced. The following additional rules apply:
-* /etc/init.d/*.sh scripts may not rely for their correct functioning
+* /etc/init.d/*.sh scripts must not rely for their correct functioning
on their being sourced rather than executed. That is, they must work
properly when executed too. They must include "#!/bin/sh" at the top.
More information about the Pkg-sysvinit-devel
mailing list