rpms/udev/devel start_udev,1.36,1.37 udev.spec,1.96,1.97

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Jul 25 03:05:30 UTC 2005


Author: notting

Update of /cvs/dist/rpms/udev/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv16594

Modified Files:
	start_udev udev.spec 
Log Message:
>From the udev relnotes:
udev 059
========

...

o udevd listens to netlink events now. The first valid netlink event
  will make udevd ignore any message from udevsend that contains a
  SEQNUM, to avoid duplicate events.
  
Ergo, don't set it for replay events (#163729).
  



Index: start_udev
===================================================================
RCS file: /cvs/dist/rpms/udev/devel/start_udev,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- start_udev	5 May 2005 16:24:22 -0000	1.36
+++ start_udev	25 Jul 2005 03:05:27 -0000	1.37
@@ -142,22 +142,18 @@
         [ -z "$HOTPLUG" ] && return 1
 
         scsi_hosts=$(find_d /sys/devices host\*)
-        SEQNUM=1
 
         for host in $scsi_hosts;do
                 [ -d $host ] || continue
                 devs=$(find_f $host type)
                 for dev in $devs;do
                         [ -f $dev ] || continue
-                        export SEQNUM
                         DEVPATH=${dev%/type}
                         DEVPATH=${DEVPATH#/sys}
                         export DEVPATH
                         export ACTION=add
                         $HOTPLUG scsi_device
-                        SEQNUM=$[$SEQNUM + 1]
                         $HOTPLUG scsi 
-                        SEQNUM=$[$SEQNUM + 1]
                 done
         done
         return 0


Index: udev.spec
===================================================================
RCS file: /cvs/dist/rpms/udev/devel/udev.spec,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- udev.spec	20 Jul 2005 00:59:21 -0000	1.96
+++ udev.spec	25 Jul 2005 03:05:27 -0000	1.97
@@ -7,7 +7,7 @@
 Summary: A userspace implementation of devfs
 Name: udev
 Version: 063
-Release: 1
+Release: 2
 License: GPL
 Group: System Environment/Base
 %if !%{with_persistent}
@@ -289,6 +289,9 @@
 %endif
 
 %changelog
+* Sun Jul 24 2005 Bill Nottingham <notting at redhat.com> - 063-2
+- don't set SEQNUM for scsi replay events (#163729)
+
 * Tue Jul 19 2005 Bill Nottingham <notting at redhat.com> - 063-1
 - update to 063
 - handle the hotplug events for ieee1394, scsi, firmware




More information about the fedora-cvs-commits mailing list