Bug#733452: init system daemon readiness protocol

2014-01-01 Thread Tollef Fog Heen
]] Ian Jackson > (Sorry, 2nd copy here because I missed up the change of To field in > the previous one.) > > cameron writes ("Re: Bug#733452: init system daemon readiness protocol"): > > I was curious: why should SOCK_STREAM be used instead of SOCK_DGRAM in

Bug#733452: init system daemon readiness protocol

2013-12-30 Thread cameron
On Mon, Dec 30, 2013 at 9:38 AM, Ian Jackson wrote: (Sorry, 2nd copy here because I missed up the change of To field in the previous one.) cameron writes ("Re: Bug#733452: init system daemon readiness protocol"): I was curious: why should SOCK_STREAM be used instead of SOCK

Bug#733452: init system daemon readiness protocol

2013-12-30 Thread Ian Jackson
(Sorry, 2nd copy here because I missed up the change of To field in the previous one.) cameron writes ("Re: Bug#733452: init system daemon readiness protocol"): > I was curious: why should SOCK_STREAM be used instead of SOCK_DGRAM in > your proposed protocol? SOCK_DGRAM sock

Bug#733452: init system daemon readiness protocol

2013-12-30 Thread Ian Jackson
Tollef Fog Heen writes ("Bug#733452: init system daemon readiness protocol"): > Ian Jackson: > > I conclude therefore that we should design another simple protocol - > > preferably, a variation on one of the existing ones - and have (at > > least) both Debian

Re: Bug#733452: init system daemon readiness protocol

2013-12-29 Thread cameron
Hello Mr. Jackson, I was curious: why should SOCK_STREAM be used instead of SOCK_DGRAM in your proposed protocol? Have you seen Lennart Poettering's pastebin of a short daemon side implementation of that protocol: http://fpaste.org/64821/32737713/? It meets all your desired criteria, it is u

Bug#733452: init system daemon readiness protocol

2013-12-29 Thread Tollef Fog Heen
]] Tollef Fog Heen > ]] Ian Jackson > > > I conclude therefore that we should design another simple protocol - > > preferably, a variation on one of the existing ones - and have (at > > least) both Debian's systemd and Debian's upstart implement it. > > I think you're into ever-multiplying pow

Bug#733452: init system daemon readiness protocol

2013-12-29 Thread Tollef Fog Heen
]] Ian Jackson > I conclude therefore that we should design another simple protocol - > preferably, a variation on one of the existing ones - and have (at > least) both Debian's systemd and Debian's upstart implement it. I think you're into ever-multiplying power socket standards territory here.

Bug#733452: init system daemon readiness protocol

2013-12-28 Thread Nikolaus Rath
Ian Jackson writes: > (I have cloned the bug for this, to keep this particular > sub-discussion separable.) > > As I have reported, we have a problem with non-forking daemon > readiness protocols. "We have a problem" seems a bit exxagerated to me. So far, the only problem that I have seen is that

Bug#733452: init system daemon readiness protocol

2013-12-28 Thread Russ Allbery
Ian Jackson writes: > The systemd protocol is troublesome because it requires too much code > in the daemon, leaving the daemon author with the trilemma which has > previously been discussed. This statement as written is only true if you're unwilling to link with a shared library, a stance that

Bug#733452: init system daemon readiness protocol

2013-12-28 Thread Ian Jackson
(I have cloned the bug for this, to keep this particular sub-discussion separable.) As I have reported, we have a problem with non-forking daemon readiness protocols. There are two competing protocols that I'm aware of (not counting the protocol implied by daemon(3)): upstart's, where the daemon