From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2444 Path: news.gmane.org!.POSTED!not-for-mail From: "Laurent Bercot" Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Can s6 be enough?: was s6-ps Date: Sun, 06 Jan 2019 07:40:24 +0000 Message-ID: References: <9f647c4c-2dc3-b977-928c-ee164ba88afe@ntlworld.com> <20190105153028.28bc0bab@mydesk.domain.cxm> <20190106053901.GA16647@latitude.localdomain> Reply-To: "Laurent Bercot" NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1546760298 30513 195.159.176.226 (6 Jan 2019 07:38:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2019 07:38:18 +0000 (UTC) User-Agent: eM_Client/7.2.33939.0 To: "supervision@list.skarnet.org" Original-X-From: supervision-return-2034-gcsg-supervision=m.gmane.org@list.skarnet.org Sun Jan 06 08:38:14 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.84_2) (envelope-from ) id 1gg30g-0007qR-9h for gcsg-supervision@m.gmane.org; Sun, 06 Jan 2019 08:38:14 +0100 Original-Received: (qmail 12611 invoked by uid 89); 6 Jan 2019 07:40:51 -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 12604 invoked from network); 6 Jan 2019 07:40:51 -0000 In-Reply-To: <20190106053901.GA16647@latitude.localdomain> X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrvdeggddutdejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecupfgfoffgtffkveetuefngfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkjghfrhgfgggtgfesthhqredttderjeenucfhrhhomhepfdfnrghurhgvnhhtuceuvghrtghothdfuceoshhkrgdqshhuphgvrhhvihhsihhonhesshhkrghrnhgvthdrohhrgheqnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtnecuvehluhhsthgvrhfuihiivgeptd Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2444 Archived-At: >Eliminate dependency on udevd from oneshot startup scripts. One example among others: Kernel events are used to automatically load dynamic kernel modules. Say you need to mount a filesystem of a type that's not known in your core kernel, but you have a module for that. Either you manually modprobe everything in your initial oneshots (which is possible, but less flexible and more painful), or you just spawn udevd first and can then mount everything you need. The latter is clearly the intended use case - that's what automatic module loading is for. But you can only do that by making oneshots depend on the udevd longrun. Don't organize your system around the tools you have. You shouldn't have to jump through hoops to accommodate mediocre tools/architecture or distributor laziness; it's a losing game in the end, and the user is the one who loses. Instead, get the tools you need so your system works as painlessly as possible for the user. In some cases, you won't need a service manager; in most cases, you will. -- Laurent