Hello community,

here is the log from the commit of package mdadm for openSUSE:Factory
checked in at Tue Jun 14 11:59:54 CEST 2011.



--------
--- mdadm/mdadm.changes 2011-03-01 23:16:34.000000000 +0100
+++ /mounts/work_src_done/STABLE/mdadm/mdadm.changes    2011-06-14 
08:08:58.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Jun 14 06:07:19 UTC 2011 - [email protected]
+
+- 64-md-raid.rules - make clear distinction between
+  'disk' and 'partition' cases.  In particular it
+  is wrong and problematic to test for 'md/array_state'
+  for 'partition' devices as they cannot see 'md/*'
+  and cannot exist when it doesn't have a valid value
+  anyway. (bnc#684291)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mdadm.spec ++++++
--- /var/tmp/diff_new_pack.rsn22g/_old  2011-06-14 10:59:48.000000000 +0200
+++ /var/tmp/diff_new_pack.rsn22g/_new  2011-06-14 10:59:48.000000000 +0200
@@ -20,7 +20,7 @@
 
 Name:           mdadm
 Version:        3.1.4
-Release:        16
+Release:        17
 BuildRequires:  sgmltool
 PreReq:         %fillup_prereq %insserv_prereq
 Obsoletes:      raidtools

++++++ 64-md-raid.rules ++++++
--- /var/tmp/diff_new_pack.rsn22g/_old  2011-06-14 10:59:48.000000000 +0200
+++ /var/tmp/diff_new_pack.rsn22g/_new  2011-06-14 10:59:48.000000000 +0200
@@ -8,6 +8,7 @@
 # import data from a raid set
 KERNEL!="md*", GOTO="md_end"
 
+ENV{DEVTYPE}!="disk",GOTO="md_not_disk"
 #this extra caution avoids some races with the device disappearing
 TEST!="md/array_state", GOTO="md_end"
 # container devices have a metadata version of e.g. 'external:ddf' and
@@ -17,16 +18,18 @@
 LABEL="md_ignore_state"
 
 IMPORT{program}="/sbin/mdadm --detail --export $tempnode"
-ENV{DEVTYPE}=="disk", ENV{MD_NAME}=="?*", 
SYMLINK+="disk/by-id/md-name-$env{MD_NAME}", OPTIONS+="string_escape=replace"
-ENV{DEVTYPE}=="disk", ENV{MD_UUID}=="?*", 
SYMLINK+="disk/by-id/md-uuid-$env{MD_UUID}"
-ENV{DEVTYPE}=="disk", ENV{MD_DEVNAME}=="?*", SYMLINK+="md/$env{MD_DEVNAME}"
+ENV{MD_NAME}=="?*", SYMLINK+="disk/by-id/md-name-$env{MD_NAME}", 
OPTIONS+="string_escape=replace"
+ENV{MD_UUID}=="?*", SYMLINK+="disk/by-id/md-uuid-$env{MD_UUID}"
+ENV{MD_DEVNAME}=="?*", SYMLINK+="md/$env{MD_DEVNAME}"
+
+LABEL="md_not_disk"
 
 ENV{DEVTYPE}!="partition", GOTO="md_vol_id"
 IMPORT{program}="/sbin/mdadm --detail --export %r/$parent"
-ENV{DEVTYPE}=="partition", ENV{MD_NAME}=="?*", 
SYMLINK+="disk/by-id/md-name-$env{MD_NAME}-part%n", 
OPTIONS+="string_escape=replace"
-ENV{DEVTYPE}=="partition", ENV{MD_UUID}=="?*", 
SYMLINK+="disk/by-id/md-uuid-$env{MD_UUID}-part%n"
-ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[^0-9]", 
SYMLINK+="md/$env{MD_DEVNAME}%n"
-ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[0-9]", 
SYMLINK+="md/$env{MD_DEVNAME}p%n"
+ENV{MD_NAME}=="?*", SYMLINK+="disk/by-id/md-name-$env{MD_NAME}-part%n", 
OPTIONS+="string_escape=replace"
+ENV{MD_UUID}=="?*", SYMLINK+="disk/by-id/md-uuid-$env{MD_UUID}-part%n"
+ENV{MD_DEVNAME}=="*[^0-9]", SYMLINK+="md/$env{MD_DEVNAME}%n"
+ENV{MD_DEVNAME}=="*[0-9]", SYMLINK+="md/$env{MD_DEVNAME}p%n"
 
 LABEL="md_vol_id"
 IMPORT{program}="/sbin/blkid -o udev -p $tempnode"


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to