Hello community, here is the log from the commit of package yast2-storage checked in at Mon Oct 23 18:39:28 CEST 2006. -------- --- yast2-storage/yast2-storage.changes 2006-10-17 13:50:01.000000000 +0200 +++ /mounts/work_src_done/STABLE/yast2-storage/yast2-storage.changes 2006-10-23 17:21:09.000000000 +0200 @@ -1,0 +2,9 @@ +Mon Oct 23 11:12:02 CEST 2006 - fehr@suse.de + +- change missing sysfs from error to warning to avoid breaking + packages importing Storage in testmode +- fix bug during deletion of BIOS raid devices (#213594) +- fix mis-detection of swap devices with label set (#206035) +- version 2.14.12 + +------------------------------------------------------------------- Old: ---- yast2-storage-2.14.11.tar.bz2 New: ---- yast2-storage-2.14.12.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-storage.spec ++++++ --- /var/tmp/diff_new_pack.p056ZJ/_old 2006-10-23 18:39:06.000000000 +0200 +++ /var/tmp/diff_new_pack.p056ZJ/_new 2006-10-23 18:39:06.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-storage (Version 2.14.11) +# spec file for package yast2-storage (Version 2.14.12) # # 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.14.11 +Version: 2.14.12 Release: 1 License: GNU General Public License (GPL) - all versions Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-storage-2.14.11.tar.bz2 +Source0: yast2-storage-2.14.12.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-core-devel 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.14.11 +%setup -n yast2-storage-2.14.12 %build %{prefix}/bin/y2tool y2autoconf @@ -165,6 +165,12 @@ %doc %{prefix}/share/doc/packages/yast2-storage/config.xml.description %changelog -n yast2-storage +* Mon Oct 23 2006 - fehr@suse.de +- change missing sysfs from error to warning to avoid breaking + packages importing Storage in testmode +- fix bug during deletion of BIOS raid devices (#213594) +- fix mis-detection of swap devices with label set (#206035) +- version 2.14.12 * Tue Oct 17 2006 - fehr@suse.de - add patch by Marius Tomaschewski for better logging integration with blocxx ++++++ yast2-storage-2.14.11.tar.bz2 -> yast2-storage-2.14.12.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.14.11/VERSION new/yast2-storage-2.14.12/VERSION --- old/yast2-storage-2.14.11/VERSION 2006-10-16 18:52:07.000000000 +0200 +++ new/yast2-storage-2.14.12/VERSION 2006-10-23 15:24:47.000000000 +0200 @@ -1 +1 @@ -2.14.11 +2.14.12 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.14.11/libstorage/src/DmPartCo.cc new/yast2-storage-2.14.12/libstorage/src/DmPartCo.cc --- old/yast2-storage-2.14.11/libstorage/src/DmPartCo.cc 2006-09-26 18:52:20.000000000 +0200 +++ new/yast2-storage-2.14.12/libstorage/src/DmPartCo.cc 2006-10-23 14:52:11.000000000 +0200 @@ -783,7 +783,7 @@ Partition *p = l->getPtr(); if( p==NULL ) ret = DMPART_PARTITION_NOT_FOUND; - else + else if( !deleted() ) ret = disk->doRemove( p ); } if( ret==0 ) @@ -791,7 +791,7 @@ if( !removeFromList( l ) ) ret = DMPART_REMOVE_PARTITION_LIST_ERASE; } - if( save_act ) + if( save_act && !deleted() ) { activate_part(true); updateMinor(); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.14.11/libstorage/src/DmraidCo.cc new/yast2-storage-2.14.12/libstorage/src/DmraidCo.cc --- old/yast2-storage-2.14.11/libstorage/src/DmraidCo.cc 2006-08-30 16:56:19.000000000 +0200 +++ new/yast2-storage-2.14.12/libstorage/src/DmraidCo.cc 2006-10-23 15:22:01.000000000 +0200 @@ -168,18 +168,20 @@ if( deleted() ) { if( active ) + { + activate_part(false); activate(false); + } if( !silent ) { getStorage()->showInfoCb( removeText(true) ); } - string cmd = "cd /var/log/YaST2 && dmraid -E -r"; + string cmd = "cd /var/log/YaST2 && echo y | dmraid -E -r"; + SystemCmd c; for( list<Pv>::const_iterator i=pv.begin(); i!=pv.end(); ++i ) { - cmd += " "; - cmd += i->device; + c.execute( cmd + " " + i->device ); } - SystemCmd c( cmd ); if( c.retcode()!=0 ) { ret = DMRAID_REMOVE_FAILED; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.14.11/libstorage/src/EtcFstab.cc new/yast2-storage-2.14.12/libstorage/src/EtcFstab.cc --- old/yast2-storage-2.14.11/libstorage/src/EtcFstab.cc 2006-03-21 18:34:48.000000000 +0100 +++ new/yast2-storage-2.14.12/libstorage/src/EtcFstab.cc 2006-10-23 17:00:14.000000000 +0200 @@ -228,10 +228,11 @@ FstabEntry& entry ) const { y2milestone( "uuid:%s label:%s", uuid.c_str(), label.c_str() ); - list<Entry>::const_iterator i = co.begin(); + list<Entry>::const_iterator i = co.end(); if( !uuid.empty() ) { string dev = "UUID=" + uuid; + i = co.begin(); while( i!=co.end() && i->nnew.dentry != dev ) ++i; } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.14.11/libstorage/src/Storage.cc new/yast2-storage-2.14.12/libstorage/src/Storage.cc --- old/yast2-storage-2.14.11/libstorage/src/Storage.cc 2006-10-16 18:35:05.000000000 +0200 +++ new/yast2-storage-2.14.12/libstorage/src/Storage.cc 2006-10-23 11:10:21.000000000 +0200 @@ -766,7 +766,7 @@ } else { - y2error( "Failed to open:%s", sysfs_dir.c_str() ); + y2warning( "Failed to open:%s", sysfs_dir.c_str() ); } } @@ -3703,11 +3703,13 @@ new_pair = false; } pt++; + logProcData(); } if( evms_activate && haveEvms() ) { evmsActivateDevices(); evms_activate = false; + logProcData(); } y2milestone( "ret:%d", ret ); return( ret ); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.14.11/storage/src/include/custom_part_dialogs.ycp new/yast2-storage-2.14.12/storage/src/include/custom_part_dialogs.ycp --- old/yast2-storage-2.14.11/storage/src/include/custom_part_dialogs.ycp 2006-09-21 13:11:58.000000000 +0200 +++ new/yast2-storage-2.14.12/storage/src/include/custom_part_dialogs.ycp 2006-10-23 15:25:13.000000000 +0200 @@ -16,7 +16,7 @@ * ************************************************************* - $Id: custom_part_dialogs.ycp 33024 2006-09-21 11:13:35Z fehr $ + $Id: custom_part_dialogs.ycp 33576 2006-10-23 13:25:11Z fehr $ */ { @@ -1673,7 +1673,7 @@ ")); } - if( go_on ) + if( go_on && disk["type"]:`CT_UNKNONW!=`CT_DMRAID ) { ///////////////////////////////////////////////// // delete all partitions of disk diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.14.11/storage/src/inst_target_selection.ycp new/yast2-storage-2.14.12/storage/src/inst_target_selection.ycp --- old/yast2-storage-2.14.11/storage/src/inst_target_selection.ycp 2006-09-19 13:11:51.000000000 +0200 +++ new/yast2-storage-2.14.12/storage/src/inst_target_selection.ycp 2006-10-23 15:25:13.000000000 +0200 @@ -12,7 +12,7 @@ * "target_is":<devicename> (key to "targets" map) * if custom, set "target_is":"CUSTOM" * - * $Id: inst_target_selection.ycp 32967 2006-09-19 11:13:25Z fehr $ + * $Id: inst_target_selection.ycp 33576 2006-10-23 13:25:11Z fehr $ */ { textdomain "storage"; @@ -96,6 +96,8 @@ if( Storage::IsPartitionable( tdata )) { string tlinename = tdata["name"]:"?"; + if( tdata["type"]:`CT_UNKNOWN==`CT_DMRAID ) + tlinename = "BIOS RAID " + tdata["name"]:"?"; string tline = "&" + i + ": " + tlinename; boolean sel = Storage::GetPartDisk()==tname && !custom_val; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.14.11/storage/src/modules/Storage.ycp new/yast2-storage-2.14.12/storage/src/modules/Storage.ycp --- old/yast2-storage-2.14.11/storage/src/modules/Storage.ycp 2006-10-17 10:53:14.000000000 +0200 +++ new/yast2-storage-2.14.12/storage/src/modules/Storage.ycp 2006-10-23 15:25:13.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 33452 2006-10-17 08:53:11Z fehr $ + * $Id: Storage.ycp 33576 2006-10-23 13:25:11Z fehr $ */ { @@ -2978,13 +2978,15 @@ foreach(string disk, map data, targets, ``{ - AddMountPointsForWinParts( data["partitions"]:[], true, - data["max_primary"]:4, foreign_nr ); + if( data["used_by_type"]:`UB_NONE == `UB_NONE ) + AddMountPointsForWinParts( data["partitions"]:[], true, + data["max_primary"]:4, foreign_nr ); }); foreach(string disk, map data, targets, ``{ - AddMountPointsForWinParts( data["partitions"]:[], false, - data["max_primary"]:4, foreign_nr ); + if( data["used_by_type"]:`UB_NONE == `UB_NONE ) + AddMountPointsForWinParts( data["partitions"]:[], false, + data["max_primary"]:4, foreign_nr ); }); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org