Hello community, here is the log from the commit of package yast2-storage checked in at Mon Sep 24 19:03:53 CEST 2007. -------- --- yast2-storage/yast2-storage.changes 2007-09-20 15:52:28.000000000 +0200 +++ /mounts/work_src_done/STABLE/STABLE/yast2-storage/yast2-storage.changes 2007-09-24 15:53:53.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Sep 24 13:00:18 CEST 2007 - fehr@suse.de + +- prevent crash with invalid dmraid data (#327342) +- fix problem with removing cached mapping data (#327717) +- version 2.15.27 + +------------------------------------------------------------------- Old: ---- yast2-storage-2.15.26.tar.bz2 New: ---- yast2-storage-2.15.27.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-storage.spec ++++++ --- /var/tmp/diff_new_pack.x12982/_old 2007-09-24 19:03:06.000000000 +0200 +++ /var/tmp/diff_new_pack.x12982/_new 2007-09-24 19:03:06.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-storage (Version 2.15.26) +# spec file for package yast2-storage (Version 2.15.27) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,12 +11,12 @@ # norootforbuild Name: yast2-storage -Version: 2.15.26 +Version: 2.15.27 Release: 1 License: GPL v2 or later Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-storage-2.15.26.tar.bz2 +Source0: yast2-storage-2.15.27.tar.bz2 Prefix: /usr BuildRequires: blocxx-devel docbook-xsl-stylesheets doxygen evms evms-devel gcc-c++ libxcrypt-devel libxslt openssl-devel perl-XML-Writer sablot sgml-skel swig update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-installation yast2-perl-bindings yast2-testsuite # Required only in inst-sys @@ -44,7 +44,7 @@ %prep -%setup -n yast2-storage-2.15.26 +%setup -n yast2-storage-2.15.27 %build %{prefix}/bin/y2tool y2autoconf @@ -173,6 +173,10 @@ %doc %{prefix}/share/doc/packages/yast2-storage/libstorage %doc %{prefix}/share/doc/packages/yast2-storage/config.xml.description %changelog +* Mon Sep 24 2007 - fehr@suse.de +- prevent crash with invalid dmraid data (#327342) +- fix problem with removing cached mapping data (#327717) +- version 2.15.27 * Thu Sep 20 2007 - fehr@suse.de - make importing fstab cope with changing disk names (#309774) - version 2.15.26 ++++++ yast2-storage-2.15.26.tar.bz2 -> yast2-storage-2.15.27.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.15.26/libstorage/src/Dm.cc new/yast2-storage-2.15.27/libstorage/src/Dm.cc --- old/yast2-storage-2.15.26/libstorage/src/Dm.cc 2007-06-20 17:48:23.000000000 +0200 +++ new/yast2-storage-2.15.27/libstorage/src/Dm.cc 2007-09-24 11:30:47.000000000 +0200 @@ -471,14 +471,17 @@ int Dm::dmNumber( const string& table ) { int ret = -1; - SystemCmd c( "dmsetup -c --noheadings info " + table ); - list<string> sl = splitString( *c.getLine(0), ":" ); - if( sl.size()>=3 ) + SystemCmd c( "dmsetup -c --noheadings info \"" + table + "\"" ); + if( c.retcode()==0 && c.numLines()>0 ) { - list<string>::const_iterator ci = sl.begin(); - ++ci; - ++ci; - *ci >> ret; + list<string> sl = splitString( *c.getLine(0), ":" ); + if( sl.size()>=3 ) + { + list<string>::const_iterator ci = sl.begin(); + ++ci; + ++ci; + *ci >> ret; + } } y2mil( "table:" << table << " ret:" << ret ); return( ret ); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.15.26/storage/src/modules/Storage.ycp new/yast2-storage-2.15.27/storage/src/modules/Storage.ycp --- old/yast2-storage-2.15.26/storage/src/modules/Storage.ycp 2007-09-20 15:52:49.000000000 +0200 +++ new/yast2-storage-2.15.27/storage/src/modules/Storage.ycp 2007-09-24 15:58:26.000000000 +0200 @@ -19,7 +19,7 @@ * wurde versucht "intelligent" zu gestallten und ist im einzelen bei den * entspechenden Funktionen n�her erkl�rt. * - * $Id: Storage.ycp 40987 2007-09-20 13:52:49Z fehr $ + * $Id: Storage.ycp 41053 2007-09-24 13:58:26Z fehr $ */ { @@ -5247,8 +5247,8 @@ ``{ map d = (map)SCR::Read( .target.stat, Installation::destdir + "/var/lib/hardware" ); - if( !d["isdir"]:false ) - DiskMap = $[]; + y2milestone( "BuildDiskmap oldv:%1 Vers:%2", oldv, DiskMapVersion ); + y2milestone( "dir:%1 d:%2", Installation::destdir+"/var/lib/hardware", d ); if( d["isdir"]:false && (oldv != DiskMapVersion || size(oldv)==0) ) { DiskMap = $[]; @@ -5281,9 +5281,9 @@ DiskMapVersion = oldv; else DiskMapVersion = $[]; - y2milestone( "BuildDiskmap DiskMap %1", DiskMap ); - y2milestone( "BuildDiskmap DiskMapVersion %1", DiskMapVersion ); } + y2milestone( "BuildDiskmap DiskMap %1", DiskMap ); + y2milestone( "BuildDiskmap DiskMapVersion %1", DiskMapVersion ); return( DiskMap ); } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.15.26/VERSION new/yast2-storage-2.15.27/VERSION --- old/yast2-storage-2.15.26/VERSION 2007-09-20 15:51:57.000000000 +0200 +++ new/yast2-storage-2.15.27/VERSION 2007-09-24 15:51:49.000000000 +0200 @@ -1 +1 @@ -2.15.26 +2.15.27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de