[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: initscript policy proposal

On Sun, 05 Nov 2000, Manoj Srivastava wrote:
>  packages buggy''. Indeeed, anything like this should probably be
>  introduced as a recommendation; and non-compliance should be deemed a

I will change the proposal to recommend the use of invoke-rc.d, and add a
warning that 'in the future' usage of invoke-rc.d will be required.

> 	If you would rephrase the policy diffs I'd be happy to second
>  this proposal (whenever you feel it has reached the state that is is
>  appropriate for a proposal).

Thanks. Please refer to the attached diff, and tell me if it is of your

AFAIK, the only issue still open with invoke-rc.d is the fallback of restart
to restart-if-running. I am waiting for a while to see if that thread
stalled for good or not, before I fill a wishlist bug with the proposal. I
may try to write the invoke-rc.d manpage before submitting the proposal as
well, but I am not sure about that yet.

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
diff -u policy.text policy.text
--- policy.text
+++ policy.text
@@ -1144,9 +1144,13 @@
      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.
+     You should use `invoke-rc.d' to invoke the `/etc/init.d/*'
+     initscripts. Package scripts should not call /etc/init.d scripts
+     directly. 
+     In the future, the use of invoke-rc.d to invoke initscripts will 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

Attachment: pgppHrD9fiiyn.pgp
Description: PGP signature

Reply to: