Hello community, here is the log from the commit of package yast2-security for openSUSE:Factory checked in at Sat Oct 3 00:58:07 CEST 2009. -------- --- yast2-security/yast2-security.changes 2009-09-03 14:43:47.000000000 +0200 +++ yast2-security/yast2-security.changes 2009-10-01 13:49:30.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Oct 1 13:40:49 CEST 2009 - jsuchome@suse.cz + +- do not save PASS_MIN_LEN if cracklib is disabled +- ensure polkit privileges are applied (bnc#541393) +- 2.18.3 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-security-2.18.2.tar.bz2 New: ---- yast2-security-2.18.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-security.spec ++++++ --- /var/tmp/diff_new_pack.cdI7wf/_old 2009-10-03 00:55:29.000000000 +0200 +++ /var/tmp/diff_new_pack.cdI7wf/_new 2009-10-03 00:55:29.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-security (Version 2.18.2) +# spec file for package yast2-security (Version 2.18.3) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,10 +19,10 @@ Name: yast2-security -Version: 2.18.2 +Version: 2.18.3 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-security-2.18.2.tar.bz2 +Source0: yast2-security-2.18.3.tar.bz2 Prefix: /usr Group: System/YaST License: GPL v2 or later @@ -42,7 +42,7 @@ The YaST2 component for security settings configuration. %prep -%setup -n yast2-security-2.18.2 +%setup -n yast2-security-2.18.3 %build %{prefix}/bin/y2tool y2autoconf ++++++ yast2-security-2.18.2.tar.bz2 -> yast2-security-2.18.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.18.2/VERSION new/yast2-security-2.18.3/VERSION --- old/yast2-security-2.18.2/VERSION 2009-09-03 14:42:00.000000000 +0200 +++ new/yast2-security-2.18.3/VERSION 2009-10-01 13:46:01.000000000 +0200 @@ -1 +1 @@ -2.18.2 +2.18.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.18.2/src/Security.ycp new/yast2-security-2.18.3/src/Security.ycp --- old/yast2-security-2.18.2/src/Security.ycp 2009-06-02 22:40:39.000000000 +0200 +++ new/yast2-security-2.18.3/src/Security.ycp 2009-10-01 13:44:18.000000000 +0200 @@ -12,6 +12,7 @@ module "Security"; textdomain "security"; +import "FileUtils"; import "Pam"; import "PamSettings"; import "Progress"; @@ -539,7 +540,7 @@ Pam::Remove ("cracklib"); // save min pass length - if (Settings["PASS_MIN_LEN"]:"5" != "5") + if (Settings["PASS_MIN_LEN"]:"5" != "5" && Settings["PASSWD_USE_CRACKLIB"]:"no" == "yes") { Pam::Add ("cracklib"); // minlen is part of cracklib Pam::Add (sformat ("cracklib-minlen=%1", Settings["PASS_MIN_LEN"]:"5")); @@ -576,6 +577,11 @@ SCR::Execute(.target.bash, "/sbin/SuSEconfig --module kde3"); SCR::Execute(.target.bash, "/sbin/SuSEconfig --module " + mod); SCR::Execute(.target.bash, "/sbin/SuSEconfig --module permissions"); + + // ensure polkit privileges are applied (bnc #541393) + if (FileUtils::Exists ("/sbin/set_polkit_default_privs")) + SCR::Execute (.target.bash, "/sbin/set_polkit_default_privs"); + SCR::Execute(.target.bash, "/sbin/SuSEconfig --module profiles"); if(Abort()) return false; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.18.2/src/dialogs.ycp new/yast2-security-2.18.3/src/dialogs.ycp --- old/yast2-security-2.18.2/src/dialogs.ycp 2009-06-02 22:40:39.000000000 +0200 +++ new/yast2-security-2.18.3/src/dialogs.ycp 2009-09-14 14:27:54.000000000 +0200 @@ -758,10 +758,6 @@ Security::PasswordMaxLengths[enc]:8)); continue; } - if (min != 5) - { - UI::ChangeWidget (`id ("PASSWD_USE_CRACKLIB"), `Value, true); - } break; } else if (ret != "PASSWD_ENCRYPTION") { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.18.2/testsuite/tests/Level1.out new/yast2-security-2.18.3/testsuite/tests/Level1.out --- old/yast2-security-2.18.2/testsuite/tests/Level1.out 2009-06-02 21:06:47.000000000 +0200 +++ new/yast2-security-2.18.3/testsuite/tests/Level1.out 2009-10-01 13:44:57.000000000 +0200 @@ -88,5 +88,6 @@ Execute .target.bash "/sbin/SuSEconfig --module kde3" 0 Execute .target.bash "/sbin/SuSEconfig --module kdm3" 0 Execute .target.bash "/sbin/SuSEconfig --module permissions" 0 +Execute .target.bash "/sbin/set_polkit_default_privs" 0 Execute .target.bash "/sbin/SuSEconfig --module profiles" 0 Return true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.18.2/testsuite/tests/Level2.out new/yast2-security-2.18.3/testsuite/tests/Level2.out --- old/yast2-security-2.18.2/testsuite/tests/Level2.out 2009-06-02 21:07:38.000000000 +0200 +++ new/yast2-security-2.18.3/testsuite/tests/Level2.out 2009-10-01 13:45:08.000000000 +0200 @@ -88,5 +88,6 @@ Execute .target.bash "/sbin/SuSEconfig --module kde3" 0 Execute .target.bash "/sbin/SuSEconfig --module kdm3" 0 Execute .target.bash "/sbin/SuSEconfig --module permissions" 0 +Execute .target.bash "/sbin/set_polkit_default_privs" 0 Execute .target.bash "/sbin/SuSEconfig --module profiles" 0 Return true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.18.2/testsuite/tests/Level3.out new/yast2-security-2.18.3/testsuite/tests/Level3.out --- old/yast2-security-2.18.2/testsuite/tests/Level3.out 2009-06-02 21:08:08.000000000 +0200 +++ new/yast2-security-2.18.3/testsuite/tests/Level3.out 2009-10-01 13:45:16.000000000 +0200 @@ -89,5 +89,6 @@ Execute .target.bash "/sbin/SuSEconfig --module kde3" 0 Execute .target.bash "/sbin/SuSEconfig --module kdm3" 0 Execute .target.bash "/sbin/SuSEconfig --module permissions" 0 +Execute .target.bash "/sbin/set_polkit_default_privs" 0 Execute .target.bash "/sbin/SuSEconfig --module profiles" 0 Return true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.18.2/testsuite/tests/Write.out new/yast2-security-2.18.3/testsuite/tests/Write.out --- old/yast2-security-2.18.2/testsuite/tests/Write.out 2009-06-02 21:09:04.000000000 +0200 +++ new/yast2-security-2.18.3/testsuite/tests/Write.out 2009-10-01 13:45:38.000000000 +0200 @@ -80,8 +80,7 @@ Read .etc.default.passwd."CRYPT_FILES" nil Write .etc.default.passwd."CRYPT_FILES" "blowfish" true Execute .target.bash_output "pam-config -d --cracklib" $[] -Execute .target.bash_output "pam-config -a --cracklib" $[] -Execute .target.bash_output "pam-config -a --cracklib-minlen=l10" $[] +Execute .target.bash_output "pam-config -d --cracklib-minlen" $[] Execute .target.bash_output "pam-config -d --pwhistory-remember" $[] Write .etc.default.passwd nil true Execute .target.bash "echo 1 > /proc/sys/kernel/sysrq" 0 @@ -89,6 +88,7 @@ Execute .target.bash "/sbin/SuSEconfig --module kde3" 0 Execute .target.bash "/sbin/SuSEconfig --module kdm3" 0 Execute .target.bash "/sbin/SuSEconfig --module permissions" 0 +Execute .target.bash "/sbin/set_polkit_default_privs" 0 Execute .target.bash "/sbin/SuSEconfig --module profiles" 0 Execute .target.bash "/etc/init.d/dhcpd restart" 0 Execute .target.bash "/etc/init.d/dhcpd restart" 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org