From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from alyss.skarnet.org (alyss.skarnet.org [95.142.172.232]) by inbox.vuxu.org (Postfix) with SMTP id 1198025AA1 for ; Sun, 24 Nov 2024 13:49:35 +0100 (CET) Received: (qmail 20070 invoked by uid 89); 24 Nov 2024 12:50:01 -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 20063 invoked from network); 24 Nov 2024 12:50:01 -0000 From: "Laurent Bercot" To: "supervision@list.skarnet.org" Subject: Re[2]: Reboot or Shutdown commands dont exit from tty auto Date: Sun, 24 Nov 2024 12:49:30 +0000 Message-Id: In-Reply-To: <94f3877d06721f3f2251128b70239fea@disroot.org> References: <94f3877d06721f3f2251128b70239fea@disroot.org> Reply-To: "Laurent Bercot" User-Agent: eM_Client/10.1.4588.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable > Would it then be correct to remove agetty from the supervised? No, you should be able to run a shutdown command from any terminal, the design of s6-linux-init is made for that use case. What's happening is that your agetty is resistant to the signal it's being sent, so it's not dying when it should. Some implementations of getty explicitly resist SIGTERM. So, try "echo SIGHUP > down-signal" in the service directory for your agetty. -- Laurent