Hello community, here is the log from the commit of package yast2-storage checked in at Wed Mar 29 16:56:48 CEST 2006. -------- --- yast2-storage/yast2-storage.changes 2006-03-29 13:34:26.000000000 +0200 +++ yast2-storage/yast2-storage.changes 2006-03-29 16:33:49.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Mar 29 16:32:59 CEST 2006 - fehr@suse.de + +- fix problems of EVMS non-EVMS coexistence +- version 2.13.42 + +------------------------------------------------------------------- Old: ---- yast2-storage-2.13.41.tar.bz2 New: ---- yast2-storage-2.13.42.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-storage.spec ++++++ --- /var/tmp/diff_new_pack.qqKlMY/_old 2006-03-29 16:56:21.000000000 +0200 +++ /var/tmp/diff_new_pack.qqKlMY/_new 2006-03-29 16:56:21.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-storage (Version 2.13.41) +# spec file for package yast2-storage (Version 2.13.42) # # Copyright (c) 2006 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.13.41 +Version: 2.13.42 Release: 1 License: GPL Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-storage-2.13.41.tar.bz2 +Source0: yast2-storage-2.13.42.tar.bz2 prefix: /usr BuildRequires: blocxx-devel docbook-xsl-stylesheets doxygen evms gcc-c++ libxcrypt-devel libxslt openssl-devel perl-XML-Writer sablot sgml-skel swig update-desktop-files yast2 yast2-devtools yast2-installation yast2-perl-bindings yast2-testsuite Requires: yast2 parted yast2-installation yast2-storage-lib yast2-perl-bindings @@ -40,7 +40,7 @@ %prep -%setup -n yast2-storage-2.13.41 +%setup -n yast2-storage-2.13.42 %build %{prefix}/bin/y2tool y2autoconf @@ -165,6 +165,9 @@ %changelog -n yast2-storage * Wed Mar 29 2006 - fehr@suse.de +- fix problems of EVMS non-EVMS coexistence +- version 2.13.42 +* Wed Mar 29 2006 - fehr@suse.de - fix logging initialisation in inst-sys - version 2.13.41 * Tue Mar 28 2006 - fehr@suse.de ++++++ yast2-storage-2.13.41.tar.bz2 -> yast2-storage-2.13.42.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.13.41/VERSION new/yast2-storage-2.13.42/VERSION --- old/yast2-storage-2.13.41/VERSION 2006-03-29 13:33:41.000000000 +0200 +++ new/yast2-storage-2.13.42/VERSION 2006-03-29 16:33:52.000000000 +0200 @@ -1 +1 @@ -2.13.41 +2.13.42 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.13.41/libstorage/src/Disk.cc new/yast2-storage-2.13.42/libstorage/src/Disk.cc --- old/yast2-storage-2.13.41/libstorage/src/Disk.cc 2006-03-28 13:46:24.000000000 +0200 +++ new/yast2-storage-2.13.42/libstorage/src/Disk.cc 2006-03-29 16:18:20.000000000 +0200 @@ -1634,7 +1634,6 @@ { getStorage()->showInfoCb( setDiskLabelText(true) ); } - getStorage()->removeDmMapsTo( device()+".*" ); removePresentPartitions(); system_stderr.erase(); std::ostringstream cmd_line; @@ -1890,7 +1889,6 @@ { getStorage()->showInfoCb( p->createText(true) ); } - getStorage()->removeDmMapsTo( device()+".*" ); system_stderr.erase(); y2milestone( "doCreate container %s name %s", name().c_str(), p->name().c_str() ); @@ -2060,10 +2058,10 @@ { getStorage()->showInfoCb( p->removeText(true) ); } - getStorage()->removeDmMapsTo( device()+".*" ); system_stderr.erase(); y2milestone( "doRemove container %s name %s", name().c_str(), p->name().c_str() ); + getStorage()->removeDmMapsTo( getPartName(p->OrigNr()) ); ret = v->prepareRemove(); if( ret==0 && !p->created() ) { diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.13.41/libstorage/src/Dm.cc new/yast2-storage-2.13.42/libstorage/src/Dm.cc --- old/yast2-storage-2.13.41/libstorage/src/Dm.cc 2006-02-07 18:50:49.000000000 +0100 +++ new/yast2-storage-2.13.42/libstorage/src/Dm.cc 2006-03-29 15:37:10.000000000 +0200 @@ -128,7 +128,8 @@ bool Dm::removeTable() { - SystemCmd c( "dmsetup remove " + tname ); + string cmd = "dmsetup remove " + tname; + SystemCmd c( cmd ); bool ret = c.retcode()==0; y2milestone( "ret:%d", ret ); return( ret ); @@ -395,6 +396,7 @@ s << p.shortPrintedName() << " "; s << *(Volume*)&p; s << " LE:" << p.num_le; + s << " Table:" << p.tname; if( p.inactiv>1 ) { s << " inactive"; @@ -452,6 +454,7 @@ stripe = rhs.stripe; stripe_size = rhs.stripe_size; inactiv = rhs.inactiv; + tname = rhs.tname; pe_map = rhs.pe_map; return( *this ); } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.13.41/libstorage/src/Volume.cc new/yast2-storage-2.13.42/libstorage/src/Volume.cc --- old/yast2-storage-2.13.41/libstorage/src/Volume.cc 2006-03-28 19:23:25.000000000 +0200 +++ new/yast2-storage-2.13.42/libstorage/src/Volume.cc 2006-03-29 15:51:08.000000000 +0200 @@ -619,6 +619,10 @@ { ret = checkDevice(); } + if( ret==0 ) + { + cont->getStorage()->removeDmTableTo( *this ); + } if( ret==0 && (Storage::arch().find( "sparc" )!=0 || encryption!=ENC_NONE )) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...