Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Packaging (http://www.linux-archive.org/fedora-packaging/)
-   -   Packaging/SysVInitScript wiki page has wrong description for LSB header Required-Stop: (http://www.linux-archive.org/fedora-packaging/65473-packaging-sysvinitscript-wiki-page-has-wrong-description-lsb-header-required-stop.html)

Paul Howarth 04-07-2008 11:09 AM

Packaging/SysVInitScript wiki page has wrong description for LSB header Required-Stop:
 
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.

--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging


All times are GMT. The time now is 04:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.