From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2600 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jeff Newsgroups: gmane.comp.sysutils.supervision.general Subject: correct init Date: Thu, 16 May 2019 17:33:46 +0200 Message-ID: <921971558020826@sas2-c434f6e124b6.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="260622"; mail-complaints-to="usenet@blaine.gmane.org" To: supervision@list.skarnet.org Original-X-From: supervision-return-2190-gcsg-supervision=m.gmane.org@list.skarnet.org Thu May 16 17:33:50 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 1hRIOE-0015i7-65 for gcsg-supervision@m.gmane.org; Thu, 16 May 2019 17:33:50 +0200 Original-Received: (qmail 3195 invoked by uid 89); 16 May 2019 15:34:15 -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 3188 invoked from network); 16 May 2019 15:34:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1558020826; bh=c0TlXY9MNz/A1JFBwyx/iWS2y2F3kLK943WEgVZRsHQ=; h=Message-Id:Date:Subject:To:From; b=VCzt2sLbkg5e/d+lpQtsDvsi9p1+XQsezVdSWRITLRGdNa8erf4nikF6uzJeqcsxg 8kxof9M7P0AWi2xbf7lXzEPn8qllL+ctd5ZhS8Fz9veBWcWMfsuafoQ1/u+Jeg9ZgT iS50IF+j4oUfAa9WKYDqVqNbxMXF4S/0qQn8ARG8= Authentication-Results: mxback15o.mail.yandex.net; dkim=pass header.i=@yandex.com X-Mailer: Yamail [ http://yandex.ru ] 5.0 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2600 Archived-At: new postulation: process #1 should not rely on conditions that it has not previously ascertained to be true (eg by setting something up by itself, so it exists and is safe to use/rely on it). sounds self-evident ? sadly many inits do not comply with that postulation, a well known example that comes immediatly to mind is the poorly designed/though out SysV init itself. the poor crap relies on the initctl fifo for ipc, how dumb can one be ?