s6-linux-init-maker creates an .s6-svscan/SIGINT script that reboots
the computer, and Adélie Linux' packaging of s6-linux-init-1.0.2.0
appears to contain an /etc/sysctl.d/ctrlaltdel.conf file that says
"kernel.ctrl-alt-del = 0". So one might think that having the kernel
send a SIGINT signal to process 1 when Ctrl + Alt + Del is pressed is
the expected default setup. Given that this is a Linux-specific
package, and that the stage1 init is now a C program, was there a
reson for not setting this up directly with a 'reboot(RB_DISABLE_CAD)'
call, like sysvinit, runit and others do?

 Yes, this makes sense.
 I need to think about it some more, but at first sight modifying
the setting in stage 1 is the right thing to do. I didn't do it in
the first place because I directly translated stage 1 from the
execline script, which didn't include ctrl-alt-del setting because
it's policy, and didn't think further. Thanks for the suggestion.

--
 Laurent

Reply via email to