[Pkg-sysvinit-devel] Bug#502195: Bug#502195: invoke-rc.d with action [force-]reload doesn't obey runlevel constraints

Paolo Miotto paolo.miotto at uniud.it
Wed Oct 15 07:01:57 UTC 2008


Quoting Henrique de Moraes Holschuh <hmh at debian.org>:

> On Tue, 14 Oct 2008, Paolo Miotto wrote:
>> I think that actions like reload or force-reload must work like start
>> and restarting, doing nothing if the service is disabled in current
>> runlevel.
>
> Maybe for force-reload.  As for reload, if that is suceeding on a service
> that is not started (i.e. it ends up starting the service), that is a BUG on
> the initscript itself, and not a small one.

Well, it is OK that a script called with reload fails if the service  
is not running, but the point is: why ask a reload to a service that  
is not running (because disabled), maybe failing even a pre/post  
install script?

It is not cleaner to skip the request at all?

Regards.

         Paolo Miotto




----------------------------------------------------------------------
SEMEL (SErvizio di Messaging ELettronico) - CSIT -Universita' di Udine







More information about the Pkg-sysvinit-devel mailing list