Re: RFC: initscript policy proposal
Hi,
How about this psuedo diff (I made the second paragraph a
footnote, and hence informative rather than normative). When we have
better compliance, we can switch to a should, and then a must,
directive.
manoj
diff -u policy.text policy.text
--- policy.text
+++ policy.text
@@ -1144,9 +1144,12 @@
start, stop and otherwise manage services. This program may be used by
maintainers in their packages' scripts.
- You must use `invoke-rc.d' to invoke the `/etc/init.d/*'
- initscripts. Package scripts must not call /etc/init.d scripts
- directly.
+ The use of `invoke-rc.d' to invoke the `/etc/init.d/*' initscripts
+ is strongly recommended[1], instead of calling them directly.
+
+ Footnote [1] In the future, the use of invoke-rc.d to invoke
+ initscripts shall be made mandatory. Maintainers are advised to
+ switch to invoke-rc.d as soon as possible.
By default, `invoke-rc.d' will pass any action requests (start, stop,
reload, restart...) to the /etc/init.d script, filtering out requests
--
New York... when civilization falls apart, remember, we were way
ahead of you. David Letterman
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: