ALT Linux Bugzilla
– Attachment 1583 Details for
Bug 9881
udevsettle race during startup
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
fake /dev/.udev/uevent_seqnum for udevsettle
udevd-fake-seqnum.patch (text/plain), 827 bytes, created by
Sergey Vlasov
on 2006-08-15 20:20:03 MSD
(
hide
)
Description:
fake /dev/.udev/uevent_seqnum for udevsettle
Filename:
MIME Type:
Creator:
Sergey Vlasov
Created:
2006-08-15 20:20:03 MSD
Size:
827 bytes
patch
obsolete
>--- /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+$?] >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9881
: 1583