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

Paul Howarth paul at city-fan.org
Mon Apr 7 11:09:56 UTC 2008


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.

Paul.




More information about the Fedora-packaging mailing list