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

Re: init script exit status



On Thu, Jul 05, 2001 at 09:42:53AM +0200, Thorsten Kukuk wrote:
> 
> Hi,
> 
> On Wed, Jul 04, Theodore Tso wrote:
> 
> > Oops, that was an oversight.  I believe in the discussion we agreed
> > that running stop on a service that was already stopped shouldn't be
> > considered an error; hence we added the above-mentioned text.
> > However, we failed to remove error code 7 for "program is not
> > running" when we did that edit, leading to this inconsistency.
> > 
> > So error code 7 should be removed from sysinit/initactions.sgml.
> 
> I don't think that we should remove error code 7 from the list.
> What else should we return if somebody runs a init script with
> the "reload" argument, but the daemon is not running ?

Oops, you're right.  In fact, reviewing the lsb-spec mailing list
archives, error code 7 was added specifically for the "reload" init
action.

						- Ted



Reply to: