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

Re: removing in postrm rc*.d symlinks that I did not create



On Sat, 18 Dec 2004 01:10:09 +0100, Michal Politowski wrote in part:
> Under current sysv-rc semantics invoke-rc.d defaults to running the
> script if neither S nor K links are present. And there were reasonable
> arguments given for this behaviour.


Yes.

 
> Thus, if Nicolas would want to use invoke-rc.d to maybe run the init script
> of his package on upgrades, it would be necessary to install K links by
> default.


invoke-rc.d doesn't currently support the try-restart method which is what
is really required to support services configured in the "floating" state.
So if the maintainer is going to initialize the service in the floating
state then he must avoid using invoke-rc.d in his maintainer scripts.  (I
was assuming that he wouldn't want to run the initscript on upgrade.)  See
#243159 for background.


-- 
Thomas Hood



Reply to: