2011/3/15 Klaus Darilion <klaus.mailinglists(a)pernau.at>at>:
That's the wrong table. The correct one is:
Sorry, I pasted the wrong text :)
In case of an error while processing any init-script
action except for
status, the init script shall print an error message and exit with a
non-zero status code:
1 generic or unspecified error (current practice)
2 invalid or excess argument(s)
3 unimplemented feature (for example, "reload")
4 user had insufficient privilege
5 program is not installed
6 program is not configured
7 program is not running
8-99 reserved for future LSB use
100-149 reserved for distribution use
150-199 reserved for application use
200-254 reserved
So, can we agree on 4 for status and 6 for start/stop? :-)
6 seems to be a really appropriate choice :)
I don't like the meaning of 4, as init script are always supposed to
be managed by root user (even if the daemon later is configured to run
as other non-privileged user).
--
Iñaki Baz Castillo
<ibc(a)aliax.net>