Hello community,
here is the log from the commit of package libstorage for openSUSE:Factory checked in at 2013-03-05 16:32:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage (Old)
and /work/SRC/openSUSE:Factory/.libstorage.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libstorage", Maintainer is "ASchnell@suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes 2013-03-01 07:25:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes 2013-03-05 16:32:36.000000000 +0100
@@ -1,0 +2,13 @@
+Tue Mar 5 11:49:34 CET 2013 - fehr@suse.de
+
+- version 2.23.9
+- detect is_efiboot by checking for /sys/firmware/efi (bnc#806490)
+- fix handling of encrypted LVM based proposal on partitioned Dm
+ and Md devices (bnc#805169)
+
+-------------------------------------------------------------------
+Mon Mar 4 15:38:19 CET 2013 - fehr@suse.de
+
+- prevent dangling btrfs shadow volumes (bnc#803935)
+
+-------------------------------------------------------------------
Old:
----
libstorage-2.23.8.tar.bz2
New:
----
libstorage-2.23.9.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libstorage.spec ++++++
--- /var/tmp/diff_new_pack.lRbD9G/_old 2013-03-05 16:32:38.000000000 +0100
+++ /var/tmp/diff_new_pack.lRbD9G/_new 2013-03-05 16:32:38.000000000 +0100
@@ -17,7 +17,7 @@
Name: libstorage
-Version: 2.23.8
+Version: 2.23.9
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: libstorage-%{version}.tar.bz2
++++++ libstorage-2.23.8.tar.bz2 -> libstorage-2.23.9.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.23.8/VERSION new/libstorage-2.23.9/VERSION
--- old/libstorage-2.23.8/VERSION 2013-02-28 15:36:33.000000000 +0100
+++ new/libstorage-2.23.9/VERSION 2013-03-05 12:16:50.000000000 +0100
@@ -1 +1 @@
-2.23.8
+2.23.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.23.8/storage/ArchInfo.cc new/libstorage-2.23.9/storage/ArchInfo.cc
--- old/libstorage-2.23.8/storage/ArchInfo.cc 2013-01-22 11:28:07.000000000 +0100
+++ new/libstorage-2.23.9/storage/ArchInfo.cc 2013-03-05 12:16:50.000000000 +0100
@@ -25,6 +25,7 @@
#include "storage/ArchInfo.h"
#include "storage/AsciiFile.h"
+#include "storage/AppUtil.h"
#include "storage/StorageTypes.h"
@@ -114,19 +115,7 @@
}
else
{
- string val;
- if (instsys)
- {
- InstallInfFile ii("/etc/install.inf");
- if (ii.getValue("EFI", val))
- is_efiboot = val == "1";
- }
- else
- {
- SysconfigFile sc("/etc/sysconfig/bootloader");
- if (sc.getValue("LOADER_TYPE", val))
- is_efiboot = val == "elilo";
- }
+ is_efiboot = checkDir( "/sys/firmware/efi/vars" );
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.23.8/storage/Disk.cc new/libstorage-2.23.9/storage/Disk.cc
--- old/libstorage-2.23.8/storage/Disk.cc 2013-02-15 10:47:03.000000000 +0100
+++ new/libstorage-2.23.9/storage/Disk.cc 2013-03-04 15:46:32.000000000 +0100
@@ -1390,6 +1390,8 @@
list::iterator vi = l.begin();
while( ret==0 && vi!=l.end() )
{
+ if ((*vi)->isUsedBy())
+ getStorage()->removeUsing( (*vi)->device(), (*vi)->getUsedBy() );
if( !removeFromList( *vi ))
ret = DISK_PARTITION_NOT_FOUND;
++vi;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.23.8/storage/DmPartCo.cc new/libstorage-2.23.9/storage/DmPartCo.cc
--- old/libstorage-2.23.8/storage/DmPartCo.cc 2013-01-22 11:28:07.000000000 +0100
+++ new/libstorage-2.23.9/storage/DmPartCo.cc 2013-03-05 11:56:31.000000000 +0100
@@ -92,6 +92,15 @@
dm->getFsInfo( p );
dm->setCreated();
dm->addUdevData();
+ ConstDmPartPair pp = dmpartPair();
+ for( ConstDmPartIter i=pp.begin(); i!=pp.end(); ++i )
+ {
+ if( i->deleted() && i->nr()==p->nr() && !i->getCryptPwd().empty())
+ {
+ y2mil("harvesting old password");
+ dm->setCryptPwd(i->getCryptPwd());
+ }
+ }
addToList( dm );
}
handleWholeDevice();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.23.8/storage/LvmVg.cc new/libstorage-2.23.9/storage/LvmVg.cc
--- old/libstorage-2.23.8/storage/LvmVg.cc 2013-02-19 16:06:32.000000000 +0100
+++ new/libstorage-2.23.9/storage/LvmVg.cc 2013-03-04 15:46:32.000000000 +0100
@@ -119,22 +119,27 @@
{
ret = LVM_CHANGE_READONLY;
}
- if( ret==0 && !created() )
+ if( ret==0 )
{
LvmLvPair p = lvmLvPair(LvmLv::notDeleted);
for( LvmLvIter i=p.begin(); i!=p.end(); ++i )
{
- if( i->isSnapshot() )
+ if( i->isSnapshot() && !created() )
ret = removeLv( i->name() );
}
for( LvmLvIter i=p.begin(); i!=p.end(); ++i )
{
if( !i->isSnapshot() && !i->isPool() )
- ret = removeLv( i->name() );
+ {
+ if (i->isUsedBy())
+ getStorage()->removeUsing( i->device(), i->getUsedBy() );
+ if( !created() )
+ ret = removeLv( i->name() );
+ }
}
for( LvmLvIter i=p.begin(); i!=p.end(); ++i )
{
- if( !i->isSnapshot() && i->isPool() )
+ if( !i->isSnapshot() && i->isPool() && !created())
ret = removeLv( i->name() );
}
setDeleted();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.23.8/storage/MdPartCo.cc new/libstorage-2.23.9/storage/MdPartCo.cc
--- old/libstorage-2.23.8/storage/MdPartCo.cc 2013-01-22 11:28:07.000000000 +0100
+++ new/libstorage-2.23.9/storage/MdPartCo.cc 2013-03-05 11:56:31.000000000 +0100
@@ -163,6 +163,15 @@
md->getFsInfo( p );
md->setCreated();
md->addUdevData();
+ ConstMdPartPair pp = mdpartPair();
+ for( ConstMdPartIter i=pp.begin(); i!=pp.end(); ++i )
+ {
+ if( i->deleted() && i->nr()==p->nr() && !i->getCryptPwd().empty())
+ {
+ y2mil("harvesting old password");
+ md->setCryptPwd(i->getCryptPwd());
+ }
+ }
addToList( md );
y2mil("device:" << device << " was added to MdPartCo : " << dev);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.23.8/storage/Volume.cc new/libstorage-2.23.9/storage/Volume.cc
--- old/libstorage-2.23.8/storage/Volume.cc 2013-02-20 18:26:33.000000000 +0100
+++ new/libstorage-2.23.9/storage/Volume.cc 2013-03-05 11:56:31.000000000 +0100
@@ -3389,12 +3389,13 @@
if( v.encryption != v.orig_encryption &&
v.orig_encryption!=storage::ENC_NONE )
s << " orig_encr:" << toString(v.orig_encryption);
+ }
#ifdef DEBUG_CRYPT_PASSWORD
+ if( !v.crypt_pwd.empty() )
s << " pwd:" << v.crypt_pwd;
- if( v.orig_crypt_pwd.empty() && v.crypt_pwd!=v.orig_crypt_pwd )
- s << " orig_pwd:" << v.orig_crypt_pwd;
+ if( !v.orig_crypt_pwd.empty() && v.crypt_pwd!=v.orig_crypt_pwd )
+ s << " orig_pwd:" << v.orig_crypt_pwd;
#endif
- }
if( !v.dmcrypt_dev.empty() )
s << " dmcrypt:" << v.dmcrypt_dev;
if( v.dmcrypt_active )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.23.8/storage/gen_md5sum.cc new/libstorage-2.23.9/storage/gen_md5sum.cc
--- old/libstorage-2.23.8/storage/gen_md5sum.cc 2013-02-27 18:32:07.000000000 +0100
+++ new/libstorage-2.23.9/storage/gen_md5sum.cc 2013-03-05 12:22:21.000000000 +0100
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM "34042be9aa2311c3032b075cfe2fb472"
-#define SOURCES_MD5_DATE " Wed Feb 27 18:32:07 CET 2013 "
+#define SOURCES_MD5SUM "aba904178fa91e4c03929cd2e424465e"
+#define SOURCES_MD5_DATE " Tue Mar 5 12:22:21 CET 2013 "
namespace storage
{
const char* GetSourceMd5() { return SOURCES_MD5SUM; }
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org