Hello community,

here is the log from the commit of package yast2-security for openSUSE:Factory
checked in at Mon Sep 19 18:10:05 CEST 2011.



--------
--- yast2-security/yast2-security.changes       2011-09-08 16:50:59.000000000 
+0200
+++ yast2-security/yast2-security.changes       2011-09-19 14:56:48.000000000 
+0200
@@ -1,0 +2,12 @@
+Mon Sep 19 14:55:57 CEST 2011 - [email protected]
+
+- fixed testsuite
+- 2.21.4 
+
+-------------------------------------------------------------------
+Fri Sep 16 10:38:59 CEST 2011 - [email protected]
+
+- added option to tune system hibernation rights (bnc#704997)
+- 2.21.3
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  yast2-security-2.21.2.tar.bz2

New:
----
  yast2-security-2.21.4.tar.bz2

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

Other differences:
------------------
++++++ yast2-security.spec ++++++
--- /var/tmp/diff_new_pack.kg3CxI/_old  2011-09-19 18:10:00.000000000 +0200
+++ /var/tmp/diff_new_pack.kg3CxI/_new  2011-09-19 18:10:00.000000000 +0200
@@ -19,11 +19,11 @@
 
 
 Name:           yast2-security
-Version:        2.21.2
-Release:        1
+Version:        2.21.4
+Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Source0:        yast2-security-2.21.2.tar.bz2
+Source0:        yast2-security-2.21.4.tar.bz2
 
 Prefix:         /usr
 
@@ -50,7 +50,7 @@
 The YaST2 component for security settings configuration.
 
 %prep
-%setup -n yast2-security-2.21.2
+%setup -n yast2-security-2.21.4
 
 %build
 %{prefix}/bin/y2tool y2autoconf

++++++ yast2-security-2.21.2.tar.bz2 -> yast2-security-2.21.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-security-2.21.2/VERSION 
new/yast2-security-2.21.4/VERSION
--- old/yast2-security-2.21.2/VERSION   2011-09-08 15:44:13.000000000 +0200
+++ new/yast2-security-2.21.4/VERSION   2011-09-19 14:56:06.000000000 +0200
@@ -1 +1 @@
-2.21.2
+2.21.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-security-2.21.2/agents/etc_polkit-default-privs_local.scr 
new/yast2-security-2.21.4/agents/etc_polkit-default-privs_local.scr
--- old/yast2-security-2.21.2/agents/etc_polkit-default-privs_local.scr 
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-security-2.21.4/agents/etc_polkit-default-privs_local.scr 
2011-09-15 09:33:57.000000000 +0200
@@ -0,0 +1,23 @@
+/*
+ * File:
+ *   etc.polkit-default-privs_local.scr
+ * Summary:
+ *   SCR Agent for reading/writing /etc/polkit-default-privs.local
+ * Access:
+ *   r/w
+ *
+ */
+.etc.polkit-default-privs_local
+
+`ag_ini(
+  `IniAgent(
+    "/etc/polkit-default-privs.local",
+    $[ "options" : ["ignore_case", "global_values", "flat"],
+       "comments" : [ "^#.*", "^[ \t]*$", ],
+       "params" : [
+           $[
+               "match" : [ "^[ \t]*([a-zA-Z0-9_\.]+)[ \t]+(.*[^ \t]|)[ \t]*$", 
"%s %s", ]
+           ]
+       ]
+       ]
+    ))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-security-2.21.2/src/Security.ycp 
new/yast2-security-2.21.4/src/Security.ycp
--- old/yast2-security-2.21.2/src/Security.ycp  2011-09-08 15:41:27.000000000 
+0200
+++ new/yast2-security-2.21.4/src/Security.ycp  2011-09-16 10:40:24.000000000 
+0200
@@ -4,7 +4,7 @@
  * Summary:    Data for the security configuration
  * Authors:    Michal Svec <[email protected]>
  *
- * $Id: Security.ycp 64909 2011-07-20 09:04:52Z jsuchome $
+ * $Id: Security.ycp 65732 2011-09-16 08:40:20Z jsuchome $
  */
 
 {
@@ -121,6 +121,7 @@
     "GID_MAX"                          : "60000",
     "GID_MIN"                          : "1000",
     "DISPLAYMANAGER_SHUTDOWN"          : "all",
+    "HIBERNATE_SYSTEM"                 : "active_console",
     "LASTLOG_ENAB"                     : "yes",
     "PASSWD_ENCRYPTION"                        : "sha512",
     "GROUP_ENCRYPTION"                 : "md5",
@@ -228,6 +229,10 @@
     "net.ipv6.conf.all.forwarding"     : "0"
 ];
 
+/**
+ * Mapping of /etc/sysctl.conf keys to old (obsoleted) sysconfig ones
+ * (used during autoYaST import
+ */
 map<string,string> sysctl2sysconfig    = $[
     "kernel.sysrq"             : "ENABLE_SYSRQ",
     "net.ipv4.tcp_syncookies"  : "IP_TCP_SYNCOOKIES",
@@ -235,6 +240,16 @@
     "net.ipv6.conf.all.forwarding"     : "IPV6_FORWARD"
 ];
 
