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.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,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 2C11230C3C for ; Sun, 24 Nov 2024 11:57:46 +0100 (CET) Received: (qmail 15993 invoked by uid 89); 24 Nov 2024 10:58:11 -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 15986 invoked from network); 24 Nov 2024 10:58:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1732445861; bh=QcC10Cjf8+HUta0Ukb0v9dYjzr6713hS89Bi6SNHcwM=; h=Date:From:To:Subject:References:In-Reply-To:From; b=Cc1Tld7ATjQ1xPYfutReFuAmYUSseWmal+eeXqXqLvzdC2GxYz9SxFiOtM0rvPB6y s4qPdOMAo/3MXeKeTAhMeN1bUDGgG//fet3LOUw4N5B9kH7z2N21iBNU0udJ3bUXlI 9gnNO2U2l077F8IH9Rw3Ni2AuMSlYRiekPbwLuMI= X-Riseup-User-ID: 05A44FB31A76723CDEBAFCC2B8EC5D87E964C011320DC696241536541E9362BC Date: Sun, 24 Nov 2024 11:57:29 +0100 From: =?iso-8859-1?Q?Ho=EBl_B=E9zier?= To: supervision@list.skarnet.org Subject: Re: Reboot or Shutdown commands dont exit from tty auto Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xw30qcTcW8ZzRBEx" Content-Disposition: inline In-Reply-To: --xw30qcTcW8ZzRBEx Content-Type: text/plain; protected-headers=v1; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Sun, 24 Nov 2024 11:57:29 +0100 From: =?iso-8859-1?Q?Ho=EBl_B=E9zier?= To: supervision@list.skarnet.org Subject: Re: Reboot or Shutdown commands dont exit from tty auto Am So, Nov 24, 2024 am 09:47:56 +0100 schrieb lumaro via supervision: >Hi all, > >When I try to restart or shutdown from the tty, user or root, the >process displays a message and waits until "exit" is executed and then >continues with the restart or shutdown... > >Example: >---------- >$ doas reboot > >*** WARNING *** >The system id going down NOW! >$ >---------- >>> Then run "exit" and *shutdownd*" continues the process ... > >My scripts: I have the same scripts as you and did not experience this issue, so I gues= s it=20 comes from elsewhere. My best guess would be your tty is part of your supervised processes, and i= s=20 not torn down by your service manager until after you=E2=80=99ve closed it.= And since=20 shutdownd usually waits for s6-rc to stop the whole service tree before goi= ng=20 on, that might explain it. Ho=C3=ABl --xw30qcTcW8ZzRBEx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEElZjiR4iQkYjVEGdt6jPCPrF3Nk0FAmdDBpkACgkQ6jPCPrF3 Nk22Hg/9FSrMratqVo3iZegB8YIqjACDbv5LgfO7ILx+t+LiK53EdnzyYTHXkIbm 4+L09xWagpEBOd4Us0OvfodAb9ULwOZGVMx3KtDh3qAkRdsmd8PNykS2cSia8y9h Z5rao+BGv5IVmt5e3JBMLmYSbyhsPO8ZsvSlk8NFAVpPjdO6FRfyR7JkDJVM3BXI UmfzeWRKjCwAkJVDaa/D2CH1AdpmxykySNDDipPeC3JNR+0xh7LT98dHob299nEL ofooieijsr3QRFrNn+zhbxLfy0vEUnWSzMRLivVmsK3gvr9fgCzJPIS13cdD5xVY cNel8nDen2zCSqPxYxs6gwc3qPTjc3NUTwG+Pyf+UxgZfrVAuzF5uOM9kEoJ4DsT hcVxCauZISYF8oyKdntS2VVyrIt4jpoWqc5wJbEilVW26bG0o6E8lEfifSTCGkdZ pM+UBXH4uVGPie7XsI1VgysIehPF+y1vdH9su9oWufTo1Vk65yIImwgYjnEbAetN 1HgsFuummZBHTIkGoatZu05b7UXsaWpS9HVrrb7S16ATTF8Rel3Z8YINrq/QEwya 3lo0kv+mCmOZrDZLxnRue2W9MzV6wRjCniak5O3HoTu1RU3DpscOMw2G9g383o7w Q5bQvd3uvUn+WfvmTgBJkc2IIMDY2UWVRwoInc0MZkE5dyqxScc= =ABc8 -----END PGP SIGNATURE----- --xw30qcTcW8ZzRBEx--