How to have udev start at boot
Running Mandriva 2006.
I found that all my troubles with having usb initialized and usb devices automounted was due to not having udev running. If I do a "service udev start" all is well. Of course, after a reboot, it is not running again. Where is the start of the udev service supposed to be? It should be started at a pretty low level, but I don't know where. |
I dont know much about Mandriva.
I have two symlinks in /etc/init.d/rc3.d/ Quote:
linux:/etc/init.d # cat boot.udev Code:
#! /bin/sh |
Well, what I ended up doing was:
Adding "/sbin/udevstart" to the end of "/etc/rc.d/rc.local" did nothing. However, I replaced "/sbin/udevstart" with "service udev start" and that did the trick. I do see that in "rc.sysinit" there is a "service udev start". Why that doesn't work such that I have to add the same statement in again in "rc.local" I have no idea. At least this seems to work. However, I notice that if I plug in a new usb device for the first time and then reboot, the system will hang when attempting to go into kde (autologin). I have to do a ctrl-alt-bksp and then log in to KDE. It then comes up fine. Thereafter, if I reboot again with that same new usb device plugged in, all is well. |
Code:
#chkconfig udev on |
But where would it put the instruction to start udev? There is already a "service udev start" in "rc.sysinit". Should this be removed? Also, do you suggest I remove the one I added in "/etc/rc.d/rc.local" and then just key at a terminal "#chkconfig udev on"? I don't follow this.
|
Leave things as they are. Enter the commands above and reboot.
|
You certainly know more about it than I do, but I would still think that if I execute "#chkconfig udev on" there ought to be a conflict with the statement "service udev start" in "rc.sysinit". Wouldn't a "start" complain if the item had already been started?
|
Quote:
|
For my Distribution "insserv udev start" would work as well.
It creates the Symlinks described above. |
Code:
chkconfig 'service' on boot.d is executed from: /etc/inittab/ -> /etc/init.d/boot -> boot.d |
All times are GMT -5. The time now is 03:16 AM. |