Bug#727708: Info received (Bug#727708: requirement of non-forking startup protocol)

2014-01-02 Thread Zbigniew Jędrzejewski-Szmek
> Yeah, most daemons that write external PID files have issues with external > PID files left from other running instances of the same daemon. (I assume > that's what you're talking about.) It's probably possible to avoid that > with judicious use of file locking, but that's not common and is mor

Bug#727708: requirement of non-forking startup protocol

2014-01-02 Thread Russ Allbery
Ian Jackson writes: > Russ Allbery writes: >> Yeah, this is a good point. Since systemd uses the daemon-written PID >> file for tracking forking daemons, it doesn't have the same issues as >> the upstart expect fork or expect daemon protocols. Obviously, an >> external PID file is not ideal, bu

Bug#727708: requirement of non-forking startup protocol

2014-01-02 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 02, 2014 at 10:04:12PM +, Ian Jackson wrote: > Zbigniew Jędrzejewski-Szmek writes ("Bug#727708: requirement of non-forking > startup protocol"): > > | 8. Policy rules for support for init systems must: > > | > > |(a) Specify the use of a

Bug#727708: requirement of non-forking startup protocol

2014-01-02 Thread Ian Jackson
Russ Allbery writes ("Bug#727708: requirement of non-forking startup protocol"): > Zbigniew Jędrzejewski-Szmek writes: > > I think this should be changed to: > > | 8. Policy rules for support for init systems must: > > | > > |(a) Encourage the use o

Bug#727708: requirement of non-forking startup protocol

2014-01-02 Thread Russ Allbery
Zbigniew Jędrzejewski-Szmek writes: > | 8. Policy rules for support for init systems must: > | > |(a) Specify the use of a non-forking startup protocol (for > |upstart and systemd), > I'm not sure about upstart, but systemd is perfectly happy with daemons > which double fork (Type=f

Bug#727708: requirement of non-forking startup protocol

2014-01-02 Thread Ian Jackson
Zbigniew Jędrzejewski-Szmek writes ("Bug#727708: requirement of non-forking startup protocol"): > | 8. Policy rules for support for init systems must: > | > |(a) Specify the use of a non-forking startup protocol (for > |upstart and systemd), [ Replying to thi

Bug#727708: requirement of non-forking startup protocol

2014-01-02 Thread Zbigniew Jędrzejewski-Szmek
| 8. Policy rules for support for init systems must: | |(a) Specify the use of a non-forking startup protocol (for |upstart and systemd), I'm not sure about upstart, but systemd is perfectly happy with daemons which double fork (Type=forking in systemd parlance). It is mildly discoura