From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from alyss.skarnet.org (alyss.skarnet.org [95.142.172.232]) by inbox.vuxu.org (Postfix) with SMTP id 15B31262A1 for ; Sat, 6 Apr 2024 20:31:12 +0200 (CEST) Received: (qmail 31380 invoked by uid 89); 6 Apr 2024 18:31:38 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 31373 invoked from network); 6 Apr 2024 18:31:38 -0000 From: "Laurent Bercot" To: supervision Subject: Re: s6-rc user services on Gentoo Date: Sat, 06 Apr 2024 18:31:12 +0000 Message-Id: In-Reply-To: References: <87jzlgnzoh.fsf@gmail.com> Reply-To: "Laurent Bercot" User-Agent: eM_Client/9.2.2157.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable >I have been using `--print-pid=3D3` as readiness notification for dbus-dae= mon >for quite a while now on my user services and I haven't had any problems >with it so far. IIRC, looking at dbus-daemon code, it actually prints the >socket address first then its pid. So, I use the `--print-address=3D` opti= on >to save the socket address to a file for consumption by s6-envdir. Interesting. But it's also an implementation detail, because=20 dbus-daemon could print its pid at any time, no matter its readiness state. That's=20 why I chose to go with --print-address - but of course reading the code=20 instead of speculating is the right thing to do :) -- Laurent