Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit:
> - One cannot do `# halt` when running X. [This is a known
>   issue.](https://darnassus.sceen.net/~hurd-web/faq/x-exit/)

No, the faq entry is about the normal session shutdown, due to a missing
kill() functionality.

Halt not being able to kill the X session is another concern. It would
need to be tracked e.g. using a serial console, to check what process is
lying behind, and that the initscripts don't manage to kill. Normally
they are able to kill -KILL them after some (not too long) time, it
should be checked why that's not happening.

>   I should try this again and see if I can ssh into the machine at
>   this state.

You shouldn't be able to since halt turns down all daemons etc.

>   Not being able to run `# halt` will confuse the casual user.
>   So to halt my machine, I still have to kill X, then run `#halt`. I
>   tried running shutdown-hurd from inside X, as per Samuel's request.

Not shutdown-hurd, but poweroff-hurd.

>   Weirdly enough, after I pressed return on that command, I could
>   still move the cursor.

That's not really surprising since since poweroff-hurd only cuts the
base translators, without taking care of termination daemons etc.

> It took X maybe 5 or so minutes before it
>   locked up on me and stopped accepting mouse movements.

That, however, is surprising. Again, using a serial console would allow
to know what is actually happening.

Samuel

Reply via email to