From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2543 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jeff Newsgroups: gmane.comp.sysutils.supervision.general Subject: catch-all logger service Date: Fri, 26 Apr 2019 18:29:58 +0200 Message-ID: <1651241556296198@iva4-0814df7d67c8.qloud-c.yandex.net> References: <48006661556215743@iva7-8175209a746b.qloud-c.yandex.net> <42655961556240486@myt5-cf6d29327892.qloud-c.yandex.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="228640"; mail-complaints-to="usenet@blaine.gmane.org" To: supervision Original-X-From: supervision-return-2133-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Apr 26 18:30:02 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 1hK3jd-000xMM-Ej for gcsg-supervision@m.gmane.org; Fri, 26 Apr 2019 18:30:01 +0200 Original-Received: (qmail 14522 invoked by uid 89); 26 Apr 2019 16:30:27 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 14515 invoked from network); 26 Apr 2019 16:30:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1556296198; bh=/JYPx1RJyW89w1dEBuOvPhc7CrhrPu7Sw/svRl1OhWk=; h=References:Date:Message-Id:Subject:In-Reply-To:To:From; b=J3LACXSYAvQwDTIiMphtXjmSrvwiJT1CAFXnFmDcAjZe4Kn46E6GqG6GRu/HwJYut nMsKa/aUkLvMyoNFW5pwnGBf+eEW8/RZv9SMWrt3ITcJJx7iddSTxyiGS68XmupoGo U8ZSNj8okQxjYQlD+VC5O4ov9JlfxKeC7YgvE+eo= Authentication-Results: mxback6j.mail.yandex.net; dkim=pass header.i=@yandex.com In-Reply-To: X-Mailer: Yamail [ http://yandex.ru ] 5.0 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2543 Archived-At: 26.04.2019, 11:44, "Laurent Bercot" : > You need to have execline installed to run s6 anyway. true. but adding the required code to s6-svscan as daemontools-encore did would obsolete execline at least for this purpose entirely (which is a good thing IMO). it should not be to much of an effort to add this functionality to s6-svscan (and perp(d) for that). > Yes, from what I can see in the code, it works when the logdir is > in the scandir, and it seems to be the intended use. But it also > *appears to work* when the logdir is not in the scandir, and that > is not good. definitely true. but this is non intended use, so don't do it, it was not recommended in the docs in any way. (btw: this could be clarified in the doco) still a pretty artificial consideration. > We're talking pid 1 here. not in the case of daemontools-encore which you were referring to. > It needs to be *airtight*. indeed, especially excluding any read-write fs access requirements. > Running a supervision tree requires a rw fs anyway, so that's not a > problem at all. yes true, but IMO process #1 should not require read-write access to any fs for proper operation. for subprocesses this is not a problem, though.