From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2864 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: innerspacepilot Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit SIGPWR support Date: Fri, 14 Feb 2020 16:39:28 +0300 Message-ID: <1f198ed8-3682-26cd-e8d5-2efc412afde2@gmx.com> References: <20200131043919.GF12551@cathexis.xen.prgmr.com> <20200214131544.tcvmh7tqu4hu2gul@CasperVector> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="32682"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 To: supervision@list.skarnet.org Original-X-From: supervision-return-2453-gcsg-supervision=m.gmane-mx.org@list.skarnet.org Fri Feb 14 14:39: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 1j2bC0-0008MJ-Bw for gcsg-supervision@m.gmane-mx.org; Fri, 14 Feb 2020 14:39:40 +0100 Original-Received: (qmail 14728 invoked by uid 89); 14 Feb 2020 13:40:00 -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 14721 invoked from network); 14 Feb 2020 13:40:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1581687571; bh=UIHfN/FZpFn3IrkP5i9C0jPOArTkIIR8sZb+EYCFv9Y=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=W9UEsr1DxHhZncfNn86Io1qRRZ/xAP2u+SrIiyCe07J1UpplJ7YtfD5eLFZkuRNSz 2YFUQeqmjKcnP0Ii/ves2hv3erE3++JBukJ5ejnsBWAuYGpRK1NbNCZxA7J7VMmzEl O5kWDmWWGOQohdG/pJfb7fM62kb8Dr/HH+i9eW2A= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c In-Reply-To: <20200214131544.tcvmh7tqu4hu2gul@CasperVector> Content-Language: en-US X-Provags-ID: V03:K1:/78y6dHUB6Zj+1g/y5ppvDkv9g0hJGudq6BIAGYZuCFwAKu5dNO MQj6pU6y8IsKbQdnEZaXzldHb4u1oJxG93QS81Y43quCuaA4hCBb5rVhLudXS89/OPZpe4h OUM4X2klBekWWZgkWF21bpyTlp1IjG3ecNZb99tWO2BkfRjEg7AXfqcOyoeLNUMeKL8SRNN IJwHFMwYJzfC7RVd47AwQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:NMPTR65HkOU=:H/Xuv+TJcTF5y9gWYVeSKU 4j5H4b8uN7LvWHHINvOP4dbGa+TfPxYcI/QHwByHHP37Oykxz3vE5i+OjNAbxL8peuLTvLfSP ZYcXCE3F7vnCBYb+UchIlixAHHEoNz1WnbL/I9FwojtQTDlR4qIeoO6HmFkKyGxnk4bTHQ+Xf KudyZts8lU5zYjkQZlZfJqQk5fLc++9NSaMKGRwB0aueGsqVIkfLxFXENXnXc+GpsoZKRIfFo 2kxTs6sW7ZhwvHhEQYENU7qPIWbeZ4iGBXe/VOTFogRrw2lVtihvDaJd6fl1CLIg1IyDzE/si EY8zXCeWqp1eLCxz2WoXgTRSaLvxgr8LDfxoaDDpDvOxdqfIRC2DGv2wAPS5nRe+0EMGj33zt FILVMQCeWqC43JzU8gl1dKg5On3To0Ak5/0NCGsUAPPalPePL5QAiDEIZujz7ZszfL4ugV3e9 6tLBn34ZALt+kAvY70zPldgQsB0YmrSfX/UtYqdh6eMCFvkOT8w9y4KJQtfSuIkyQSEkAn/9S i3yjDa5G/sWdiQbOBD9CBRq3MKkkTJJvkjokwUCHk2Nvpis6/POixuWEXh6PC4d5/vAsTFJ7V nJ+PYmk1o0ZjAmIw8Abo7Q+ELWOYdETA1jUpTWmTzrUpWhMA0BSuybu7aLyBiTifj3aFAi8MF ijyYlH2s2f3NlA6FCGrsc6bpgv5dLUjP9Bul4b78yAuslSvGqiUjZOCsqLtQFK8EUZfLmC9zw nASHt2JVNWOrv4wStatzYqpWmx937x+Z5y6PftqKXn3PlQSNrH16ahxHJn0ToL2vEUMR3OEw Xref: news.gmane.io gmane.comp.sysutils.supervision.general:2864 Archived-At: On 14.02.2020 16:15, Casper Ti. Vector wrote: > On Wed, Feb 12, 2020 at 05:25:56PM +0300, innerspacepilot wrote: >> Why not just make runit systems run inside containers out of the box? >> We are talking about one/two lines of code. > Likewise `lxc.signal.halt' only needs one/two lines of code. It is also > a interface with well-defined semantics. Modifying runit source code > touches the implementation, with all the potential coupling between > modules and/or between submodules. So the increase in total complexity > of the system is almost certainly smaller when using `lxc.signal.halt'. You mean that adding few lines of code in one place is worse than many users of many distros must configure their containers? I can configure that myself, but I don't want every user of runit driven container to walk this path. Is it necessary? Also there is a huge lack of documentation about it on the net, especially on signals that runit accepts. It adds complexity to users, and that means users will choose other distros which just work. > >> Why can't we be just a little bit more friendly to each other? > Let's see some more examples. Some daemons (eg. mysqld and php-fpm) > use a signal other than SIGTERM for graceful shutdown, and s6 uses a > `down-signal' file (similar to `lxc.signal.halt') for these daemons. > Instead of modifying the daemons, we configure s6 specially; likewise, > here I would definitely prefer `lxc.signal.halt'. >