From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2868 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Casper Ti. Vector" Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit SIGPWR support Date: Fri, 14 Feb 2020 22:25:30 +0800 Message-ID: <20200214142530.jv6u6ytj7hrfcqnz@CasperVector> References: <20200131043919.GF12551@cathexis.xen.prgmr.com> <20200214131544.tcvmh7tqu4hu2gul@CasperVector> <1f198ed8-3682-26cd-e8d5-2efc412afde2@gmx.com> <20200214135754.lt5vdpcvpql5tplt@CasperVector> <685e7449-48e8-715e-eb1c-6751542f3500@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="115279"; mail-complaints-to="usenet@ciao.gmane.io" To: supervision@list.skarnet.org Original-X-From: supervision-return-2457-gcsg-supervision=m.gmane-mx.org@list.skarnet.org Fri Feb 14 15:25:37 2020 Return-path: Envelope-to: gcsg-supervision@m.gmane-mx.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by ciao.gmane.io with smtp (Exim 4.92) (envelope-from ) id 1j2buS-000Tsa-GQ for gcsg-supervision@m.gmane-mx.org; Fri, 14 Feb 2020 15:25:36 +0100 Original-Received: (qmail 17127 invoked by uid 89); 14 Feb 2020 14:26:02 -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 17120 invoked from network); 14 Feb 2020 14:26:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=elcFQF+7SjsKZHABcJvhHMtrLYNwvffkKJZdJlvTnGI=; b=r3kgYUt8W9n6kQv2/SG68TyW4tk8x0qMXGYqaZ8DiCJayvjNzQ8LzpccPpsbNhqgJf FTGJD52Z3lbEt8ZGvuRG3PRDmZVAQO9c2/Zmf1wxI0A6YsFD81JQN8vbdeQJM0R7YuxE 857okUym8G4NryNFMaxgx/FrwnDKJWnSrePJ/MKnad2vaE7Ve41g+2IFiXenh8eJ++PK 3z6pqvI82ZHauoW9mxhhiPAQLlS4YW7mdMTFRwYb9+mf3qFsXdW6ii+WCwfPouBDTIY0 oB/UjjnbB3kCxTZKkYik8yNk4bEEwf0OH8srKthrfMDt8vsMZhsZsRnZK4/L71lg057k UJGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to; bh=elcFQF+7SjsKZHABcJvhHMtrLYNwvffkKJZdJlvTnGI=; b=ED6pC8RzOiChDX35J5aUphnLy3RqmPVvcnddcZEx/SrW7vDPYLvYS6JzdeYdAMkAl1 DrrXF/2JgOB5qxUQ/2aKlgqcUog6eSQ4OMBohUQeADlXQ4tteKjwb5FZUKge1J5do3Az xR6/XJylXL6P8Vb/xmG5P/faodWbQG05JthShQCDHpZnsEFqG0FIe6J6qh+ZWNrwsN/C dLI6fuDt1Tm/goDmyBQISj0wf36E6s2FDtggntdD7/psAo70zoG0jenkSvoe4/Hy9axa FyHGDnT1xzHzHsiM+AVoDjED9r96L7aT2U87l0lVFKu6Curu9g+pVHCPfd9b2EveWF2i Vtow== X-Gm-Message-State: APjAAAVjFg2burZZqR3kAwOrspjlpWi/h4mr/XMe4B4NwbKpIg6xEwvn wC+WBRLOHDqlokiuW3c0UxDarioq X-Google-Smtp-Source: APXvYqwxj3yDY7koqS11nTPvQu3wF+tlMUhgceKufRP3X7SWkBLkozYrfDjB4L2EndC2eQujjHhZlQ== X-Received: by 2002:a5d:66cc:: with SMTP id k12mr4259332wrw.72.1581690334466; Fri, 14 Feb 2020 06:25:34 -0800 (PST) X-Google-Original-From: "Casper Ti. Vector" Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <685e7449-48e8-715e-eb1c-6751542f3500@gmx.com> Xref: news.gmane.io gmane.comp.sysutils.supervision.general:2868 Archived-At: On Fri, Feb 14, 2020 at 05:06:40PM +0300, innerspacepilot wrote: > If you read it carefully, there is NO signal for shutdown. > Or lxd should also create file /etc/runit/stopit and set permissions for > that? Here runit provided a small machanism, and you also need a policy, like those from Void or Gentoo. Someone can provide a container template with a given policy, and then the user does not need to care about creating it by himself. The same goes for many other init systems. > Also what complexity you are talking about? runit.c is only 346 lines long. Note the word "coupling" I used: . -- My current OpenPGP key: RSA4096/0x227E8CAAB7AA186C (expires: 2020.10.19) 7077 7781 B859 5166 AE07 0286 227E 8CAA B7AA 186C