Packaging/SysVInitScript wiki page has wrong description for LSB header Required-Stop:

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

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux