Hello community, here is the log from the commit of package udev checked in at Fri Jun 2 02:09:35 CEST 2006. -------- --- udev/udev.changes 2006-05-26 17:37:52.000000000 +0200 +++ udev/udev.changes 2006-06-01 13:02:52.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Jun 1 12:59:53 CEST 2006 - kay.sievers@suse.de + +- wait for sysfs for net devices (#165050) +- switch to "online" events for device mapper devices (#175972) +- skip lvm snapshot devices from persistent rules (#178321) + +------------------------------------------------------------------- New: ---- 64-device-mapper.rules udev-catch-online-event-01.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ udev.spec ++++++ --- /var/tmp/diff_new_pack.cklZGi/_old 2006-06-02 02:09:16.000000000 +0200 +++ /var/tmp/diff_new_pack.cklZGi/_new 2006-06-02 02:09:16.000000000 +0200 @@ -13,7 +13,7 @@ Name: udev URL: ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ Version: 085 -Release: 34 +Release: 35 License: GPL Group: System/Kernel Summary: A rule based device node and kernel event manager @@ -34,6 +34,7 @@ Patch10: udev-netware-01.patch Patch11: udev-edd_id-NULL-01.patch Patch12: udev-nss-different-uuid-01.patch +Patch13: udev-catch-online-event-01.patch # Source1: path_id # @@ -42,6 +43,7 @@ Source11: 50-udev-default.rules Source12: 60-persistent-storage.rules Source13: 60-persistent-input.rules +Source14: 64-device-mapper.rules Source15: 95-udev-late.rules # # rule helper @@ -86,6 +88,7 @@ %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 -p1 %build make V=1 EXTRAS=%{extras} STRIPCMD= OPTFLAGS="${RPM_OPT_FLAGS}" all @@ -115,6 +118,7 @@ install -m644 -D %{S:11} $RPM_BUILD_ROOT/etc/udev/rules.d/50-udev-default.rules install -m644 -D %{S:12} $RPM_BUILD_ROOT/etc/udev/rules.d/60-persistent-storage.rules install -m644 -D %{S:13} $RPM_BUILD_ROOT/etc/udev/rules.d/60-persistent-input.rules +install -m644 -D %{S:14} $RPM_BUILD_ROOT/etc/udev/rules.d/64-device-mapper.rules install -m644 -D %{S:15} $RPM_BUILD_ROOT/etc/udev/rules.d/95-udev-late.rules # # install stuff from package @@ -238,6 +242,10 @@ %attr(600,root,root) %dev(c,10,200) /lib/udev/devices/fwmonitor %changelog -n udev +* Thu Jun 01 2006 - kay.sievers@suse.de +- wait for sysfs for net devices (#165050) +- switch to "online" events for device mapper devices (#175972) +- skip lvm snapshot devices from persistent rules (#178321) * Fri May 26 2006 - kay.sievers@suse.de - path_id: prevent endless loop for SAS devices (#178343) * Thu May 25 2006 - kay.sievers@suse.de ++++++ 05-udev-early.rules ++++++ --- udev/05-udev-early.rules 2006-03-08 18:59:29.000000000 +0100 +++ udev/05-udev-early.rules 2006-06-01 12:59:13.000000000 +0200 @@ -1,4 +1,5 @@ # sysfs is populated after the event is sent ACTION=="add", DEVPATH=="/devices/*", ENV{PHYSDEVBUS}=="?*", WAIT_FOR_SYSFS="bus" +ACTION=="add", SUBSYSTEM=="net", ENV{PHYSDEVDRIVER}=="?*", WAIT_FOR_SYSFS="device/driver" ACTION=="add", SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt" ++++++ 60-persistent-storage.rules ++++++ --- udev/60-persistent-storage.rules 2006-04-21 19:50:29.000000000 +0200 +++ udev/60-persistent-storage.rules 2006-06-01 10:56:25.000000000 +0200 @@ -5,7 +5,7 @@ SUBSYSTEM!="block", GOTO="persistent_storage_end" # skip rules for inappropriate block devices -KERNEL=="ram*|loop*|fd*|nbd*", GOTO="persistent_storage_end" +KERNEL=="ram*|loop*|fd*|nbd*|dm-*", GOTO="persistent_storage_end" # never access removable ide devices, the drivers are causing event loops on open() KERNEL=="hd*[!0-9]", SYSFS{removable}=="1", DRIVER=="ide-cs|ide-floppy", GOTO="persistent_storage_end" @@ -45,6 +45,4 @@ KERNEL=="*[!0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}" KERNEL=="*[0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}-part%n" -KERNEL=="dm-[0-9]*", ACTION=="add", PROGRAM="/sbin/dmsetup info -c --noopencount --noheadings -o name -j %M -m %m", SYMLINK+="disk/by-name/%c" - LABEL="persistent_storage_end" ++++++ udev-catch-online-event-01.patch ++++++ diff --git a/udev_device.c b/udev_device.c index 5db2709..ae12e36 100644 --- a/udev_device.c +++ b/udev_device.c @@ -83,7 +83,7 @@ int udev_device_event(struct udev_rules /* device node or netif */ if ((major(udev->devt) != 0 || strcmp(udev->dev->subsystem, "net") == 0) && - strcmp(udev->action, "add") == 0) { + (strcmp(udev->action, "add") == 0 || strcmp(udev->action, "online") == 0)) { dbg("device node or netif add '%s'", udev->dev->devpath); udev_rules_get_name(rules, udev); if (udev->ignore_device) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit-help@opensuse.org