CentOS/RHEL 5 Kickstart reboot error
Posted on 2007-10-15
I'm having a problem with CentOS (RHEL) kickstart installs on Dell 1435 and 2850 servers. Everything works fine right through the post install script until the very end, which is the reboot command. In fact, I've tried reboot, init 6, shutdown -r now. Each time I see this error:
init: /dev/initctl: No such file or directory
shutdown: /dev/initctl: No such file or directory
From the shell console I can see that the file is indeed not there. Looking on running systems I see that this file is a fifo pipe and is open by init:
[root@server1 ~]# ls -l /dev/initctl
prw------- 1 root root 0 May 30 07:14 /dev/initctl|
[root@server1 ~]# fuser /dev/initctl
I've tried creating the file in my post install (mkfifo /dev/initctl), but obviously I can not make the init process open it. I get a different error which I did not capture, I think that it could write or read to the file or something. (Also, issuing these commands from the shell console works fine.)
The problem with this is that I have to physically go to the server and hit a key to get it to reboot--which is a pain not only because I have to hook up a kvm, but because the servers are across the city.
I've searched around but haven't found a solution for this. Anybody else encountered this? Anybody have a work-around?