--- /etc/init.d/udevd.rpmorig 2006-07-11 23:36:10 +0400 +++ /etc/init.d/udevd 2006-08-15 17:21:49 +0400 @@ -146,7 +146,11 @@ # in this case we should make sure that hotplug didn't invoke an instance of udevd # before /sbin/pidof $udevd >/dev/null && stop_daemon --no-announce --pidfile none $udevd - + + # Fake uevent_seqnum to avoid race between udevd startup and udevsettle + mkdir -p "$udev_root/.udev" + echo 0 >"$udev_root/.udev/uevent_seqnum" + # We want to start udevd ourselves if it isn't already running. This # lets udevd run at a sane nice level... if [ -z "$RUN_FROM_SYSINIT" ]; then @@ -156,9 +160,7 @@ fi RETVAL=$[$RETVAL+$?] [ "$RETVAL" == "0" ] && echo "" >/proc/sys/kernel/hotplug - sync /sbin/udevtrigger - sync action "Populating /dev " /sbin/udevsettle RETVAL=$[$RETVAL+$?]