Re: Reboot or Shutdown commands dont exit from tty auto
Hoël Bézier <[email protected]> Sun, 24 Nov 2024 11:57:29 +0100
| Newsgroups | gmane.comp.sysutils.supervision.general |
|---|---|
| Message-ID | <Z0MGmX9nyACAhZGg@sparta> |
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 guess it comes from elsewhere. My best guess would be your tty is part of your supervised processes, and is not torn down by your service manager until after you’ve closed it. And since shutdownd usually waits for s6-rc to stop the whole service tree before going on, that might explain it. Hoël
signature.asc
(application/pgp-signature, 833 B)
-----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-----