Hello community, here is the log from the commit of package yast2-security for openSUSE:Factory checked in at 2013-03-08 10:01:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-security (Old) and /work/SRC/openSUSE:Factory/.yast2-security.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-security", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-security/yast2-security.changes 2013-02-11 15:14:46.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-security.new/yast2-security.changes 2013-03-08 10:01:27.000000000 +0100 @@ -1,0 +2,15 @@ +Thu Mar 7 07:37:49 CET 2013 - [email protected] + +- drop unused LASTLOG_ENAB support (bnc#807099) +- drop obsoleted GROUP_ENCRYPTION (bnc#802006) +- if key is not present in config file, do not write new value + (bnc#807099) +- 2.23.4 + +------------------------------------------------------------------- +Wed Mar 6 16:19:20 CET 2013 - [email protected] + +- added missing etc_polkit-default-privs_local.scr +- 2.23.3 + +------------------------------------------------------------------- Old: ---- yast2-security-2.23.2.tar.bz2 New: ---- yast2-security-2.23.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-security.spec ++++++ --- /var/tmp/diff_new_pack.Fk7qs3/_old 2013-03-08 10:01:28.000000000 +0100 +++ /var/tmp/diff_new_pack.Fk7qs3/_new 2013-03-08 10:01:28.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-security -Version: 2.23.2 +Version: 2.23.4 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-security-2.23.2.tar.bz2 -> yast2-security-2.23.4.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/VERSION new/yast2-security-2.23.4/VERSION --- old/yast2-security-2.23.2/VERSION 2013-02-06 16:31:40.000000000 +0100 +++ new/yast2-security-2.23.4/VERSION 2013-03-07 09:01:34.000000000 +0100 @@ -1 +1 @@ -2.23.2 +2.23.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/agents/etc_polkit-default-privs_local.scr new/yast2-security-2.23.4/agents/etc_polkit-default-privs_local.scr --- old/yast2-security-2.23.2/agents/etc_polkit-default-privs_local.scr 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-security-2.23.4/agents/etc_polkit-default-privs_local.scr 2013-03-06 16:36:34.000000000 +0100 @@ -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.23.2/configure new/yast2-security-2.23.4/configure --- old/yast2-security-2.23.2/configure 2013-02-06 16:31:52.000000000 +0100 +++ new/yast2-security-2.23.4/configure 2013-03-07 09:01:45.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-security 2.23.2. +# Generated by GNU Autoconf 2.69 for yast2-security 2.23.4. # # Report bugs to <http://bugs.opensuse.org/>. # @@ -579,8 +579,8 @@ # Identity of this package. PACKAGE_NAME='yast2-security' PACKAGE_TARNAME='yast2-security' -PACKAGE_VERSION='2.23.2' -PACKAGE_STRING='yast2-security 2.23.2' +PACKAGE_VERSION='2.23.4' +PACKAGE_STRING='yast2-security 2.23.4' PACKAGE_BUGREPORT='http://bugs.opensuse.org/' PACKAGE_URL='' @@ -1247,7 +1247,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-security 2.23.2 to adapt to many kinds of systems. +\`configure' configures yast2-security 2.23.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1318,7 +1318,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of yast2-security 2.23.2:";; + short | recursive ) echo "Configuration of yast2-security 2.23.4:";; esac cat <<\_ACEOF @@ -1398,7 +1398,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -yast2-security configure 2.23.2 +yast2-security configure 2.23.4 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1415,7 +1415,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-security $as_me 2.23.2, which was +It was created by yast2-security $as_me 2.23.4, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2354,7 +2354,7 @@ # Define the identity of the package. PACKAGE='yast2-security' - VERSION='2.23.2' + VERSION='2.23.4' cat >>confdefs.h <<_ACEOF @@ -2477,7 +2477,7 @@ -VERSION="2.23.2" +VERSION="2.23.4" RPMNAME="yast2-security" MAINTAINER="Jiri Suchomel <[email protected]>" @@ -3403,7 +3403,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by yast2-security $as_me 2.23.2, which was +This file was extended by yast2-security $as_me 2.23.4, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3456,7 +3456,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-security config.status 2.23.2 +yast2-security config.status 2.23.4 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-security-2.23.2/configure.in new/yast2-security-2.23.4/configure.in --- old/yast2-security-2.23.2/configure.in 2013-02-06 16:31:49.000000000 +0100 +++ new/yast2-security-2.23.4/configure.in 2013-03-07 09:01:42.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-security, 2.23.2, http://bugs.opensuse.org/, yast2-security) +AC_INIT(yast2-security, 2.23.4, http://bugs.opensuse.org/, yast2-security) 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.2" +VERSION="2.23.4" RPMNAME="yast2-security" MAINTAINER="Jiri Suchomel <[email protected]>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/src/Security.ycp new/yast2-security-2.23.4/src/Security.ycp --- old/yast2-security-2.23.2/src/Security.ycp 2013-02-06 16:31:40.000000000 +0100 +++ new/yast2-security-2.23.4/src/Security.ycp 2013-03-07 09:01:34.000000000 +0100 @@ -147,9 +147,7 @@ "GID_MIN" : "1000", "DISPLAYMANAGER_SHUTDOWN" : "all", "HIBERNATE_SYSTEM" : "active_console", - "LASTLOG_ENAB" : "yes", "PASSWD_ENCRYPTION" : "sha512", - "GROUP_ENCRYPTION" : "md5", "PASSWD_USE_CRACKLIB" : "yes", "PASS_MAX_DAYS" : "99999", "PASS_MIN_DAYS" : "0", @@ -184,9 +182,8 @@ map<string,string> Settings_bak = Settings; // keys that should not be tested against predefined levels: -// - GROUP_ENCRYPTION does not have UI for changing // - RUNLEVEL*_SERVICES have different syntax, are not saved in current form -global list<string> do_not_test = [ "GROUP_ENCRYPTION", +global list<string> do_not_test = [ "RUNLEVEL3_MANDATORY_SERVICES", "RUNLEVEL5_MANDATORY_SERVICES", "RUNLEVEL3_EXTRA_SERVICES", "RUNLEVEL5_EXTRA_SERVICES" ]; @@ -199,7 +196,6 @@ "FAIL_DELAY", "GID_MAX", "GID_MIN", - "LASTLOG_ENAB", "PASS_MAX_DAYS", "PASS_MIN_DAYS", "PASS_WARN_AGE", @@ -446,8 +442,10 @@ val = (string) SCR::Read(topath(file + "." + var)); y2debug("Reading: %1 (%2)", topath(file + "." + var), val); } - if(val == nil) val = ""; - Settings[var] = val; + if (val != nil) + { + Settings[var] = val; + } }); return $[0: 0]; }); @@ -633,9 +631,8 @@ list<string> commitlist = []; mapmap(string file, list<string> vars, Locations, { maplist(string var, vars, { - string val = Settings[var]:""; - if(val == nil) val = ""; - if(val != SCR::Read(topath(file + "." + var))) { + string val = Settings[var]:nil; + if(val != nil && val != SCR::Read(topath(file + "." + var))) { SCR::Write(topath(file + "." + var), val); commitlist = (list<string>) union(commitlist, [ file ]); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/src/dialogs.ycp new/yast2-security-2.23.4/src/dialogs.ycp --- old/yast2-security-2.23.2/src/dialogs.ycp 2013-01-22 11:59:45.000000000 +0100 +++ new/yast2-security-2.23.4/src/dialogs.ycp 2013-03-07 09:01:34.000000000 +0100 @@ -822,7 +822,6 @@ settings2widget("FAIL_DELAY"), //VSeparator(), `VSpacing(0.5), - settings2widget("LASTLOG_ENAB"), VSeparator(), settings2widget("DISPLAYMANAGER_REMOTE_ACCESS") //VSeparator() @@ -875,7 +874,6 @@ } if(ret == `next || contains(tree_dialogs, ret)) { - widget2settings("LASTLOG_ENAB"); widget2settings("FAIL_DELAY"); widget2settings("DISPLAYMANAGER_REMOTE_ACCESS"); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/src/levels.ycp new/yast2-security-2.23.4/src/levels.ycp --- old/yast2-security-2.23.2/src/levels.ycp 2013-02-06 16:31:40.000000000 +0100 +++ new/yast2-security-2.23.4/src/levels.ycp 2013-03-07 09:01:34.000000000 +0100 @@ -86,7 +86,6 @@ "GID_MIN" : "1000", "DISPLAYMANAGER_SHUTDOWN" : "all", "HIBERNATE_SYSTEM" : "active_console", - "LASTLOG_ENAB" : "yes", "PASSWD_ENCRYPTION" : "sha512", "PASSWD_USE_CRACKLIB" : "yes", "PASS_MAX_DAYS" : "99999", @@ -129,7 +128,6 @@ "GID_MIN" : "1000", "DISPLAYMANAGER_SHUTDOWN" : "root", "HIBERNATE_SYSTEM" : "active_console", - "LASTLOG_ENAB" : "yes", "PASSWD_ENCRYPTION" : "sha512", "PASSWD_USE_CRACKLIB" : "yes", "PASS_MAX_DAYS" : "99999", @@ -172,7 +170,6 @@ "GID_MIN" : "1000", "DISPLAYMANAGER_SHUTDOWN" : "root", "HIBERNATE_SYSTEM" : "active_console", - "LASTLOG_ENAB" : "yes", "PASSWD_ENCRYPTION" : "sha512", "PASSWD_USE_CRACKLIB" : "yes", "PASS_MAX_DAYS" : "99999", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/src/routines.ycp new/yast2-security-2.23.4/src/routines.ycp --- old/yast2-security-2.23.2/src/routines.ycp 2013-01-22 11:59:45.000000000 +0100 +++ new/yast2-security-2.23.4/src/routines.ycp 2013-03-07 09:01:34.000000000 +0100 @@ -156,7 +156,9 @@ if(m["Editable"]:"no" == "yes") opt_t = `opt (`editable); if(m["Notify"]:"no" == "yes") - opt_t = add (opt_t, `notify); + { + opt_t = opt_t == nil ? `opt (`notify) : add (opt_t, `notify); + } if (opt_t != nil) combobox = `ComboBox(`id(ID), opt_t, label, combo); else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/src/widgets.ycp new/yast2-security-2.23.4/src/widgets.ycp --- old/yast2-security-2.23.2/src/widgets.ycp 2013-01-22 11:59:45.000000000 +0100 +++ new/yast2-security-2.23.4/src/widgets.ycp 2013-03-07 09:01:34.000000000 +0100 @@ -195,13 +195,6 @@ "Value" : "active_console" ], - "LASTLOG_ENAB" : $[ - "Widget" : "CheckBox", - /* CheckBox label */ - "Label" : _("R&ecord Successful Login Attempts"), - "Value" : "yes" - ], - "PASSWD_ENCRYPTION" : $[ "Widget" : "ComboBox", /* ComboBox label */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/testsuite/tests/Import.out new/yast2-security-2.23.4/testsuite/tests/Import.out --- old/yast2-security-2.23.2/testsuite/tests/Import.out 2013-02-06 16:31:40.000000000 +0100 +++ new/yast2-security-2.23.4/testsuite/tests/Import.out 2013-03-07 09:01:34.000000000 +0100 @@ -1,5 +1,5 @@ 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", "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", "SYSTOHC":"yes", "SYS_GID_MAX":"l16", "SYS_GID_MIN":"l17", "SYS_UID_MAX":"l14", "SYS_UID_MIN":"l15", "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", "HIBERNATE_SYSTEM":"active_console", "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", "SYSTOHC":"yes", "SYS_GID_MAX":"l16", "SYS_GID_MIN":"l17", "SYS_UID_MAX":"l14", "SYS_UID_MIN":"l15", "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 l15 Dump l14 Dump l17 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/testsuite/tests/Import.ycp new/yast2-security-2.23.4/testsuite/tests/Import.ycp --- old/yast2-security-2.23.2/testsuite/tests/Import.ycp 2013-02-06 16:31:40.000000000 +0100 +++ new/yast2-security-2.23.4/testsuite/tests/Import.ycp 2013-03-07 09:01:34.000000000 +0100 @@ -29,7 +29,6 @@ "GID_MAX" : "l3", "GID_MIN" : "l4", "DISPLAYMANAGER_SHUTDOWN" : "r3", - "LASTLOG_ENAB" : "l5", "PASS_MAX_DAYS" : "l7", "PASS_MIN_DAYS" : "l9", "PASS_MIN_LEN" : "l10", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/testsuite/tests/Level1.out new/yast2-security-2.23.4/testsuite/tests/Level1.out --- old/yast2-security-2.23.2/testsuite/tests/Level1.out 2013-02-06 16:31:40.000000000 +0100 +++ new/yast2-security-2.23.4/testsuite/tests/Level1.out 2013-03-07 09:01:34.000000000 +0100 @@ -4,8 +4,6 @@ Write .etc.login_defs.GID_MAX "60000" true Read .etc.login_defs.GID_MIN nil Write .etc.login_defs.GID_MIN "1000" true -Read .etc.login_defs.LASTLOG_ENAB nil -Write .etc.login_defs.LASTLOG_ENAB "yes" true Read .etc.login_defs.PASS_MAX_DAYS nil Write .etc.login_defs.PASS_MAX_DAYS "99999" true Read .etc.login_defs.PASS_MIN_DAYS nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/testsuite/tests/Level2.out new/yast2-security-2.23.4/testsuite/tests/Level2.out --- old/yast2-security-2.23.2/testsuite/tests/Level2.out 2013-02-06 16:31:40.000000000 +0100 +++ new/yast2-security-2.23.4/testsuite/tests/Level2.out 2013-03-07 09:01:34.000000000 +0100 @@ -4,8 +4,6 @@ Write .etc.login_defs.GID_MAX "60000" true Read .etc.login_defs.GID_MIN nil Write .etc.login_defs.GID_MIN "1000" true -Read .etc.login_defs.LASTLOG_ENAB nil -Write .etc.login_defs.LASTLOG_ENAB "yes" true Read .etc.login_defs.PASS_MAX_DAYS nil Write .etc.login_defs.PASS_MAX_DAYS "99999" true Read .etc.login_defs.PASS_MIN_DAYS nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/testsuite/tests/Level3.out new/yast2-security-2.23.4/testsuite/tests/Level3.out --- old/yast2-security-2.23.2/testsuite/tests/Level3.out 2013-02-06 16:31:40.000000000 +0100 +++ new/yast2-security-2.23.4/testsuite/tests/Level3.out 2013-03-07 09:01:34.000000000 +0100 @@ -4,8 +4,6 @@ Write .etc.login_defs.GID_MAX "60000" true Read .etc.login_defs.GID_MIN nil Write .etc.login_defs.GID_MIN "1000" true -Read .etc.login_defs.LASTLOG_ENAB nil -Write .etc.login_defs.LASTLOG_ENAB "yes" true Read .etc.login_defs.PASS_MAX_DAYS nil Write .etc.login_defs.PASS_MAX_DAYS "99999" true Read .etc.login_defs.PASS_MIN_DAYS nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/testsuite/tests/Read.out new/yast2-security-2.23.4/testsuite/tests/Read.out --- old/yast2-security-2.23.2/testsuite/tests/Read.out 2013-02-06 16:31:40.000000000 +0100 +++ new/yast2-security-2.23.4/testsuite/tests/Read.out 2013-03-07 09:01:34.000000000 +0100 @@ -1,7 +1,6 @@ Read .etc.login_defs.FAIL_DELAY "l2" Read .etc.login_defs.GID_MAX "l3" Read .etc.login_defs.GID_MIN "l4" -Read .etc.login_defs.LASTLOG_ENAB "l5" Read .etc.login_defs.PASS_MAX_DAYS "l7" Read .etc.login_defs.PASS_MIN_DAYS "l9" Read .etc.login_defs.PASS_WARN_AGE "l11" @@ -51,10 +50,9 @@ Read .etc.sysctl_conf."net.ipv6.conf.all.forwarding" "r11" Return true Dump des -Read .etc.login_defs.FAIL_DELAY "l2" +Read .etc.login_defs.FAIL_DELAY nil Read .etc.login_defs.GID_MAX "l3" Read .etc.login_defs.GID_MIN "l4" -Read .etc.login_defs.LASTLOG_ENAB "l5" Read .etc.login_defs.PASS_MAX_DAYS "l7" Read .etc.login_defs.PASS_MIN_DAYS "l9" Read .etc.login_defs.PASS_WARN_AGE "l11" @@ -103,3 +101,4 @@ Read .etc.sysctl_conf."net.ipv4.tcp_syncookies" "r9" Read .etc.sysctl_conf."net.ipv6.conf.all.forwarding" "r11" Return true +Dump none diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/testsuite/tests/Read.ycp new/yast2-security-2.23.4/testsuite/tests/Read.ycp --- old/yast2-security-2.23.2/testsuite/tests/Read.ycp 2013-02-06 16:31:40.000000000 +0100 +++ new/yast2-security-2.23.4/testsuite/tests/Read.ycp 2013-03-07 09:01:34.000000000 +0100 @@ -52,7 +52,6 @@ "FAIL_DELAY" : "l2", "GID_MAX" : "l3", "GID_MIN" : "l4", - "LASTLOG_ENAB" : "l5", "PASS_MAX_DAYS" : "l7", "PASS_MIN_DAYS" : "l9", "PASS_MIN_LEN" : "l10", @@ -104,6 +103,10 @@ Testsuite::Dump (Security::Settings["PASSWD_ENCRYPTION"]:nil); scr_info["etc","login_defs","ENCRYPT_METHOD"] = "sha512"; +// reads nil -> not in the Settings +scr_info["etc","login_defs","FAIL_DELAY"] = nil; Testsuite::Test (``(Security::Read()),[scr_info,$[],E],nil); +Testsuite::Dump (Security::Settings["FAIL_DELAY"]:"none"); + } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/testsuite/tests/Write.out new/yast2-security-2.23.4/testsuite/tests/Write.out --- old/yast2-security-2.23.2/testsuite/tests/Write.out 2013-02-06 16:31:40.000000000 +0100 +++ new/yast2-security-2.23.4/testsuite/tests/Write.out 2013-03-07 09:01:34.000000000 +0100 @@ -4,8 +4,6 @@ Write .etc.login_defs.GID_MAX "l3" true Read .etc.login_defs.GID_MIN nil Write .etc.login_defs.GID_MIN "l4" true -Read .etc.login_defs.LASTLOG_ENAB nil -Write .etc.login_defs.LASTLOG_ENAB "l5" true Read .etc.login_defs.PASS_MAX_DAYS nil Write .etc.login_defs.PASS_MAX_DAYS "l7" true Read .etc.login_defs.PASS_MIN_DAYS nil @@ -17,13 +15,13 @@ Read .etc.login_defs.UID_MIN nil Write .etc.login_defs.UID_MIN "l13" true Read .etc.login_defs.SYS_UID_MAX nil -Write .etc.login_defs.SYS_UID_MAX "" true +Write .etc.login_defs.SYS_UID_MAX "l14" true Read .etc.login_defs.SYS_UID_MIN nil -Write .etc.login_defs.SYS_UID_MIN "" true +Write .etc.login_defs.SYS_UID_MIN "l15" true Read .etc.login_defs.SYS_GID_MAX nil -Write .etc.login_defs.SYS_GID_MAX "" true +Write .etc.login_defs.SYS_GID_MAX "l16" true Read .etc.login_defs.SYS_GID_MIN nil -Write .etc.login_defs.SYS_GID_MIN "" true +Write .etc.login_defs.SYS_GID_MIN "l17" true Read .etc.login_defs.USERADD_CMD nil Write .etc.login_defs.USERADD_CMD "l18" true Read .etc.login_defs.USERDEL_PRECMD nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-security-2.23.2/testsuite/tests/Write.ycp new/yast2-security-2.23.4/testsuite/tests/Write.ycp --- old/yast2-security-2.23.2/testsuite/tests/Write.ycp 2013-01-22 11:59:45.000000000 +0100 +++ new/yast2-security-2.23.4/testsuite/tests/Write.ycp 2013-03-07 09:01:34.000000000 +0100 @@ -29,7 +29,6 @@ "GID_MAX" : "l3", "GID_MIN" : "l4", "DISPLAYMANAGER_SHUTDOWN" : "r3", - "LASTLOG_ENAB" : "l5", "PASS_MAX_DAYS" : "l7", "PASS_MIN_DAYS" : "l9", "PASS_MIN_LEN" : "l10", @@ -39,10 +38,10 @@ "RUN_UPDATEDB_AS" : "r7", "UID_MAX" : "l12", "UID_MIN" : "l13", - "SYSTEM_UID_MAX" : "l14", - "SYSTEM_UID_MIN" : "l15", - "SYSTEM_GID_MAX" : "l16", - "SYSTEM_GID_MIN" : "l17", + "SYS_UID_MAX" : "l14", + "SYS_UID_MIN" : "l15", + "SYS_GID_MAX" : "l16", + "SYS_GID_MIN" : "l17", "USERADD_CMD" : "l18", "USERDEL_PRECMD" : "l19", "USERDEL_POSTCMD" : "l20", -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
