rpms/udev/devel udev-137-mdremove.patch, NONE, 1.1 udev.spec, 1.263, 1.264

Harald Hoyer harald at fedoraproject.org
Thu Feb 5 07:50:19 UTC 2009


Author: harald

Update of /cvs/pkgs/rpms/udev/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18484

Modified Files:
	udev.spec 
Added Files:
	udev-137-mdremove.patch 
Log Message:
* Thu Feb 05 2009 Harald Hoyer <harald at redhat.com> 137-4
- fixed md change/remove event handling


udev-137-mdremove.patch:

--- NEW FILE udev-137-mdremove.patch ---
diff -up udev-137/rules/packages/64-md-raid.rules.mdremove udev-137/rules/packages/64-md-raid.rules
--- udev-137/rules/packages/64-md-raid.rules.mdremove	2009-02-05 08:47:35.000000000 +0100
+++ udev-137/rules/packages/64-md-raid.rules	2009-02-05 08:47:58.000000000 +0100
@@ -11,7 +11,8 @@ KERNEL!="md*", GOTO="md_end"
 # container devices have a metadata version of e.g. 'external:ddf' and
 # never leave state 'inactive'
 ATTR{md/metadata_version}=="external:[A-Za-z]*", ATTR{md/array_state}=="inactive", GOTO="md_ignore_state"
-ATTR{md/array_state}=="|clear|inactive", GOTO="md_end"
+ATTR{md/array_state}=="clear|inactive", GOTO="md_end"
+ATTR{md/array_state}!="?*", GOTO="md_end"
 LABEL="md_ignore_state"
 
 IMPORT{program}="/sbin/mdadm --detail --export $tempnode"


Index: udev.spec
===================================================================
RCS file: /cvs/pkgs/rpms/udev/devel/udev.spec,v
retrieving revision 1.263
retrieving revision 1.264
diff -u -r1.263 -r1.264
--- udev.spec	5 Feb 2009 07:35:24 -0000	1.263
+++ udev.spec	5 Feb 2009 07:49:49 -0000	1.264
@@ -6,7 +6,7 @@
 Summary: A userspace implementation of devfs
 Name: udev
 Version: 137
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2
 Group: System Environment/Base
 Provides: udev-persistent = %{version}-%{release}
@@ -20,6 +20,7 @@
 
 Patch1: udev-137-vol_id1.patch
 Patch2: udev-137-vol_id2.patch
+Patch3: udev-137-mdremove.patch
 Patch102: udev-118-sysconf.patch
 
 ExclusiveOS: Linux
@@ -95,6 +96,7 @@
 
 %patch1 -p1 
 %patch2 -p1
+%patch3 -p1 .remove
 %patch102 -p1 -b .sysconf
 rm rules/redhat/95-pam-console.rules
 
@@ -383,6 +385,9 @@
 
 
 %changelog
+* Thu Feb 05 2009 Harald Hoyer <harald at redhat.com> 137-4
+- fixed md change/remove event handling
+
 * Thu Feb 05 2009 Harald Hoyer <harald at redhat.com> 137-3
 - added 5 second sleep for "modprobedebug" to catch bad modules
 




More information about the fedora-extras-commits mailing list