From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2743 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Laurent Bercot" Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: s6 usability (was: runit patches to fix compiler warnings on RHEL 7) Date: Mon, 02 Dec 2019 22:20:43 +0000 Message-ID: References: <20191125214342.y7lx5mixrljr6s27@gromit.local> <20191127203307.ohaameqfgncm52h5@gromit.local> <20191129140901.klifpegc74iv4zul@klumpi.ignorelist.com> <1207651575124321@myt6-636ea6dfd460.qloud-c.yandex.net> <6836761575288475@iva7-56e9317134d0.qloud-c.yandex.net> Reply-To: "Laurent Bercot" Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="197834"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: eM_Client/7.2.36908.0 To: "supervision@list.skarnet.org" Original-X-From: supervision-return-2332-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Dec 02 23:20:44 2019 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1ibu3g-000pId-8m for gcsg-supervision@m.gmane.org; Mon, 02 Dec 2019 23:20:44 +0100 Original-Received: (qmail 3959 invoked by uid 89); 2 Dec 2019 22:21:09 -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 3952 invoked from network); 2 Dec 2019 22:21:09 -0000 In-Reply-To: <6836761575288475@iva7-56e9317134d0.qloud-c.yandex.net> X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrudejhedgudeiudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfpfgfogfftkfevteeunffgpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgjfhhrfgggtgfgsehtqhertddtreejnecuhfhrohhmpedfnfgruhhrvghnthcuuegvrhgtohhtfdcuoehskhgrqdhsuhhpvghrvhhishhiohhnsehskhgrrhhnvghtrdhorhhgqeenucfrrghrrghmpehmohguvgepshhmthhpohhuthenucevlhhushhtvghrufhiiigvpedt Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2743 Archived-At: >sure, that was just an idea for Jan, he could just create a dir somewhere, >populate it with symlinks he prefers to the original s6 tools and put this = dir >in front of the PATH when running s6 since it seems the utilities do not b= other under what name they run. Right, but I've heard enough people complain about s6's UI that a=20 one-stop wrapper command sounds like a good idea anyway. >ok. i was more about insights into the design of the whole s6-rc toolset. >are the up/down scripts run by a dedicated service from within the supervi= sion >tree? what exactly is the task of the "s6-rc-oneshot-run" and >"s6-rc-fdholder-filler" internal programs ? how is the startup organized, >how are "longruns" and "oneshots" intertwined ? > >having to read the sources to get this information is somewhat inconvenien= t. This is exactly what I was saying: I'm not documenting those details because I don't want to be bound by them. The s6-rc-fdholder-filler API changed right before 0.2.0.0; making this necessary change would have=20 been a lot more difficult if people had relied on details of the interface. If you're doing something that requires knowledge of the internal=20 programs, you're definitely good enough to read the code. :P -- Laurent