From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2804 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Steve Litt Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: The "Unix Philosophy 2020" document Date: Sat, 28 Dec 2019 01:46:08 -0500 Message-ID: <20191228014608.1dc7f43e@mydesk.domain.cxm> References: <20190831130730.ki6ma7i5curucowe@caspervector> <20190901091157.bjtfhqq6d2rg75yo@caspervector> <20190927083816.tectynx7dzlfcvb7@caspervector> <20191012173743.drzlgnrw4hib6hh4@caspervector> <20191117062644.lt6wfmqwijqqhc5w@caspervector> <20191226175258.o2nsregew6tlqlbu@caspervector> <20191227112309.3fow6vynss2ifw4t@CasperVector> <20191228022440.GA194581@cube> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="108802"; mail-complaints-to="usenet@blaine.gmane.org" To: supervision@list.skarnet.org Original-X-From: supervision-return-2393-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Dec 28 07:46:15 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 1il5rY-000S46-Uq for gcsg-supervision@m.gmane.org; Sat, 28 Dec 2019 07:46:13 +0100 Original-Received: (qmail 18481 invoked by uid 89); 28 Dec 2019 06:46:37 -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 18474 invoked from network); 28 Dec 2019 06:46:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; h=X-Originating-IP:Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:MIME-Version:Content-Type:Content-Transfer-Encoding; s=default; d=troubleshooters.com; b=THXzdp5ID9J+DO9mwZrOLwoqQkk7y7OiZVozF/amsQ+2zIZinn7CfRuiEc2ktJ6028ezION8fbCuX9GGwT90vZ+jzI9kE0N5BJqEQ9oWFiAQpCo3BJXhlUqT2ud2F9DI9TmV/QuAF1WUZwNw5Ct4NF/g4oA0uF479VGmu3fpsc0=; DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; d=troubleshooters.com; s=default; t=1577515569; bh=aUJct70sLuCVj4Ur6/j9UUKZ17c=; l=1442; h=X-Originating-IP:Date:From:To:Subject:Message-ID:In-Reply-To: References:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding; b=L+VHthamzqbV2ECr+8otsb6nQ6qZmR5SVg5wjB9ZPWyP9BivNfyU9tlAahkcBvwS9 /qdsBe5GQXKVPlzhjh3NGw0Tgz6f96XM8Xkdu/K5DGYY9MPdBpydHiyjBW0taxhMM0 WenBC77NoaUlUpJ95sb+FIIXn+1Q6mmT1VtQzuCI= X-Originating-IP: [72.188.224.222] In-Reply-To: <20191228022440.GA194581@cube> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2804 Archived-At: On Sat, 28 Dec 2019 04:24:40 +0200 Alex Suykov wrote: > Fri, Dec 27, 2019 at 07:23:09PM +0800, Casper Ti. Vector wrote: > > > I also wonder if someone on this mailing list is interested in > > actually implementing a cgroup-based babysitter as is outlined in > > the post, perhaps packaged together with standalone workalikes of > > the cgroup chainloaders (`create-control-group' etc) from nosh? I > > am still quite a newbie to actual system programming in C... > > https://github.com/arsv/minibase/blob/master/src/misc/runcg.c > > It's really simple. > > I don't think a tool like this has any actual uses, other than in > arguments with systemd fans, but I guess that alone could justify > its existance. Yes and no. IMHO... * Yes if somebody makes a separate executable whose inputs are through stdin, command line args, environment variables, and intermediate files, and whose actions consist of doing the right things with /sys/fs/cgroup/... or wherever, and which is run ONLY by a process' run script, and requires absolutely no change to existing s6 stack code. * No if any code within the s6 stack must be changed. So much good software has gone bad trying to incorporate features for only the purpose of getting new users. SteveT Steve Litt December 2019 featured book: Rapid Learning for the 21st Century http://www.troubleshooters.com/rl21