Re: Init : someone could comment this ?

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

 



On Tue, 2008-01-08 at 19:48 +0100, Enrico Scholz wrote:
> Till Maas <opensource@xxxxxxxxx> writes:
> 
> >> | kill(pid, SIGTERM); /* wait for timeout/sigchld */ kill(pid, SIGKILL);
> >
> > Imho there is some code missing, that the pid really belongs to the
> > service,
> 
> no; as already written, modern initsystems use non-forking daemons where
> such checks are not needed anymore.
>
> > e.g. when the service died/crashed and the pid file still exists
> 
> pidfiles are ancient hacks not required by modern initsystems anymore.

 That's just not true, for example:

http://www.initng.org/browser/initng-ifiles/trunk/initfiles/daemon/exim/listener.ii

...maybe you mean that they support it, and _in your opinion_
application code should change to use that model ... but that's a very
different thing.

-- 
James Antill <james.antill@xxxxxxxxxx>
Red Hat

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux