From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23471 invoked from network); 28 Jan 2021 19:55:46 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 28 Jan 2021 19:55:46 -0000 Received: (qmail 20494 invoked by uid 89); 28 Jan 2021 19:56:10 -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 20487 invoked from network); 28 Jan 2021 19:56:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=Rsy7diIY5dMDOqpw5d3Sdyw+SrvWR49NTD+o23uLwWM=; b=bbF2w9kAA8AY4OeK6LL4wZsrFEwJtielJJFVUrx7rkDvQI/Cdcel0D9lnYM4h7ePo6 B2ltizuK7jw7mFsm+C0tLpHrO3GhQHRBlQXLwqciQI7kkHtObeeNdd/slJn9UIZyrqvx m2pLwHjC5bDefkMDWk2jLHF9eNtZtPiG3wP3EWlboybDDA2kpilKKHu5+mc8gO5noSp/ VAhWO1ISvPHQHM316fCO6PsuObRj9iCfods9OchvtJzW06j35Hvszam3GpgZKeFDoQjk sNFLg35SKNk/YF2vvJHjl34K6pgaR37F1DinzTKkg11+awr6QinRZSexKib+8y4vNHDU s0Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to; bh=Rsy7diIY5dMDOqpw5d3Sdyw+SrvWR49NTD+o23uLwWM=; b=OFM/9g9sYar2egat57ceBmEZqDCPtKZb4Ozml9qeyLsvOOL83Kkn/EN+upJd/vRvMW +ChaNNgSd6puFSoCX0ahDCK48ODcXUcaBpHQ0CGDgamJACaYYVDKoQDnHcuzNEuxSK+p inPVbEDyi/RQLkDnhKe5Dh38Hr5HL2Tu/Hq0h4B59mm0uzy/VnEBkxC+sAqufwyNBTAk H61RK1NyD3J2PinC9I9ZM8sCjARhDK0x7h4QXuWBmrf5XjwhE4+8A/1b8Dafuuv09Q1N NW/36U7LzTrQ3rwBA361Ves+w0XjEq3zk1+Z7oHyEvv/S0hnyzWQJJv16UoLIluOGAEi lYAw== X-Gm-Message-State: AOAM533s3IlNyJQ9NYvli+kn+reRaTsK/li9ylUm+7jt1Noq5ck3MEyK rLqybvsLHbxn8K56oKd6QH/+7Mak2Ik= X-Google-Smtp-Source: ABdhPJyjqPwhew6fBXjn1TKalVeJAMqvctxWeOXAUuCLukS63/T+DzhL8HH+85DWLPXvhkW/dkc03A== X-Received: by 2002:a7b:c20b:: with SMTP id x11mr743895wmi.107.1611863743517; Thu, 28 Jan 2021 11:55:43 -0800 (PST) From: "Casper Ti. Vector" X-Google-Original-From: "Casper Ti. Vector" Date: Fri, 29 Jan 2021 03:55:37 +0800 To: supervision@list.skarnet.org Subject: Re: Some suggestions on old-fashioned usage with s6 2.10.x Message-ID: Mail-Followup-To: supervision@list.skarnet.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Thu, Jan 28, 2021 at 05:21:59PM +0000, Laurent Bercot wrote: > There is no really good solution, and I prefer a short, sharp pain > (when things break) followed by relief (when they're fixed) to a long > dull ache (maintaining compat code). I see. I personally prefer to retain compat code if said code is so small that it can hardly be incorrect, especially when the breakage (like kernel panics) can be very severe. Arguably a major stylistic difference. > You seem to have found the proper way of managing this with SIG files, > but just in case: "s6-svscanctl -tb" will net you the old behaviour. Now I see; thanks. I also realised that the revised `s6-svc -X' proposal would result in wrong behaviour when there exists a `./finish' script, because the supervisor would exit early (and prematurely). BTW, seems to be returning empty HTTP replies now; both and work as expected though. -- My current OpenPGP key: RSA4096/0x227E8CAAB7AA186C (expires: 2022.09.20) 7077 7781 B859 5166 AE07 0286 227E 8CAA B7AA 186C