El 2024-11-24 11:57, Hoël Bézier escribió:
> 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
Hi !
Thank you for the prompt response, indeed "agetty" is supervised.
s6-svscan-+-at-spi-bus-laun---3*[{at-spi-bus-laun}]
|-firefox-+-Isolated Servic---30*[{Isolated Servic}]
| |-5*[Isolated Web Co---27*[{Isolated Web Co}]]
| |-Isolated Web Co---35*[{Isolated Web Co}]
| |-Isolated Web Co---31*[{Isolated Web Co}]
| |-3*[Isolated Web Co---26*[{Isolated Web Co}]]
| |-Privileged Cont---27*[{Privileged Cont}]
| |-RDD Process---13*[{RDD Process}]
| |-Socket Process---5*[{Socket Process}]
| |-Utility Process---4*[{Utility Process}]
| |-Web Content---19*[{Web Content}]
| |-2*[Web Content---18*[{Web Content}]]
| |-WebExtensions---26*[{WebExtensions}]
| |-firefox
| `-128*[{firefox}]
|-foot-+-mksh
| |-mksh---pstree
| |-mksh---vim---{vim}
| `-48*[{foot}]
|-3*[footclient]
|-gvfsd---3*[{gvfsd}]
|-2*[s6-supervise---s6-ipcserverd]
|-4*[s6-supervise---s6-log]
|-s6-supervise---s6-linux-init-s
|-s6-supervise---agetty
|-s6-supervise---dbus-run-sessio-+-dbus-daemon
| `-sway---23*[{sway}]
|-7*[s6-supervise]
|-s6-supervise---seatd
|-s6-supervise---ucspilogd
|-s6-supervise---udevd
|-s6-supervise---s6-fdholderd
`-swaybg
Would it then be correct to remove agetty from the supervised?
Thanks, Luis.
Received on Sun Nov 24 2024 - 13:26:17 CET