+/**
+ * mapping of internal YaST values to values needed for
+ * org.freedesktop.upower.hibernate privilege
+ */
+map<string,string> ycp2polkit  = $[
+    "active_console"   : "auth_admin:auth_admin:yes",
+    "auth_admin"       : "auth_admin:auth_admin:auth_admin",
+    "anyone"           : "yes:yes:yes"
+];
+
 /*
  * Remaining settings:
  * - CONSOLE_SHUTDOWN (/etc/inittab)
@@ -438,6 +453,19 @@
     Settings["PERMISSION_SECURITY"] = perm;
     y2debug("Settings=%1", Settings);
 
+    // read local polkit settings
+    string action      = "org.freedesktop.upower.hibernate";
+    string hibernate   = (string) SCR::Read (add 
(.etc.polkit-default-privs_local, action));
+    if (hibernate != nil)
+    {
+       Settings["HIBERNATE_SYSTEM"]            = "active_console";
+       if (hibernate == "auth_admin:auth_admin:auth_admin")
+           Settings["HIBERNATE_SYSTEM"]        = "auth_admin";
+       if (hibernate == "yes:yes:yes")
+           Settings["HIBERNATE_SYSTEM"]        = "anyone";
+    }
+    y2debug ("HIBERNATE_SYSTEM: %1", Settings["HIBERNATE_SYSTEM"]:"");
+
     // read sysctl.conf
     foreach (string key, string default_value, sysctl, {
        string val      = (string) SCR::Read (add (.etc.sysctl_conf, key));
@@ -580,6 +608,16 @@
 
     PamSettings::Write (false);
 
+    // write local polkit settings
+    if (Settings["HIBERNATE_SYSTEM"]:"" != Settings_bak["HIBERNATE_SYSTEM"]:"")
+    {
+       // allow writing any value (different from predefined ones)
+       string ycp_value= Settings["HIBERNATE_SYSTEM"]:"active_console";
+       string hibernate= ycp2polkit[ycp_value]:ycp_value;
+       string action   = "org.freedesktop.upower.hibernate";
+       SCR::Write (add (.etc.polkit-default-privs_local, action), hibernate);
+    }
+
     // write sysctl.conf
     foreach (string key, string default_value, sysctl, {
        string val      = Settings[key]:default_value;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-security-2.21.2/src/dialogs.ycp 
new/yast2-security-2.21.4/src/dialogs.ycp
--- old/yast2-security-2.21.2/src/dialogs.ycp   2011-09-08 15:05:07.000000000 
+0200
+++ new/yast2-security-2.21.4/src/dialogs.ycp   2011-09-16 10:40:24.000000000 
+0200
@@ -4,7 +4,7 @@
  * Summary:    Dialogs definitions
  * Authors:    Michal Svec <[email protected]>
  *
- * $Id: dialogs.ycp 62380 2010-08-16 11:31:53Z jsuchome $
+ * $Id: dialogs.ycp 65732 2011-09-16 08:40:20Z jsuchome $
  */
 
 {
@@ -525,6 +525,8 @@
                    settings2widget("CONSOLE_SHUTDOWN"),
                    `VSpacing(1.0),
                    settings2widget("DISPLAYMANAGER_SHUTDOWN"),
+                   `VSpacing(1.0),
+                   settings2widget("HIBERNATE_SYSTEM"),
                    `VSpacing(1)
                ),
                `HSpacing(3)
@@ -576,6 +578,7 @@
     if(ret == `next || contains(tree_dialogs, ret)) {
        widget2settings("CONSOLE_SHUTDOWN");
        widget2settings("DISPLAYMANAGER_SHUTDOWN");
+       widget2settings("HIBERNATE_SYSTEM");
     }
 
     return ret;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-security-2.21.2/src/helps.ycp 
new/yast2-security-2.21.4/src/helps.ycp
--- old/yast2-security-2.21.2/src/helps.ycp     2011-09-08 15:05:13.000000000 
+0200
+++ new/yast2-security-2.21.4/src/helps.ycp     2011-09-16 10:40:24.000000000 
+0200
@@ -4,7 +4,7 @@
  * Summary:    Helps definition
  * Authors:    Michal Svec <[email protected]>
  *
- * $Id: helps.ycp 64909 2011-07-20 09:04:52Z jsuchome $
+ * $Id: helps.ycp 65732 2011-09-16 08:40:20Z jsuchome $
  *
  * This file contains all helps for the security module screens.
  * They are in one huge map called HELPS.
@@ -37,11 +37,11 @@
 Abort the save procedure by pressing <b>Abort</b>.</p>"),
 
 
-    /* Boot dialog help 1/3 */
+    /* Boot dialog help 1/4 */
     "boot" : _("<p><b><big>Boot Security</big></b></p>
 <p>In this dialog, change various boot settings related to security.</p>") +
 
-    /* Boot dialog help 2/3 */
+    /* Boot dialog help 2/4 */
     _("<p><b>Interpretation of Ctrl + Alt + Del</b>:
 Configure what the system should do in response to
 someone at the console pressing the CTRL + ALT + DEL key
@@ -49,9 +49,15 @@
 to ignore this event, for example, when the system serves as both
 workstation and server.</p>") +
 
-    /* Boot dialog help 3/3 */
+    /* Boot dialog help 3/4 */
     _("<p><b>Shutdown Behaviour of Login Manager</b>:
 Set who is allowed to shut down the machine from KDM.</p>
+") +
+
+    // Boot dialog help 4/4
+    _("<p><b>Hibernate System</b>:
+Set the conditions for allowing users to hibernate the system. By default, 
user on active console has such right.
+Other options are allowing the action to any user or requiring authentication 
in all cases.</p>
 "),
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-security-2.21.2/src/levels.ycp 
new/yast2-security-2.21.4/src/levels.ycp
--- old/yast2-security-2.21.2/src/levels.ycp    2011-09-08 15:05:40.000000000 
+0200
+++ new/yast2-security-2.21.4/src/levels.ycp    2011-09-16 10:40:24.000000000 
+0200
@@ -4,7 +4,7 @@
  * Summary:    Security settings definitions
  * Authors:    Michal Svec <[email protected]>
  *
- * $Id: levels.ycp 64909 2011-07-20 09:04:52Z jsuchome $
+ * $Id: levels.ycp 65732 2011-09-16 08:40:20Z jsuchome $
  *
  * This file contains definitions of all security settings.
  * They are in one huge list.
@@ -65,6 +65,7 @@
        "GID_MAX"                       : "60000",
        "GID_MIN"                       : "1000",
        "DISPLAYMANAGER_SHUTDOWN"       : "all",
+       "HIBERNATE_SYSTEM"              : "active_console",
        "LASTLOG_ENAB"                  : "yes",
        "PASSWD_ENCRYPTION"             : "sha512",
        "PASSWD_USE_CRACKLIB"           : "yes",
@@ -107,6 +108,7 @@
        "GID_MAX"                       : "60000",
        "GID_MIN"                       : "1000",
        "DISPLAYMANAGER_SHUTDOWN"       : "root",
+       "HIBERNATE_SYSTEM"              : "active_console",
        "LASTLOG_ENAB"                  : "yes",
        "PASSWD_ENCRYPTION"             : "sha512",
        "PASSWD_USE_CRACKLIB"           : "yes",
@@ -149,6 +151,7 @@
        "GID_MAX"                       : "60000",
        "GID_MIN"                       : "1000",
        "DISPLAYMANAGER_SHUTDOWN"       : "root",
+       "HIBERNATE_SYSTEM"              : "active_console",
        "LASTLOG_ENAB"                  : "yes",
        "PASSWD_ENCRYPTION"             : "sha512",
        "PASSWD_USE_CRACKLIB"           : "yes",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-security-2.21.2/src/routines.ycp 
new/yast2-security-2.21.4/src/routines.ycp
--- old/yast2-security-2.21.2/src/routines.ycp  2011-09-08 13:27:43.000000000 
+0200
+++ new/yast2-security-2.21.4/src/routines.ycp  2011-09-08 15:45:25.000000000 
+0200
@@ -4,7 +4,7 @@
  * Summary:    Routines
  * Authors:    Michal Svec <[email protected]>
  *
- * $Id: routines.ycp 57402 2009-06-02 20:40:08Z jsuchome $
+ * $Id: routines.ycp 65613 2011-09-08 13:45:23Z jsuchome $
  *
  * These functions are used for the user interface creation
  * and interaction.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-security-2.21.2/src/widgets.ycp 
new/yast2-security-2.21.4/src/widgets.ycp
--- old/yast2-security-2.21.2/src/widgets.ycp   2011-09-08 13:24:13.000000000 
+0200
+++ new/yast2-security-2.21.4/src/widgets.ycp   2011-09-16 10:40:24.000000000 
+0200
@@ -4,7 +4,7 @@
  * Summary:    Security widgets definitions
  * Authors:    Michal Svec <[email protected]>
  *
- * $Id: widgets.ycp 64909 2011-07-20 09:04:52Z jsuchome $
+ * $Id: widgets.ycp 65732 2011-09-16 08:40:20Z jsuchome $
  *
  * This file contains the definitions of all widgets used by the
  * security module. They are all in one map (function) called
@@ -160,6 +160,21 @@
        "Value" : "all"
     ],
 
+    "HIBERNATE_SYSTEM" : $[
+       "Widget" : "ComboBox",
+       // ComboBox label
+       "Label" : _("System Hybernation"),
+       "Options" : [
+           // ComboBox value
+           ["active_console", _("User on the active console")],
+           // ComboBox value
+           ["anyone", _("Anyone can hibernate")],
+           // ComboBox value
+           ["auth_admin", _("Authentication always required")],
+       ],
+       "Value" : "active_console"
+    ],
+
     "LASTLOG_ENAB" : $[
        "Widget" : "CheckBox",
        /* CheckBox label */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-security-2.21.2/testsuite/tests/Import.out 
new/yast2-security-2.21.4/testsuite/tests/Import.out
--- old/yast2-security-2.21.2/testsuite/tests/Import.out        2011-09-08 
15:42:25.000000000 +0200
+++ new/yast2-security-2.21.4/testsuite/tests/Import.out        2011-09-15 
09:36:44.000000000 +0200
@@ -1,2 +1,2 @@
 Return true
-Dump   $["CONSOLE_SHUTDOWN":"reboot", 
"CRACKLIB_DICT_PATH":"/usr/lib/cracklib_dict", "CWD_IN_ROOT_PATH":"r2", 
"CWD_IN_USER_PATH":"r2s", "DISABLE_RESTART_ON_UPDATE":"r13", 
"DISABLE_STOP_ON_REMOVAL":"r14", "DISPLAYMANAGER_REMOTE_ACCESS":"r4", 
"DISPLAYMANAGER_ROOT_LOGIN_REMOTE":"r16", "DISPLAYMANAGER_SHUTDOWN":"r3", 
"DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN":"r17", "FAIL_DELAY":"l2", 
"GID_MAX":"l3", "GID_MIN":"l4", "GROUP_ENCRYPTION":"md5", "LASTLOG_ENAB":"l5", 
"PASSWD_ENCRYPTION":"sha512", "PASSWD_REMEMBER_HISTORY":"0", 
"PASSWD_USE_CRACKLIB":"yes", "PASS_MAX_DAYS":"l7", "PASS_MIN_DAYS":"l9", 
"PASS_MIN_LEN":"l10", "PASS_WARN_AGE":"l11", "PERMISSION_SECURITY":"r5", 
"RUNLEVEL3_EXTRA_SERVICES":"no", "RUNLEVEL3_MANDATORY_SERVICES":"yes", 
"RUNLEVEL5_EXTRA_SERVICES":"no", "RUNLEVEL5_MANDATORY_SERVICES":"yes", 
"RUN_UPDATEDB_AS":"r7", "SMTPD_LISTEN_REMOTE":"no", "SYSLOG_ON_NO_ERROR":"yes", 
"SYSTEM_GID_MAX":"l16", "SYSTEM_GID_MIN":"l17", "SYSTEM_UID_MAX":"l14", 
"SYSTEM_UID_MIN":"l15", "SYSTOHC":"yes", "UID_MAX":"l12", "UID_MIN":"l13", 
"USERADD_CMD":"l18", "USERDEL_POSTCMD":"l20", "USERDEL_PRECMD":"l19", 
"kernel.sysrq":"1", "net.ipv4.ip_forward":"0", "net.ipv4.tcp_syncookies":"1", 
"net.ipv6.conf.all.forwarding":"1"]
+Dump   $["CONSOLE_SHUTDOWN":"reboot", 
"CRACKLIB_DICT_PATH":"/usr/lib/cracklib_dict", "CWD_IN_ROOT_PATH":"r2", 
"CWD_IN_USER_PATH":"r2s", "DISABLE_RESTART_ON_UPDATE":"r13", 
"DISABLE_STOP_ON_REMOVAL":"r14", "DISPLAYMANAGER_REMOTE_ACCESS":"r4", 
"DISPLAYMANAGER_ROOT_LOGIN_REMOTE":"r16", "DISPLAYMANAGER_SHUTDOWN":"r3", 
"DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN":"r17", "FAIL_DELAY":"l2", 
"GID_MAX":"l3", "GID_MIN":"l4", "GROUP_ENCRYPTION":"md5", 
"HIBERNATE_SYSTEM":"active_console", "LASTLOG_ENAB":"l5", 
"PASSWD_ENCRYPTION":"sha512", "PASSWD_REMEMBER_HISTORY":"0", 
"PASSWD_USE_CRACKLIB":"yes", "PASS_MAX_DAYS":"l7", "PASS_MIN_DAYS":"l9", 
"PASS_MIN_LEN":"l10", "PASS_WARN_AGE":"l11", "PERMISSION_SECURITY":"r5", 
"RUNLEVEL3_EXTRA_SERVICES":"no", "RUNLEVEL3_MANDATORY_SERVICES":"yes", 
"RUNLEVEL5_EXTRA_SERVICES":"no", "RUNLEVEL5_MANDATORY_SERVICES":"yes", 
"RUN_UPDATEDB_AS":"r7", "SMTPD_LISTEN_REMOTE":"no", "SYSLOG_ON_NO_ERROR":"yes", 
"SYSTEM_GID_MAX":"l16", "SYSTEM_GID_MIN":"l17", "SYSTEM_UID_MAX":"l14", 
"SYSTEM_UID_MIN":"l15", "SYSTOHC":"yes", "UID_MAX":"l12", "UID_MIN":"l13", 
"USERADD_CMD":"l18", "USERDEL_POSTCMD":"l20", "USERDEL_PRECMD":"l19", 
"kernel.sysrq":"1", "net.ipv4.ip_forward":"0", "net.ipv4.tcp_syncookies":"1", 
"net.ipv6.conf.all.forwarding":"1"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-security-2.21.2/testsuite/tests/Import.ycp 
new/yast2-security-2.21.4/testsuite/tests/Import.ycp
--- old/yast2-security-2.21.2/testsuite/tests/Import.ycp        2011-09-08 
15:39:47.000000000 +0200
+++ new/yast2-security-2.21.4/testsuite/tests/Import.ycp        2011-09-08 
15:45:25.000000000 +0200
@@ -7,7 +7,7 @@
  * Authors:
  *   Michal Svec <[email protected]>
  *
- * $Id: Write.ycp 57402 2009-06-02 20:40:08Z jsuchome $
+ * $Id: Import.ycp 65613 2011-09-08 13:45:23Z jsuchome $
  *
  * testedfiles: Security.ycp PamSettings.ycp Pam.ycp
  */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-security-2.21.2/testsuite/tests/Read.out 
new/yast2-security-2.21.4/testsuite/tests/Read.out
--- old/yast2-security-2.21.2/testsuite/tests/Read.out  2011-09-08 
15:33:39.000000000 +0200
+++ new/yast2-security-2.21.4/testsuite/tests/Read.out  2011-09-15 
09:36:48.000000000 +0200
@@ -47,6 +47,7 @@
 Read   .etc.default.passwd.crypt "md5"
 Execute        .target.bash_output "/usr/sbin/pam-config -q --cracklib" $[]
 Execute        .target.bash_output "/usr/sbin/pam-config -q --pwhistory" $[]
+Read   .etc.polkit-default-privs_local."org.freedesktop.upower.hibernate" "r12"
 Read   .etc.sysctl_conf."kernel.sysrq" "r8"
 Read   .etc.sysctl_conf."net.ipv4.ip_forward" "r10"
 Read   .etc.sysctl_conf."net.ipv4.tcp_syncookies" "r9"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-security-2.21.2/testsuite/tests/Read.ycp 
new/yast2-security-2.21.4/testsuite/tests/Read.ycp
--- old/yast2-security-2.21.2/testsuite/tests/Read.ycp  2011-09-08 
15:30:10.000000000 +0200
+++ new/yast2-security-2.21.4/testsuite/tests/Read.ycp  2011-09-16 
10:40:24.000000000 +0200
@@ -7,7 +7,7 @@
  * Authors:
  *   Michal Svec <[email protected]>
  *
- * $Id: Read.ycp 64909 2011-07-20 09:04:52Z jsuchome $
+ * $Id: Read.ycp 65732 2011-09-16 08:40:20Z jsuchome $
  *
  * testedfiles: Security.ycp PamSettings.ycp Pam.ycp
  */
@@ -82,6 +82,9 @@
            "net.ipv4.ip_forward"       :       "r10",
            "net.ipv6.conf.all.forwarding"      :       "r11",
        ],
+       "polkit-default-privs_local"    : $[
+           "org.freedesktop.upower.hibernate"  : "r12"
+       ],
     ],
     "target" : $[ "size" : 1 ],
     "pam" : $[ "passwd" : $[ "password" : $[
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-security-2.21.2/testsuite/tests/Write.out 
new/yast2-security-2.21.4/testsuite/tests/Write.out
--- old/yast2-security-2.21.2/testsuite/tests/Write.out 2011-09-08 
15:33:46.000000000 +0200
+++ new/yast2-security-2.21.4/testsuite/tests/Write.out 2011-09-19 
14:56:20.000000000 +0200
@@ -74,6 +74,7 @@
 Execute        .target.bash_output "/usr/sbin/pam-config -d --cracklib-minlen" 
$[]
 Execute        .target.bash_output "/usr/sbin/pam-config -d 
--pwhistory-remember" $[]
 Write  .etc.default.passwd nil true
+Write  .etc.polkit-default-privs_local."org.freedesktop.upower.hibernate" 
"r21" true
 Read   .etc.sysctl_conf."kernel.sysrq" nil
 Write  .etc.sysctl_conf."kernel.sysrq" "1" true
 Read   .etc.sysctl_conf."net.ipv4.ip_forward" nil
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-security-2.21.2/testsuite/tests/Write.ycp 
new/yast2-security-2.21.4/testsuite/tests/Write.ycp
--- old/yast2-security-2.21.2/testsuite/tests/Write.ycp 2011-09-08 
15:32:07.000000000 +0200
+++ new/yast2-security-2.21.4/testsuite/tests/Write.ycp 2011-09-16 
10:40:24.000000000 +0200
@@ -7,7 +7,7 @@
  * Authors:
  *   Michal Svec <[email protected]>
  *
- * $Id: Write.ycp 57402 2009-06-02 20:40:08Z jsuchome $
+ * $Id: Write.ycp 65732 2011-09-16 08:40:20Z jsuchome $
  *
  * testedfiles: Security.ycp PamSettings.ycp Pam.ycp
  */
@@ -58,6 +58,7 @@
     "SMTPD_LISTEN_REMOTE"      :       "r18",
     "DHCPD_RUN_CHROOTED"       :       "r19",
     "DHCPD_RUN_AS"             :       "r20",
+    "HIBERNATE_SYSTEM"         :       "r21"
 ];
 
 map E  = $[


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



Remember to have fun...

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

Reply via email to