You are not logged in.
Well, for the first time since I upgraded to udev, I tried "init 1", and it almost worked
All of the daemons are stopped but then I get:
> Entering single user mode ...
init: /dev/initctl: No such file or directory
INIT: no more processes left in the runlevel
When I look for /dev/init, I get:
prw------- 1 root root 0 2004-11-29 18:45 /dev/initctl
I originally thought I needed permission as user so I did a chmod 666 on the node, but for not. I am pretty darn sure that "init 1" worked fine before the udev upgrade. (Now with that said and some of my moronic questions that I have posted lately, one should not really believe me all that much :? )
Offline
Yep, I can confirm this bug.
Thanks dekernel. I'll have a fix out soon.
Offline
Quick fix:
--- /etc/rc.single 2004-11-23 14:41:40.000000000 -0800
+++ rc.single 2004-11-29 21:31:03.000000000 -0800
@@ -57,6 +57,7 @@
if [ "$RUNLEVEL" = "1" ]; then
printsep
printhl "Entering single-user mode..."
+ /bin/kill -HUP 1
exec /sbin/init -t1 S
fi
Offline
Works like a champ!
Offline
Looks like I posted to soon. Once I do a "init 1" and then do a "init 3" (my default is 3 in inittab). Everything appears to be okay until I start KDE.
The problem is that I can't seem to get a shell. Konsole just opens a window without a shell running.
When I did a Ctrl-Alt-Backspace to kill KDE (I did this because I wanted to see the screen output).
I did some errors like:
kdecore: (KProcess): WARNING: Can't open pseudo teletype
...
kded: Fatal IO error: client killed
Any idea's? All daemons appeared to start ok including UDev.
Offline
One thing I noticed was during the processing of "init 1", it appears that UDev is attempted to be started. Not sure if this is correct. Once root's password is entered, udevd is still running. Is this correct in maintance mode?
Next, when I do a "init 3" to get back, I still have to do:
1) mount /dev/pts
2) mount /dev/shm
before I can get my consoles back under KDE. My guess this is not limited to KDE, but that is the only WM that I have installed.
Offline
Here is what I think needs to be done, and I am hoping that someone can set me straight here because my knowledge here is nothing short of shallow to nil!!!!
It looks like both /dev/pts and /dev/shm are unmounted during the 'init 1' action, but /etc/mtab does not reflect this. May I venture a guess that /etc/rc.single needs to check for entries in /etc/mtab for either entry and remove accordingly. Then /etc/rc.multi needs to check /etc/mtab for either and mount accordingly?
Do I get even a point for trying?
Offline