From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2899 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Guillermo Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit SIGPWR support Date: Mon, 24 Feb 2020 20:03:57 -0300 Message-ID: References: <20200131043919.GF12551@cathexis.xen.prgmr.com> <20200214131544.tcvmh7tqu4hu2gul@caspervector> <1f198ed8-3682-26cd-e8d5-2efc412afde2@gmx.com> <18110531581952419@sas8-7ec005b03c91.qloud-c.yandex.net> <7003111582476686@vla3-6a5326aeb4ee.qloud-c.yandex.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="92927"; mail-complaints-to="usenet@ciao.gmane.io" To: supervision Original-X-From: supervision-return-2488-gcsg-supervision=m.gmane-mx.org@list.skarnet.org Tue Feb 25 00:04:09 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 1j6Mlk-000O5X-KZ for gcsg-supervision@m.gmane-mx.org; Tue, 25 Feb 2020 00:04:08 +0100 Original-Received: (qmail 2295 invoked by uid 89); 24 Feb 2020 23:04:34 -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 2288 invoked from network); 24 Feb 2020 23:04:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=jNj828xuq4qoKCSw8uZhzs6Foiqtkcm6vbP/fiNV/is=; b=N2RL7bYOlgvF3HABNp/tvQKIEWSQQVyvqLsSCH1alFxZi5I0LMw83JoLYS2s0DJdrN EZAOgGcqUE2E0AgiwZw0QT1x0slNNogYhcR4H+LpzTHwP/XjeOADP4Nj+/9kM9U4nR6F gPtnJzzDHGvCKCMOglLfedVqnSibEbUtqkU7Cx8d3AbtvOOtU6uHYEyIltuR3Upny2GT JtPQVjX9C8vQFeqPbhpqJ06z4jIsvqPv0qPrafnPWyKqlOmXp+g7/i3NAbU32A9A+RlW WgrhoEMGPoKHGjSlSnUKgFV5gGalUzXGIdrUODa9uPBYJMdoR43AxlTtaHshkUJN6Ls/ u6Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=jNj828xuq4qoKCSw8uZhzs6Foiqtkcm6vbP/fiNV/is=; b=JEON6PL68DkjL6lZuxD0Dhau2dzDXJfOSYmm6lqb6Ov4NOhAFoSq5fSJ2y/W5GLMwf +/WJFcOiHl3FLLPv3Y7zkAq09jBOSXEPrpJs/QZzZytA3vnEZOAlpUVDwWnYsaDr4kx+ HPxa2Lvy93eM1aeq3od/Vq5JEBEAP1kAtq7R/mMWrnAHzgGE+wxoz/ajMjBHFkcrb+Fu 8Cbczo0TIqXx2HcMciu3DEAYQMgRiJGi/u0fGA5GVeM/K2Ms6ULXUsdUiCq8xrPPyqEe GHZoFSlzxlLAXCyDNQKAdrynBjr4CfglRJe5YkUyogacbhs+xfaE8PVbAg88TFPqqlMM OiYg== X-Gm-Message-State: APjAAAUA+P3t4s0TvY13YaCmBIBno5JCe7ROntnyt+juxS4PMt5rARjK 1OMtrOHJwfoIQVe/84fScMmyw5tihZzU+8vKKwLX0ZDl X-Google-Smtp-Source: APXvYqwKc5KH0xoFKi/Letl3R2mmafBXdMcktq0QaTMRr0423aRJwwjaFI/j2MOdtD0gl6TJq+06Lc0LnsiGarp3kFQ= X-Received: by 2002:a92:9f92:: with SMTP id z18mr62292709ilk.38.1582585446923; Mon, 24 Feb 2020 15:04:06 -0800 (PST) In-Reply-To: Xref: news.gmane.io gmane.comp.sysutils.supervision.general:2899 Archived-At: El lun., 24 feb. 2020 a las 19:25, Laurent Bercot escribi=C3=B3: > > I purposefully did not add a default SIGWINCH handler, because > sysvinit does not come with a default kbrequest in /etc/inittab. > I added a SIGPWR handler that performs a regular poweroff because > it sounds like a sane default for a power failure. I see. I couldn't tell whether the omission of .s6-svscan/SIGWINCH was intentional or not. > The output of s6-l-i-m is only a baseline, a starting point; > it can be tweaked for arcane stuff such as non-default shutdown and > kbrequest. OK. G.