bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Halt in X


From: Joshua Branson
Subject: Re: Halt in X
Date: Sat, 26 Oct 2024 15:57:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Joshua Branson <jbranso@dismail.de> writes:

> Samuel Thibault <samuel.thibault@gnu.org> writes:
>
>> 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.

I did run $ sudo poweroff-hurd just now on real hardware.  It was so
wild!  X continued to run!  I could move the mouse!  I could switch
workspaces.  I was not able to launch any new programs, probably because
/ was unmounted.  For 5+ minutes I was playing in X waiting for the Hurd
to shut off.  It did not.  I finally hit C-Alt-Del, and then X locked
up.  I could not move the mouse.  I could not switch workspaces.

I had to hard kill the machine.  When it rebooted, I had no filesystem
corruption!  :)

> That's another (VERY VERY VERY) minor issue. I can never remember what
> the specific hurd specific shutdown commands are.  Can we link
> shutdown-hurd, hurd-shutdown, hurd-poweroff, halt-hurd, and hurd-halt to
> 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.
>
> I wonder if my T43 has a serial console?  What sort of hardware could I
> run the hurd on that has a serial cable?

-- 

Joshua Branson
Sent from the Hurd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]