From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2931 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jonathan de Boyne Pollard Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Readiness notification exemplars Date: Fri, 3 Apr 2020 07:41:25 +0000 Message-ID: <2771eb82-9e19-06a7-d15c-28633971d8b2@NTLWorld.COM> References: <20200401142122.GA30742@mail.hallyn.com> <20200401152832.GA31205@mail.hallyn.com> <20200401162600.GA31582@mail.hallyn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="2056"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 Cc: Supervision Original-X-From: supervision-return-2520-gcsg-supervision=m.gmane-mx.org@list.skarnet.org Fri Apr 03 09:41:39 2020 Return-path: Envelope-to: gcsg-supervision@m.gmane-mx.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by ciao.gmane.io with smtp (Exim 4.92) (envelope-from ) id 1jKGxO-0000LH-Mk for gcsg-supervision@m.gmane-mx.org; Fri, 03 Apr 2020 09:41:38 +0200 Original-Received: (qmail 22409 invoked by uid 89); 3 Apr 2020 07:41:54 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Original-Received: (qmail 22402 invoked from network); 3 Apr 2020 07:41:53 -0000 X-Originating-IP: [86.10.101.211] X-Authenticated-User: J.deBoynePollard-newsgroups@NTLWorld.COM X-Spam: 0 X-Authority: v=2.3 cv=E6HjW5Vl c=1 sm=1 tr=0 a=FQ5CjUvp3JFI4KFGyeqcZw==:117 a=FQ5CjUvp3JFI4KFGyeqcZw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=9cW_t1CCXrUA:10 a=N659UExz7-8A:10 a=rg2V61WcAAAA:8 a=xRmf44T1YjWna3hsR6IA:9 a=pILNOxqGKmIA:10 a=FUpHWECOOzsA:10 a=h2Zpg1Gm_F5nnxfnuFwt:22 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1585899686; bh=QMhQvkmD39VQadSAAu+SpFMz9sve5bgZ8vcMVdcxRvA=; h=Subject:References:Cc:From:Date:In-Reply-To; b=aJjsyO1wTOOrw3+va6avSKi9xEAdZTOTcKCgzbayjpPWiL+WHK5CB1nXAauf3+9AG F0IreACiyqSKrxdd3ni3rVzMiZ1n0+kLRodsY1ywMpEGP1DWGvd4zKu6ZqNKMavgPz BrlFBswwfELWuw9oNP9bJqTcCHoWXq66hCiTn9S/d33kygeXiwV+33kiLy1fFaRfGt CPinDFZP0DXPjumjXht4Nko8BS15azYeuW1Nvm31E1zky0cWZS74Y07u/398YpbeJR GYvGF+xvU7J6pPIHJnKR+J3GYYXhDse+WCHWk9Gx6j0n20UkO+KRwc4ZJtY2r2Qfjb HIOLd2ygq/2tQ== In-Reply-To: <20200401162600.GA31582@mail.hallyn.com> X-CMAE-Envelope: MS4wfCv85o7meBmIR9LxiZZkahBATNHlG8OlDcxr2ffQt+LRR/xynN8ltedrqL3esT7NuDeFPe7aadLydHKKntRnQt7KJXhy9171l50P6HLUtnPITfbU1KzH 94f+fhvmdbn9cVoEjkxBI4ULg/gqH9i478rPAMOOZvNExU/6NOSsM57yoJ8zU2wCWC6HW+WeleM+PH8MYDeGao2k1fQKBHcPutAYSnqjfG18LpgQYl+e9c3k Xref: news.gmane.io gmane.comp.sysutils.supervision.general:2931 Archived-At: Serge E. Hallyn: > If making changes to daemons were going to palatable, [...] > Clearly, it *is* palatable, given that a few people have been adding the systemd mechanism to their programs for several years, now. Pierre-Yves Ritschard's code and Cameron Norman's code come straight out of actual service programs. Serge E. Hallyn: > you are arguing for parsing stdout for a text message and/or using > pidfiles (written to an fd) > No, M. Bercot is not. Quite the opposite, in fact. The s6 readiness mechanism demands *neither* pidfiles *nor* standard output. It's *any* file descriptor (as defined by the service), and *just a linefeed* followed by closing the descriptor. I'm nodding at almost everything M. Bercot is saying here, by the way. * http://jdebp.uk./FGA/unix-daemon-readiness-protocol-problems.html