Package: udev
Version: 0.062-4

This is what happenned to me, My system locked up from the buggy Nvidia
propriatory drivers and I had to reboot. Now mind you I haven't had to
reboot for a long time and have done upgrades since the last reboot.

When I attempted to reboot it hung on "Creating initial device nodes..."
message almost immediately. I was able to hit ctrl-c and kill the
proccesses and it kicked me into single user mode because I had a grand
total of 2 /dev/ files.

What happenned was that udev start rc script mounted the tmpfs
over /dev/ and then when it tried to run udevstart it hung up.

So I went to single user mode, remounted the root rw (after fsck'ng it..
just make sure and it came up 'clean') and proceeded to screw around
with udevstart and strace to try to figure out what was going on.

Turns out that it hung up trying to get a response from my ldaps server!
Which I thought was very weird. After investigating further by grepping
thru the strace for /etc/ files I found that it looked
at /etc/nsswitch.conf (which I already suspected from the ldap
weirdness) then after look thru the /etc/ld.so.cache and /etc/group a
few times it eventually accessed /etc/libnss-ldap.conf, which is were it
got the name of my ldaps server.. then the dns stuff must of looked up
my /etc/hosts file to get the ip address then according to the strace
output:

connect(3, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("192.168.1.10")}, 28) = -1 ENETUNREACH (Network is
unreachable)
close(3)                                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("192.168.1.254")}, 28) = -1 ENETUNREACH (Network is
unreachable)
close(3)                                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("192.168.1.10")}, 28) = -1 ENETUNREACH (Network is
unreachable)
close(3)                                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("192.168.1.254")}, 28) = -1 ENETUNREACH (Network is
unreachable)
close(3)                                = 0
futex(0xb7fa5ae0, FUTEX_WAIT, 2, NULL)

were hit hung and I had to hit ctrl-c to kill it.


Then I by editing my /etc/nsswitch.conf file and changing:
hosts:          dns ldap
to
hosts:          dns

after doing that then udevstart ran correctly and I was able to reboot
and have the system come up in a normal way.

Now I have no idea WHY anything like this should be happenning... 
but I am sure that you guys know what is going on and how to fix it.


Thank you.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to