Author: aschnell Date: Thu Dec 10 18:05:20 2009 New Revision: 60059 URL: http://svn.opensuse.org/viewcvs/yast?rev=60059&view=rev Log: - run swapon with --fixpgsz (see bnc #433028) Modified: branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Volume.cc branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes branches/SuSE-Code-11-SP1-Branch/storage/storage/src/modules/Storage.ycp branches/SuSE-Code-11-SP1-Branch/storage/yast2-storage.spec.in Modified: branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Volume.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Volume.cc?rev=60059&r1=60058&r2=60059&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Volume.cc (original) +++ branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Volume.cc Thu Dec 10 18:05:20 2009 @@ -2199,7 +2199,7 @@ } else { - cmdline = SWAPONBIN " " + quote(mountDevice()); + cmdline = SWAPONBIN " --fixpgsz " + quote(mountDevice()); if( cont->getStorage()->instsys() ) { ProcMounts mountData( cont->getStorage() ); Modified: branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes?rev=60059&r1=60058&r2=60059&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/storage/package/yast2-storage.changes Thu Dec 10 18:05:20 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Dec 10 17:58:03 CET 2009 - aschnell@suse.de + +- run swapon with --fixpgsz (see bnc #433028) (requires util-linux + 2.16) + +------------------------------------------------------------------- Thu Dec 03 10:38:39 CET 2009 - fehr@suse.de - avoid data loss on encrypted partitions using non-LUKS encryption Modified: branches/SuSE-Code-11-SP1-Branch/storage/storage/src/modules/Storage.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/storage/storage/src/modules/Storage.ycp?rev=60059&r1=60058&r2=60059&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/storage/storage/src/modules/Storage.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/storage/storage/src/modules/Storage.ycp Thu Dec 10 18:05:20 2009 @@ -3430,11 +3430,11 @@ global define boolean CheckSwapable( string dev ) { - string cmd = "swapon " + dev; + string cmd = "/sbin/swapon --fixpgsz " + dev; boolean ok = (integer)SCR::Execute(.target.bash, cmd )==0; if( ok ) { - cmd = "swapoff " + dev; + cmd = "/sbin/swapoff " + dev; SCR::Execute(.target.bash, cmd ); } y2milestone( "CheckSwapable dev:%1 ret:%2", dev, ok ); Modified: branches/SuSE-Code-11-SP1-Branch/storage/yast2-storage.spec.in URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/storage/yast2-storage.spec.in?rev=60059&r1=60058&r2=60059&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/storage/yast2-storage.spec.in (original) +++ branches/SuSE-Code-11-SP1-Branch/storage/yast2-storage.spec.in Thu Dec 10 18:05:20 2009 @@ -3,7 +3,8 @@ @HEADER@ BuildRequires: blocxx-devel boost-devel gcc-c++ libxcrypt-devel openssl-devel sablot swig docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer sgml-skel update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-testsuite yast2-perl-bindings -Requires: parted yast2-storage-lib = %version yast2-perl-bindings mdadm lvm2 dmraid multipath-tools kpartx cryptsetup +Requires: parted yast2-storage-lib = %version yast2-perl-bindings mdadm lvm2 dmraid multipath-tools +Requires: kpartx cryptsetup util-linux >= 2.16 Requires: yast2-core >= 2.17.28 Requires: yast2 >= 2.17.45 Requires: yast2-libyui >= 2.17.5 -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org