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.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15036 invoked from network); 4 Dec 2020 06:30:01 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 4 Dec 2020 06:30:01 -0000 Received: (qmail 1790 invoked by uid 89); 4 Dec 2020 06:30:26 -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 1783 invoked from network); 4 Dec 2020 06:30:26 -0000 From: "Laurent Bercot" To: Guillermo , "supervision@list.skarnet.org" Subject: Re: s6-supervise: use of nosetsid Date: Fri, 04 Dec 2020 06:29:59 +0000 Message-Id: In-Reply-To: References: Reply-To: "Laurent Bercot" User-Agent: eM_Client/8.0.3385.0 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrudeijedgleeiucetufdoteggodftvfcurfhrohhfihhlvgemucfpfgfogfftkfevteeunffgpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgjfhhrfgggtgfgsehtqhertddtreejnecuhfhrohhmpedfnfgruhhrvghnthcuuegvrhgtohhtfdcuoehskhgrqdhsuhhpvghrvhhishhiohhnsehskhgrrhhnvghtrdhorhhgqeenucggtffrrghtthgvrhhnpedvgfevffeuleegvdektdffteegvdeiieefkeetgfeuheffheelheejhfevueeijeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhht >It seems I missed the addition of s6-svscan's -X option; I saw it one >day in the output of 'ps' on a VM that was using s6-linux-init, didn't >recognize it, but then forgot to look up what it did :P But I would >have to 'tag' messages in some way, so that the catch-all logger >recognizes them and sends them to the terminal, right? Yes. That's why it's the "advanced" solution over just leaking a fd for /dev/tty. > Anyway, nosetsid + /dev/tty is still the simplest implementation, I >have to admit. The more I think about it, the more I see any use of nosetsid as incorrect. Implementing SIGINT handling for s6-supervise requires jumping through serious hoops if the nosetsid function still exists, and the point of my current work on s6 is to get things simpler, not more complex. I'm leaning more and more in the direction of removing nosetsid, which is why I want to help people find other ways to accomplish what they're currently doing with it. -- Laurent