Hi Bruno !

>I'm testing mostly on KVM VMs, and simulate the CTRL-ALT-DEL with the
>sendkey command from the monitor window. This is working when we are at
>syslinux boot prompt, but as soon as we launch init, then we are unable
>to reboot the VM using CTRL-ALT-DEL. I also tested on real HW with the
>same result.

A year ago or so I stumbled on a similar problem. After searching
for a while, I found the process signals being blocked (look in
/proc/PID/status, for init /proc/1/status). If process signals got
blocked, the kernel signal for CTRL-ALT-DEL (SIGINT to process 1) can't
be delivered. This is the same reason why Ctrl-C in a Busybox shell
started directly from an linuxrc script is not working as expected
(even when using cttyhack).

May be this is your problem, so check /proc/1/status when CTRL-ALT-DEL
does not work and look at the signal flags (SigBlk, SigIgn, SigCgt).

--
Harald
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to