From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2557 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Steve Litt Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: interesting claims Date: Wed, 1 May 2019 03:33:55 -0400 Message-ID: <20190501033355.6e41e707@mydesk.domain.cxm> References: <11997211556565598@myt6-27270b78ac4f.qloud-c.yandex.net> 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="132797"; mail-complaints-to="usenet@blaine.gmane.org" To: supervision@list.skarnet.org Original-X-From: supervision-return-2147-gcsg-supervision=m.gmane.org@list.skarnet.org Wed May 01 09:33:59 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 1hLjkc-000YMU-JH for gcsg-supervision@m.gmane.org; Wed, 01 May 2019 09:33:58 +0200 Original-Received: (qmail 3542 invoked by uid 89); 1 May 2019 07:34:24 -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 3535 invoked from network); 1 May 2019 07:34:24 -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=PbFBhhmFmi27NOn4G3PmkJ7XvylDn7gb47EFz1MAmTtrdFANn7mV6pmCiqZsbkiCPn9jmdZjhrzqiynuKVNEKnpH3f/80kRoamRCqouiL0O6SyzjpMUUg4UySoZ1FHyEfgIHaxXSZqvGm1qbAg00wEe8DUOHkMIOADDN6cTdgUo=; DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; d=troubleshooters.com; s=default; t=1556696036; bh=QtPoSZPXnTZrUT/BxZoAFoA/3Hc=; l=1420; h=X-Originating-IP:Date:From:To:Subject:Message-ID:In-Reply-To: References:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding; b=aFQ8fOHEv31+h1kIyvfQXLZPgWS+yAqnGOZ0TGh3ixK45PaHK851tW0NTvD8JhqBY 2wYDgFuxha7U7yDiqlxiwt1BkuV86KzZC2J97sgVFUFOIbZuNCFY///OiczuUzEAYK bj7Hl7pGLUnHwl3w3XdWefdXyZSdCXqmuHhvvREc= X-Originating-IP: [72.188.224.222] In-Reply-To: <11997211556565598@myt6-27270b78ac4f.qloud-c.yandex.net> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2557 Archived-At: On Mon, 29 Apr 2019 21:19:58 +0200 Jeff wrote: > i came across some interesting claims recently. on > http://skarnet.org/software/s6/ > it reads > > "suckless init is incorrect, because it has no supervision > capabilities, and thus, killing all processes but init can brick the > machine." Oh, that. First of all, Suckless Init is a PID1 that forks an rc script and then hangs around reaping zombies, but it's not an entire init system. You could make it a complete init system by using the forked rc file to run supervision systems such as daemontools-encore and the supervision part of runit and s6. And of course you'd need a shutdown script that PID1 can call when it gets signals to reboot or poweroff. So Suckless Init is the PID1 part of an init system. It's 83 lines of C. It's not an entire init system. There are three philosophies: 1) The supervision should be done by PID1: Supported by Laurent Bercot 2) The supervision should be done outside of PID1: Perhaps supported by Rich Felker in his http://ewontfix.com/14/ blog. 3) Either is acceptable and greatly superior to systemd, sysvinit, upstart, etc. This is supported by most people who like process supervision. So Laurent's words from http://skarnet.org/software/s6/ were just part of a very minor family quarrel, not a big deal, and nothing to get worked up over. SteveT