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
Received on Sun Nov 24 2024 - 11:57:29 CET