From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5196 invoked from network); 26 Feb 2022 16:13:15 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 26 Feb 2022 16:13:15 -0000 Received: (qmail 20016 invoked by uid 89); 26 Feb 2022 16:13:38 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 20009 invoked from network); 26 Feb 2022 16:13:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thescrapyard-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=A3qeBTvE6mcnahuwXsoY8eGpKE5jTgvS7DIe3M2sCtE=; b=MwpWPWrarQMw2O9DDHsax4VugK6gxAQfRihZQlk4UEME3uUK2+vUnWJnwQIzZsMLQK 8PC0kPRK5titUAcR1MwWMOoukYqpzVqxGQVD6HRMzQy7yuspHzTS6AEogCroJkhLwIR3 GpOsPGB/ftcgsnrYaG6yZ/ldb+6S2nzWYIzHKy80zQnTHFvv92sWaitKV6vlm1C0XC6q JkQ2y1yVyHlrI9xHgZhLVwn7AwpG7D7kZ8RYk1IPH26ClDZaAsm4J3Muv4ZW+ijn3QTF +fMhMTb0jkm5FHIHhDWi0RN5mWq1wRyyiXH07Tbz+WFCBp18TQ67PfsfbnJB25wqF2eV Ot7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=A3qeBTvE6mcnahuwXsoY8eGpKE5jTgvS7DIe3M2sCtE=; b=kD3Xg1Mq0eEpwyLJ8ME77p0Ynae/YTiaeJglHbg6ABoB04ebihzeXWb6MNa60LQmcf iW9LdnpCOgWS38nWbKysyt6pwSfJ+XcXbMhMQq2vqpy7wihWlB5qP/Qs2js49CrlAJHI bFbJMmCWeOIKLmJ1LJQ5mDT0qwWuCgxs5Kdkx3QVM8HuuclaX2H54cT0fQJX4jnlMlX9 /tQfVZQpbThH5nRTGsRbaI45evSj21eXNknYHqSkY6PGnn8LL7GiX5b3sZ6dGFD5BF1G 2+k9zZfeJ0HEzZ4qFIqQKwuTjbVi6Wrb7yJRpFB/qfdrqnFusKK5xledFUlth4uKCcbI kiew== X-Gm-Message-State: AOAM533esvn9fsD0AWgeMbupVpABRjlkhAG08udTu0U0ieekDs+9oseR tvGSVQGQas2j1LGI5SmBxH29oB4e2tsMZQ1t+2851KIYDQw= X-Google-Smtp-Source: ABdhPJzhH6qf+zQ+csjbbPXLzGF6KBUynG8CevO4TON6LoJ09LiBDi8uwdqCjR0XcI05DwxE251+UDsU6VhZkxN0iUo= X-Received: by 2002:a05:6a00:1687:b0:4e1:45d:3ded with SMTP id k7-20020a056a00168700b004e1045d3dedmr13213092pfc.0.1645891989959; Sat, 26 Feb 2022 08:13:09 -0800 (PST) MIME-Version: 1.0 References: <0cb9bb90-f63e-5dbe-b890-f03803b7c9e4@rlwinm.de> In-Reply-To: <0cb9bb90-f63e-5dbe-b890-f03803b7c9e4@rlwinm.de> From: Jan-willem De Bleser Date: Sat, 26 Feb 2022 08:12:58 -0800 Message-ID: Subject: Re: s6-svscan shutdown notification To: supervision@list.skarnet.org Content-Type: multipart/alternative; boundary="000000000000668a8505d8ee17cc" --000000000000668a8505d8ee17cc Content-Type: text/plain; charset="UTF-8" On Fri, Feb 25, 2022 at 8:52 AM Jan Bramkamp wrote: > I use s6-rc on the FreeBSD jail host as well to manage jails with their > own supervision trees as long running services making the jail > supervision tree a subtree of the host supervision tree. I prefer to let > s6-rc handle state transitions instead of using the more limited state > management support in the jail utility. I use one service bundle per > jail containing a oneshot to create/destroy a persistent jail and a long > run depending on the oneshot using jexec to start the supervision > subtree inside the jail. > I can see the appeal of that, using one-shots to set up the network, mounts, etc. I don't use s6-rc, but I'll keep it in mind. However, I realized I've framed the issue incorrectly: I don't care if s6 receives a SIGKILL as long as the supervised processes (including loggers) have shut down cleanly. I can use elglob/forx/s6-svc -wD to shut everything down, and just not worry about s6-svscan. - Jw --000000000000668a8505d8ee17cc--