Hello community,
here is the log from the commit of package yast2-storage
checked in at Thu Mar 30 21:03:04 CEST 2006.
--------
--- yast2-storage/yast2-storage.changes 2006-03-30 15:57:14.000000000 +0200
+++ yast2-storage/yast2-storage.changes 2006-03-30 19:58:49.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Mar 30 16:37:50 CEST 2006 - fehr@suse.de
+
+- prevent reuse of partitions already used by other entities
+- wait for udev activity to be finished after calls to
+ "dmsetup remove ..." (#162279)
+- version 2.13.44
+
+-------------------------------------------------------------------
Old:
----
yast2-storage-2.13.43.tar.bz2
New:
----
yast2-storage-2.13.44.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-storage.spec ++++++
--- /var/tmp/diff_new_pack.W157CA/_old 2006-03-30 21:01:50.000000000 +0200
+++ /var/tmp/diff_new_pack.W157CA/_new 2006-03-30 21:01:50.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-storage (Version 2.13.43)
+# spec file for package yast2-storage (Version 2.13.44)
#
# 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.43
+Version: 2.13.44
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-storage-2.13.43.tar.bz2
+Source0: yast2-storage-2.13.44.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.43
+%setup -n yast2-storage-2.13.44
%build
%{prefix}/bin/y2tool y2autoconf
@@ -165,6 +165,11 @@
%changelog -n yast2-storage
* Thu Mar 30 2006 - fehr@suse.de
+- prevent reuse of partitions already used by other entities
+- wait for udev activity to be finished after calls to
+ "dmsetup remove ..." (#162279)
+- version 2.13.44
+* Thu Mar 30 2006 - fehr@suse.de
- fix random crashes during volume removal
- version 2.13.43
* Wed Mar 29 2006 - fehr@suse.de
++++++ yast2-storage-2.13.43.tar.bz2 -> yast2-storage-2.13.44.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.13.43/VERSION new/yast2-storage-2.13.44/VERSION
--- old/yast2-storage-2.13.43/VERSION 2006-03-30 15:50:34.000000000 +0200
+++ new/yast2-storage-2.13.44/VERSION 2006-03-30 20:01:20.000000000 +0200
@@ -1 +1 @@
-2.13.43
+2.13.44
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.13.43/libstorage/src/Dm.cc new/yast2-storage-2.13.44/libstorage/src/Dm.cc
--- old/yast2-storage-2.13.43/libstorage/src/Dm.cc 2006-03-29 15:37:10.000000000 +0200
+++ new/yast2-storage-2.13.44/libstorage/src/Dm.cc 2006-03-30 19:50:16.000000000 +0200
@@ -128,11 +128,7 @@
bool Dm::removeTable()
{
- string cmd = "dmsetup remove " + tname;
- SystemCmd c( cmd );
- bool ret = c.retcode()==0;
- y2milestone( "ret:%d", ret );
- return( ret );
+ return( getContainer()->getStorage()->removeDmTable( tname ));
}
string Dm::getDevice( const string& majmin )
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.13.43/libstorage/src/DmCo.cc new/yast2-storage-2.13.44/libstorage/src/DmCo.cc
--- old/yast2-storage-2.13.43/libstorage/src/DmCo.cc 2006-02-07 18:46:10.000000000 +0100
+++ new/yast2-storage-2.13.44/libstorage/src/DmCo.cc 2006-03-30 19:46:41.000000000 +0200
@@ -222,6 +222,8 @@
SystemCmd c( cmd );
if( c.retcode()!=0 )
ret = DM_REMOVE_FAILED;
+ else
+ getStorage()->waitForDevice();
}
if( ret==0 )
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.13.43/libstorage/src/Storage.cc new/yast2-storage-2.13.44/libstorage/src/Storage.cc
--- old/yast2-storage-2.13.43/libstorage/src/Storage.cc 2006-03-30 15:46:09.000000000 +0200
+++ new/yast2-storage-2.13.44/libstorage/src/Storage.cc 2006-03-30 19:51:25.000000000 +0200
@@ -1750,7 +1750,7 @@
if( ret==0 && cont->type()==DISK && haveEvms() )
{
Disk* disk = dynamic_cast