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

Re: is it OK for invoke-rc.d stop not to stop?

On 20-Apr-04, 10:16 (CDT), John Hasler <john@dhh.gt.org> wrote: 
> Henrique de Moraes Holschuh writes:
> > /etc/init.d/anything stop MUST stop the service at all costs, even if it
> > has to kill -9 the daemon.
> True of /etc/init.d/anything but not of invoke-rc.d.  From the man page:
>        invoke-rc.d introduces the concept of a policy layer which is used


One might guess that Henrique is familiar with that man page:

	.\" Authors: Henrique Holschuh, Roland Rosenfeld

Anyway, in the original post, it was clear that it wasn't invoke-rc.d
that was making the decision. The init script itself was defining "stop"
as "go offline", rather than "stop the daemon". That's a bug.


Steve Greenland
    The irony is that Bill Gates claims to be making a stable operating
    system and Linus Torvalds claims to be trying to take over the
    world.       -- seen on the net

Reply to: