From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2872 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: John W Higgins Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit SIGPWR support Date: Fri, 14 Feb 2020 15:38:26 -0800 Message-ID: References: <1beb6e35-d4be-60b8-fc52-af666c4fffe3@gmx.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006b3eb5059e91b4c8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="30000"; mail-complaints-to="usenet@ciao.gmane.io" To: supervision@list.skarnet.org Original-X-From: supervision-return-2461-gcsg-supervision=m.gmane-mx.org@list.skarnet.org Sat Feb 15 00:38:40 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 1j2kXf-0007g6-OI for gcsg-supervision@m.gmane-mx.org; Sat, 15 Feb 2020 00:38:39 +0100 Original-Received: (qmail 30373 invoked by uid 89); 14 Feb 2020 23:39:05 -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 30365 invoked from network); 14 Feb 2020 23:39:05 -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; bh=lzECxF6g8OXr4wy/GVTDNG7sB/+BuSVr1LVaFrAHjMA=; b=Y+bmkBCgBd+UW4Bb/Y6tP5h0YM/L5llIU5HjD/BSi+Ysmced5YEeyPAEmW6qBCVe1J Req2rz06nCHYgDVAXL5TkCVUJfDNm3O1lZIPQU0/tBNH37XPGwIRok1WsMkXY3t96cYy KwGqNKYQA+vnECVVxk5cA/P+H80q/6VAxG+FknUB+Y2VWezGc51p3tynNt/aaVYAwYYY /RlPFKIjHMhkTW36NbhxCOw0z8GK+bCA0ptKv4dJ+/5BkYn+NJbtFvVdJaAI6G6bJ/Io bESHAHPm2doWcUQQMEAo4zD+IKK9rN7+gDaYE61fRpfKl5Yi8xRJzkGYbup2bxmtMv/6 mJSw== 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; bh=lzECxF6g8OXr4wy/GVTDNG7sB/+BuSVr1LVaFrAHjMA=; b=kQpSwPVk/2ZGYSOcuYKf5i7Y3VZIALInmkBkel7MgN6GmN2L5Wibwrbal4mzniBxki DmNUulxEAUZ4Amo07WTHwUQ48FLNwi/Nezfc+T7gQUXSjnLOg0SLtLc9DsON6htaa2vd qaNL/O7WYc4XQf+rR53zPk0zwX2tQZQJ7/z37reGPayrlVN5I79chLJsAUbPbXAOVu6a RnPanj1QokgerhOklJLqNqduPicwGt5ql6r1L8MWxtxLeswNwTMQXap7ncXWKHY/6oZB OG58sN1Znf7SCuxx8TnI+owlsqxdhvQwCMV3eRCEwAEwuWr8CNJH6CQEbnlECtW1b2f3 F6Nw== X-Gm-Message-State: APjAAAWGfinirci5HBivTjmE92IJYn3YlEZ3GeqMbbdPTheEBOj+4i3H tdFK6MzsiBsoQW09ZYkKqnQa2d7z/d29oZrcgefrW0zd X-Google-Smtp-Source: APXvYqxGWzSvu75QOQTwkSsFfw+81EBvvHVgrr5qV8LswKFH4niWBNx3Y2LwWRTFy/AWHp0leZG1H63/GD5q8x2OgEI= X-Received: by 2002:aca:c256:: with SMTP id s83mr3633602oif.57.1581723517925; Fri, 14 Feb 2020 15:38:37 -0800 (PST) In-Reply-To: Xref: news.gmane.io gmane.comp.sysutils.supervision.general:2872 Archived-At: --0000000000006b3eb5059e91b4c8 Content-Type: text/plain; charset="UTF-8" Good Day, On Fri, Feb 14, 2020 at 3:18 PM Laurent Bercot wrote: > >That's a win-win > > Lengthening the supervision tree in the container and using more RAM > just to save writing one line in a configuration file does not seem > like a win to me. > > ... Besides, runit will refuse to run if it's not pid 1, so that > wouldn't work. > > I don't generally question people that are this far above my weight class on a topic - but I'm pretty sure this [1] implies that pid 1 is not a requirement. I'm also confused why my suggestion would be put down so harshly outside of the possible pid 1 issue. If one doesn't want to require a user of their lxc image to modify the config - but wants to use runit - what I suggested certainly would fit that core requirement. I made no suggestion that it was perfect - but it was an option for someone that views the reality of changing a line in a config file differently than I would. I have a boat load of issues with things that I work with that consume way more time than should be necessary. I also happened to remember having seen an init that allowed signal remapping in the past. This smallest amount of empathy for a fellow bike shed painter meant that I offered up what I remembered. My apologies for the noise. John W Higgins [1] - http://smarden.org/runit/useinit.html --0000000000006b3eb5059e91b4c8--