Re: [OE-core] [PATCH] xserver-nodm: Support reboot from inside X

2015-05-20 Thread Ricardo Ribalda Delgado
ping? On Mon, May 11, 2015 at 5:23 PM, Ricardo Ribalda Delgado ricardo.riba...@gmail.com wrote: If reboot was called from inside the Xserver there could happen a race condition where chvt would never end, and therefore the whole system was stalled. The user could not recover the system by

Re: [OE-core] [PATCH] xserver-nodm: Support reboot from inside X

2015-05-20 Thread Aníbal Limón
Hi Ricardo, I tested your patch and it's ok another improvement to it will be add a sleep 1 before chvt because killproc xinit don't take a defined time to shutdown and chvt didn't work because X it's running. I'll modify a little your patch and send v2 with your signature. Regards,

[OE-core] [PATCH] xserver-nodm: Support reboot from inside X

2015-05-11 Thread Ricardo Ribalda Delgado
If reboot was called from inside the Xserver there could happen a race condition where chvt would never end, and therefore the whole system was stalled. The user could not recover the system by ssh the machine or using the keyboard. Running chvt in background fixes the issue. Signed-off-by: