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=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, 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 88DD6259BB for ; Sun, 24 Nov 2024 15:46:42 +0100 (CET) Received: (qmail 25409 invoked by uid 89); 24 Nov 2024 14:47:07 -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 25397 invoked from network); 24 Nov 2024 14:47:07 -0000 X-Virus-Scanned: SPAM Filter at disroot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1732459595; bh=A3nFYGIuJ5HVxWAjD6dUA/MUeNWTkx3K0VpbT+qM40I=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=BBuT+L6J80fr2ARs5Nuu8e1ezPLfkPrEh7BLCglk3Fmz5qdBFRgqxNGZHodMRP1qE smg5PHNGuhL2tfJLRIk1ycrylQZHYcEgXnWGPfyf7aHnjR8JQ4l7kQaziu294AqYf1 JU/Gb3rdApf44qFW+Tyzncs0xwUsVHluZnysnGjOcAedzZcAee9t+kBKfAvHmnRPve tEi4pdWqHj0G/5YfaSAi5fTyTCfpHnqvJVJpLdj+nu47k3KGhEGTk8q0DYqP6jIUNG gaDyhEYIs1ZzijR2KFh4vqwr+5NdGQJGiC51HLa+9RyV0WB6hzSecOmiTBIpo2csH9 iBpdp6azJqNqg== MIME-Version: 1.0 Date: Sun, 24 Nov 2024 15:46:35 +0100 From: "lumaro via supervision" Reply-To: lumaro To: Laurent Bercot Cc: supervision@list.skarnet.org Subject: Re: Reboot or Shutdown commands dont exit from tty auto In-Reply-To: References: <94f3877d06721f3f2251128b70239fea@disroot.org> Message-ID: X-Sender: lumaro@disroot.org Content-Type: multipart/alternative; boundary="=_bdb5c94d87e7b12aeb28fda3ec1709dd" --=_bdb5c94d87e7b12aeb28fda3ec1709dd Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed El 2024-11-24 13:49, Laurent Bercot escribió: >> 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 Thank you Laurent, it works perfectly with that "echo", at least I'm not crazy xDD Can I do anything to make my agetty behave compatible or accept this signal? The solution would be to implement ngetty? Thanks again, Luis. --=_bdb5c94d87e7b12aeb28fda3ec1709dd--