Hello community, here is the log from the commit of package udev checked in at Fri Apr 28 21:16:00 CEST 2006. -------- --- udev/udev.changes 2006-04-25 17:38:22.000000000 +0200 +++ STABLE/udev/udev.changes 2006-04-27 23:24:49.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Apr 27 18:03:52 CEST 2006 - kay.sievers@suse.de + +- don't use startproc, we need to wait for udevd to be initialized + create /dev/.udev directory from udevd for seqnum export (#169103) +- never fail in boot.udev_retry (#170302) + +------------------------------------------------------------------- New: ---- udev-mkdir-udev-dir-01.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ udev.spec ++++++ --- /var/tmp/diff_new_pack.T8KPkC/_old 2006-04-28 21:15:42.000000000 +0200 +++ /var/tmp/diff_new_pack.T8KPkC/_new 2006-04-28 21:15:42.000000000 +0200 @@ -13,7 +13,7 @@ Name: udev URL: ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ Version: 085 -Release: 22 +Release: 26 License: GPL Group: System/Kernel Summary: A rule based device node and kernel event manager @@ -29,6 +29,7 @@ Patch5: udev-export-seqnum-02.patch Patch6: udevtrigger-fix-order-01.patch Patch7: udev-initial-seqnum-01.patch +Patch8: udev-mkdir-udev-dir-01.patch # Source1: path_id # @@ -76,6 +77,7 @@ %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 %build make V=1 EXTRAS=%{extras} STRIPCMD= OPTFLAGS="${RPM_OPT_FLAGS}" all @@ -228,6 +230,10 @@ %attr(600,root,root) %dev(c,10,200) /lib/udev/devices/fwmonitor %changelog -n udev +* Thu Apr 27 2006 - kay.sievers@suse.de +- don't use startproc, we need to wait for udevd to be initialized + create /dev/.udev directory from udevd for seqnum export (#169103) +- never fail in boot.udev_retry (#170302) * Mon Apr 24 2006 - kay.sievers@suse.de - export initial seqnum from udevd (#169064) - fix wrong use of "==" and "=" - future udev versions will fail here ++++++ boot.udev ++++++ --- udev/boot.udev 2006-04-07 12:51:34.000000000 +0200 +++ STABLE/udev/boot.udev 2006-04-27 23:25:40.000000000 +0200 @@ -27,12 +27,12 @@ # disable uevent helper, udevd listens to netlink echo "" > /sys/kernel/uevent_helper - # start udevd + # start udevd (needs to block until we are initialized) echo -n "Starting udevd " rm -rf /dev/.udev - startproc $DAEMON $udevd_args + $DAEMON $udevd_args - # cleanup some stuff + # cleanup stuff rm -rf /events/* # run static device configurations @@ -58,7 +58,7 @@ restart) echo -n "Restarting udevd:" killproc $DAEMON - startproc $DAEMON $udevd_args + $DAEMON $udevd_args rc_status -v ;; status) ++++++ boot.udev_retry ++++++ --- udev/boot.udev_retry 2006-02-12 12:22:13.000000000 +0100 +++ STABLE/udev/boot.udev_retry 2006-04-27 23:21:45.000000000 +0200 @@ -19,8 +19,8 @@ device="$(readlink $i)/uevent" test -e $device && echo "add" > $device done + rc_status $status -r -v fi - rc_status $status -v ;; stop) rc_status -v ++++++ udev-mkdir-udev-dir-01.patch ++++++ diff --git a/udevd.c b/udevd.c index eb1080b..705e2a9 100644 --- a/udevd.c +++ b/udevd.c @@ -841,6 +841,7 @@ static void export_initial_seqnum(void) } strlcpy(filename, udev_root, sizeof(filename)); strlcat(filename, "/" EVENT_SEQNUM, sizeof(filename)); + create_path(filename); fd = open(filename, O_WRONLY|O_TRUNC|O_CREAT, 0644); if (fd >= 0) { write(fd, seqnum, len); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de