Hello community,

here is the log from the commit of package yast2-storage for openSUSE:Factory 
checked in at 2013-03-01 09:11:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-storage (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-storage.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-storage", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-storage/yast2-storage.changes      
2013-02-19 13:46:27.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-storage.new/yast2-storage.changes 
2013-03-01 09:11:53.000000000 +0100
@@ -1,0 +2,17 @@
+Thu Feb 28 12:36:18 CET 2013 - [email protected]
+
+- version 2.23.8
+- enable encryption option for architecture S390 (bnc#804598)
+
+-------------------------------------------------------------------
+Wed Feb 27 18:19:47 CET 2013 - [email protected]
+
+- fix handling of inactive raid devices (bnc#798275)
+
+-------------------------------------------------------------------
+Tue Feb 26 17:42:35 CET 2013 - [email protected]
+
+- version 2.23.7
+- allow encryption for newly created lvm partitions (bnc#803803)
+
+-------------------------------------------------------------------

Old:
----
  yast2-storage-2.23.6.tar.bz2

New:
----
  yast2-storage-2.23.8.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-storage.spec ++++++
--- /var/tmp/diff_new_pack.oKVDT7/_old  2013-03-01 09:11:54.000000000 +0100
+++ /var/tmp/diff_new_pack.oKVDT7/_new  2013-03-01 09:11:54.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-storage
-Version:        2.23.6
+Version:        2.23.8
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -39,7 +39,7 @@
 BuildRequires:  yast2-devtools
 BuildRequires:  yast2-perl-bindings
 BuildRequires:  yast2-testsuite >= 2.19.0
-Requires:       libstorage4 >= 2.23.3
+Requires:       libstorage4 >= 2.23.8
 Requires:       perl = %{perl_version}
 Requires:       yast2 >= 2.19.4
 Requires:       yast2-core >= 2.18.3

++++++ yast2-storage-2.23.6.tar.bz2 -> yast2-storage-2.23.8.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.23.6/VERSION 
new/yast2-storage-2.23.8/VERSION
--- old/yast2-storage-2.23.6/VERSION    2013-02-19 11:52:12.000000000 +0100
+++ new/yast2-storage-2.23.8/VERSION    2013-02-28 15:52:58.000000000 +0100
@@ -1 +1 @@
-2.23.6
+2.23.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.23.6/configure 
new/yast2-storage-2.23.8/configure
--- old/yast2-storage-2.23.6/configure  2013-02-19 12:21:03.000000000 +0100
+++ new/yast2-storage-2.23.8/configure  2013-02-28 15:53:20.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for yast2-storage 2.23.6.
+# Generated by GNU Autoconf 2.69 for yast2-storage 2.23.8.
 #
 # Report bugs to <http://bugs.opensuse.org/>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='yast2-storage'
 PACKAGE_TARNAME='yast2-storage'
-PACKAGE_VERSION='2.23.6'
-PACKAGE_STRING='yast2-storage 2.23.6'
+PACKAGE_VERSION='2.23.8'
+PACKAGE_STRING='yast2-storage 2.23.8'
 PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
 PACKAGE_URL=''
 
@@ -1380,7 +1380,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures yast2-storage 2.23.6 to adapt to many kinds of systems.
+\`configure' configures yast2-storage 2.23.8 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1451,7 +1451,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of yast2-storage 2.23.6:";;
+     short | recursive ) echo "Configuration of yast2-storage 2.23.8:";;
    esac
   cat <<\_ACEOF
 
@@ -1569,7 +1569,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-yast2-storage configure 2.23.6
+yast2-storage configure 2.23.8
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2022,7 +2022,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by yast2-storage $as_me 2.23.6, which was
+It was created by yast2-storage $as_me 2.23.8, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2961,7 +2961,7 @@
 
 # Define the identity of the package.
  PACKAGE='yast2-storage'
- VERSION='2.23.6'
+ VERSION='2.23.8'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3084,7 +3084,7 @@
 
 
 
-VERSION="2.23.6"
+VERSION="2.23.8"
 RPMNAME="yast2-storage"
 MAINTAINER="Arvin Schnell <[email protected]>"
 
@@ -16825,7 +16825,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by yast2-storage $as_me 2.23.6, which was
+This file was extended by yast2-storage $as_me 2.23.8, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -16891,7 +16891,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-yast2-storage config.status 2.23.6
+yast2-storage config.status 2.23.8
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.23.6/configure.in 
new/yast2-storage-2.23.8/configure.in
--- old/yast2-storage-2.23.6/configure.in       2013-02-19 12:20:53.000000000 
+0100
+++ new/yast2-storage-2.23.8/configure.in       2013-02-28 15:53:09.000000000 
+0100
@@ -3,7 +3,7 @@
 dnl -- This file is generated by y2autoconf 2.23.2 - DO NOT EDIT! --
 dnl    (edit configure.in.in instead)
 
-AC_INIT(yast2-storage, 2.23.6, http://bugs.opensuse.org/, yast2-storage)
+AC_INIT(yast2-storage, 2.23.8, http://bugs.opensuse.org/, yast2-storage)
 dnl Check for presence of file 'RPMNAME'
 AC_CONFIG_SRCDIR([RPMNAME])
 
@@ -18,7 +18,7 @@
 AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
 
 dnl Important YaST2 variables
-VERSION="2.23.6"
+VERSION="2.23.8"
 RPMNAME="yast2-storage"
 MAINTAINER="Arvin Schnell <[email protected]>"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-2.23.6/storage/src/include/custom_part_dialogs.ycp 
new/yast2-storage-2.23.8/storage/src/include/custom_part_dialogs.ycp
--- old/yast2-storage-2.23.6/storage/src/include/custom_part_dialogs.ycp        
2013-02-12 13:46:35.000000000 +0100
+++ new/yast2-storage-2.23.8/storage/src/include/custom_part_dialogs.ycp        
2013-02-28 12:41:35.000000000 +0100
@@ -876,9 +876,6 @@
 
     term CryptButton(map new_val)
     { 
-       if (Arch::s390())
-           return `Empty();
-
        boolean cr = new_val["enc_type"]:`none != `none;
 
        return `VBox(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-2.23.6/storage/src/include/custom_part_lib.ycp 
new/yast2-storage-2.23.8/storage/src/include/custom_part_lib.ycp
--- old/yast2-storage-2.23.6/storage/src/include/custom_part_lib.ycp    
2013-01-22 12:12:36.000000000 +0100
+++ new/yast2-storage-2.23.8/storage/src/include/custom_part_lib.ycp    
2013-02-26 17:51:36.000000000 +0100
@@ -762,7 +762,8 @@
            if( no_fs )
                {
                UI::ChangeWidget( `id(`do_not_mount), `Value, true);
-               ChangeExistingSymbolsState( [ `fs_options, `fs, `crypt_fs ], 
false );
+               ChangeExistingSymbolsState( [ `fs_options, `fs ], false );
+               ChangeExistingSymbolsState( [ `crypt_fs ], 
(fs_int==Partitions::fsid_lvm) );
                }
            else if( fs_int == Partitions::fsid_native )
                {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-2.23.6/storage/src/include/ep-raid-lib.ycp 
new/yast2-storage-2.23.8/storage/src/include/ep-raid-lib.ycp
--- old/yast2-storage-2.23.6/storage/src/include/ep-raid-lib.ycp        
2013-01-22 12:12:36.000000000 +0100
+++ new/yast2-storage-2.23.8/storage/src/include/ep-raid-lib.ycp        
2013-02-27 18:43:36.000000000 +0100
@@ -73,6 +73,21 @@
        return ret;
     }
 
+    boolean CanModifyRaid( map data )
+       {
+       boolean ret = true;
+       if( data["raid_inactive"]:false )
+           {
+           string txt = sformat( _("
+Raid %1 cannot be modified because it is in inactive state.
+This normally means the subset of raid devices is too small
+for the raid to be usable.
+"), data["device"]:"" );
+           Popup::Error(txt);
+           ret = false;
+           }
+       return( ret );
+       }
 
     void EpCreateRaid()
     {
@@ -136,6 +151,9 @@
        map<string, map> target_map = Storage::GetTargetMap();
        map<string, any> data = Storage::GetPartition(target_map, device);
 
+       if( !CanModifyRaid( data ) )
+           return;
+
        if (Storage::IsUsedBy(data))
        {
            // error popup, %1 is replaced by device name e.g. /dev/md1
@@ -168,6 +186,9 @@
        map<string, map> target_map = Storage::GetTargetMap();
        map<string, any> data = Storage::GetPartition(target_map, device);
 
+       if( !CanModifyRaid( data ) )
+           return;
+
        if (!data["create"]:false)
        {
            // error popup, %1 is replaced by device name e.g. /dev/md1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-2.23.6/storage/src/modules/Storage.ycp 
new/yast2-storage-2.23.8/storage/src/modules/Storage.ycp
--- old/yast2-storage-2.23.6/storage/src/modules/Storage.ycp    2013-02-15 
10:33:44.000000000 +0100
+++ new/yast2-storage-2.23.8/storage/src/modules/Storage.ycp    2013-02-27 
18:43:36.000000000 +0100
@@ -1646,6 +1646,9 @@
                }
            string d = LibStorage::MdInfo::swig_sb_ver_get(info);
            p["sb_ver"] = d;
+           boolean tbool = LibStorage::MdInfo::swig_inactive_get(info);
+           if( tbool )
+               p["raid_inactive"] = true;
 
            list<string> ls = 
splitstring(LibStorage::MdInfo::swig_devices_get(info), " ");
            p["devices"] = ls;

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to