From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2910 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: Sat, 29 Feb 2020 15:20:53 -0300 Message-ID: References: <1f198ed8-3682-26cd-e8d5-2efc412afde2@gmx.com> <18110531581952419@sas8-7ec005b03c91.qloud-c.yandex.net> <7003111582476686@vla3-6a5326aeb4ee.qloud-c.yandex.net> <77a6d0d5-f292-b225-e9b9-77c290394b47@gmx.com> <20200224152617.GA28493@mail.hallyn.com> <5f5e0473-4ed1-58c0-26af-2eabf43232b0@gmx.com> 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="112339"; mail-complaints-to="usenet@ciao.gmane.io" To: Supervision Original-X-From: supervision-return-2499-gcsg-supervision=m.gmane-mx.org@list.skarnet.org Sat Feb 29 19:21: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 1j86jd-000T6R-9g for gcsg-supervision@m.gmane-mx.org; Sat, 29 Feb 2020 19:21:09 +0100 Original-Received: (qmail 20245 invoked by uid 89); 29 Feb 2020 18:21:33 -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 20238 invoked from network); 29 Feb 2020 18:21:32 -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=2lMlKoRL975cCKY5ZHOvJrvKxziTImiqmsihXep0HGI=; b=S76y5yZYnUWfXoY7roOTNezu5RF5unXlyKkFsUu1/0RY+cdo4nMthEoeLPKJuCmQlg YJmaFtvPbxANeq8SAhhl6tmVg2nLRQhFNQ086Klh8kQfv2xKUQTnRx4WVd2yGySxfG5O VnqGKj1qIF4G0mLoyI/ujPw9PZpyzdgWt0eWh/DErB5mcjqDJeJEses8LVih5apvhZjL Lj1Azcwhr8jJeT6wocOTj0qvw0dM/aKRPnM6D0kwqvdmV30QA4p5Mhadkp2OoXNxhFiv XAGcNdyYhX3z7dH/5b4mfgIo3qS8jrLXiSgKWMYzy78/tR1Bwqgxj7WYctK6kFPgqR0M OR6w== 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=2lMlKoRL975cCKY5ZHOvJrvKxziTImiqmsihXep0HGI=; b=agvvrgicXlp8hr7o/TIiZG4WD0KK+ECaDbyTJpik5YEL+b6SDWobzV5/jX1RgvyNIV KQ0tuoM87VmmRkr23IRoc0aLjLfIiNNgGx6Jqigx61AevPMGdHFw+0mqRApZ04hkCAUy scmvsbjlPdeVRmZKM6E2GV8fPErRPyDXbvXwegRrA1wC+ht1bE8cjhyLNVSO87DLlFaw Db3YS7vrG+eEDb/58JSrQaPCWW4kdTNuscTXZI8u0qi3jxP/3Z4sb6mWeyZ0SOH+eg9Z V76h25lkktkg0pEfpfukQ8PTdyhD5hhPBe4rUkeqNzawAGWFzcGwEY9Figf7fJBwP5+G tFig== X-Gm-Message-State: APjAAAV+DrOdu1M5Sh9T+Xe5kxC4z6OtVSt5tuq2b6accqkq5evTCq3S BxBu0oqNGWpMIjvof1NpYNpjCMfWcrXU9FmsmeE9kg== X-Google-Smtp-Source: APXvYqzawf8fu7xAv79atKzfAHxwnFW0/HUFn3TsVjpmwvDUOW3hX9bjVm19awkE1OJnJw6HRfjEATYyGiWOdb9K7c8= X-Received: by 2002:a92:9913:: with SMTP id p19mr10064012ili.38.1583000463054; Sat, 29 Feb 2020 10:21:03 -0800 (PST) In-Reply-To: <5f5e0473-4ed1-58c0-26af-2eabf43232b0@gmx.com> Xref: news.gmane.io gmane.comp.sysutils.supervision.general:2910 Archived-At: El mi=C3=A9., 26 feb. 2020 a las 5:07, innerspacepilot escribi=C3=B3: > > I have checked openrc and busybox - both support SIGPWR. BusyBox init does support SIGPWR, it is equivalent to SIGUSR1, the signal sent by the 'halt' applet. However, if by "openrc" you mean openrc-init running as process 1, then no, it does not support SIGPWR. At least, not openrc-init from upstream OpenRC. It only reacts to SIGINT (reboot) and SIGCHLD (reap). And if OpenRC is used only as a service manager, behaviour of SIGPWR will be defined by the program that happens to be running as process 1. G.