[Fedora-packaging] Packaging/SysVInitScript wiki page has wrong description for LSB header Required-Stop:

Tom "spot" Callaway tcallawa at redhat.com
Mon Apr 7 12:42:48 UTC 2008


On Mon, 2008-04-07 at 12:09 +0100, Paul Howarth wrote:
> There's a rather big error in the wiki description of the LSB 
> "Required-Stop:" header.
> 
> The wiki says:
>    http://fedoraproject.org/wiki/Packaging/SysVInitScript
> 
>    "The # Required-Stop: line in the LSB Header lists any boot facilities
>     which must be stopped before shutdown of this service can commence."
> 
> The LSB says:
>  
> http://refspecs.freestandards.org/LSB_2.0.0/LSB-Core/LSB-Core/initscrcomconv.html
> 
>    "... the "Required-Stop:" header defines which facilities shall still
>     be available during the shutdown of that service. Hence, the init
>     script system should avoid stopping shell scripts which provide those
>     facilities until this shell script is stopped."
> 
> This is just about the opposite of what the wiki ways.
> 
> I think a sane rule of thumb is that the parameters needed for 
> "Required-Stop:" are likely to be the same as for "Required-Start:".
> 
> The description of the "Should-Stop:" header is similarly wrong.

I've corrected these mistakes, thanks!

(Although, I think they were possibly more useful the way that they were
incorrectly written... ;)

~spot




More information about the Fedora-packaging mailing list