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

Bug#208010: [PROPOSAL] init script LSB 1.3 compliance



On Sun, Aug 31, 2003 at 01:11:38PM +0200, Martin Godisch wrote:
[...]
> +        In the case of init script commands other than <tt>status</tt> (i.e.,
> +        <tt>start</tt>, <tt>stop</tt>, <tt>restart</tt>, <tt>reload</tt>, and
> +        <tt>force-reload</tt>), the init script should return an exit status
> +        of zero if the action described by the argument has been successful.
> +        Otherwise, the init script should print an error message and return
> +        one of the following non-zero exit status codes.
> +        <taglist>
> +          <tag>1</tag>
> +          <item>generic or unspecified error,</item>
> +          <tag>2</tag>
> +          <item>invalid or excess argument(s),</item>
> +          <tag>3</tag>
> +          <item>unimplemented feature (for example, <tt>reload</tt>),</item>
> +          <tag>4</tag>
> +          <item>user had insufficient privilege,</item>
> +          <tag>5</tag>
> +          <item>program is not installed,</item>

Objection. There's no need for our packages to show the same
behavior as LSB packages for Debian to be LSB-compatible. Specifically,
there's no need to force our initscripts to exit with non-zero exit
code, since that would break a quite a few things.

-- 
Wouter Verhelst
Debian GNU/Linux -- http://www.debian.org
Nederlandstalige Linux-documentatie -- http://nl.linux.org
"Stop breathing down my neck." "My breathing is merely a simulation."
"So is my neck, stop it anyway!"
  -- Voyager's EMH versus the Prometheus' EMH, stardate 51462.

Attachment: pgp_w0ksiO5KA.pgp
Description: PGP signature


Reply to: