Hello community, here is the log from the commit of package libstorage for openSUSE:Factory checked in at 2014-05-06 13:39:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libstorage (Old) and /work/SRC/openSUSE:Factory/.libstorage.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libstorage" Changes: -------- --- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes 2014-04-26 11:45:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes 2014-05-06 13:39:50.000000000 +0200 @@ -1,0 +2,6 @@ +Mon May 05 16:12:16 CEST 2014 - aschnell@suse.de + +- fixed parsing of /proc/mdstat to properly detect IMSM and DDF + containers (bnc#858226) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libstorage-2.25.12.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.25.12/storage/SystemInfo/ProcMdstat.cc new/libstorage-2.25.12/storage/SystemInfo/ProcMdstat.cc --- old/libstorage-2.25.12/storage/SystemInfo/ProcMdstat.cc 2014-03-13 14:54:46.000000000 +0100 +++ new/libstorage-2.25.12/storage/SystemInfo/ProcMdstat.cc 2014-05-05 16:29:25.000000000 +0200 @@ -121,7 +121,7 @@ if( (pos=line.find_first_not_of( app_ws ))!=string::npos && pos!=0 ) line.erase( 0, pos ); } - else if( !entry.inactive ) + else { entry.is_container = true; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.25.12/testsuite/single.out/proc-mdstat.out new/libstorage-2.25.12/testsuite/single.out/proc-mdstat.out --- old/libstorage-2.25.12/testsuite/single.out/proc-mdstat.out 2014-01-22 10:39:57.000000000 +0100 +++ new/libstorage-2.25.12/testsuite/single.out/proc-mdstat.out 2014-05-05 16:29:25.000000000 +0200 @@ -4,10 +4,10 @@ parse2 data[md125] -> md_type:raid1 super:external:/md127/0 size_k:4194304 readonly devices:</dev/sdb /dev/sda> has_container container_name:md127 container_member:0 data[md126] -> md_type:raid0 super:external:/md127/1 chunk_k:128 size_k:8378790 devices:</dev/sdb /dev/sda> has_container container_name:md127 container_member:1 -data[md127] -> md_type:unknown super:external:imsm size_k:5104 readonly inactive devices:<> spares:</dev/sda /dev/sdb> +data[md127] -> md_type:unknown super:external:imsm size_k:5104 readonly inactive devices:<> spares:</dev/sda /dev/sdb> is_container parse3 data[md125] -> md_type:raid1 super:external:/md127/1 size_k:7355904 devices:</dev/sdb /dev/sda> has_container container_name:md127 container_member:1 data[md126] -> md_type:raid0 super:external:/md127/0 chunk_k:512 size_k:1999872 devices:</dev/sdb /dev/sda> has_container container_name:md127 container_member:0 -data[md127] -> md_type:unknown super:external:ddf size_k:65536 readonly inactive devices:<> spares:</dev/sda /dev/sdb> +data[md127] -> md_type:unknown super:external:ddf size_k:65536 readonly inactive devices:<> spares:</dev/sda /dev/sdb> is_container -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org