Hello community, here is the log from the commit of package yast2-users for openSUSE:Factory checked in at 2013-12-08 19:50:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-users (Old) and /work/SRC/openSUSE:Factory/.yast2-users.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-users" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-users/yast2-users.changes 2013-11-21 15:27:04.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-users.new/yast2-users.changes 2013-12-08 19:50:34.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Dec 5 14:34:59 CET 2013 - jsuch...@suse.cz + +- report error if cryptconfig was not installed (bnc#853189) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-users-3.1.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.3/package/yast2-users.changes new/yast2-users-3.1.3/package/yast2-users.changes --- old/yast2-users-3.1.3/package/yast2-users.changes 2013-11-18 15:03:48.000000000 +0100 +++ new/yast2-users-3.1.3/package/yast2-users.changes 2013-12-05 16:58:01.000000000 +0100 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Dec 5 14:34:59 CET 2013 - jsuch...@suse.cz + +- report error if cryptconfig was not installed (bnc#853189) + +------------------------------------------------------------------- Wed Nov 13 16:25:29 UTC 2013 - lsle...@suse.cz - installation: removed LDAP/Kerberos autodetection, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.3/src/clients/inst_user_first.rb new/yast2-users-3.1.3/src/clients/inst_user_first.rb --- old/yast2-users-3.1.3/src/clients/inst_user_first.rb 2013-11-18 15:03:48.000000000 +0100 +++ new/yast2-users-3.1.3/src/clients/inst_user_first.rb 2013-12-05 16:58:01.000000000 +0100 @@ -441,10 +441,10 @@ def main_help # help text for main add user dialog help = _("<p>\nEnter the <b>User's Full Name</b>, <b>Username</b>, and <b>Password</b> to\n" + - "assign to this user account.\n</p>\n") << + "assign to this user account.\n</p>\n") + # help text for main add user dialog _("<p>\nWhen entering a password, distinguish between uppercase and\n" + - "lowercase. Passwords should not contain any accented characters or umlauts.\n</p>\n") << + "lowercase. Passwords should not contain any accented characters or umlauts.\n</p>\n") + # help text %1 is encryption type, %2,%3 numbers Builtins.sformat( _("<p>\nWith the current password encryption (%1), the password length should be between\n" + @@ -452,32 +452,32 @@ @encoding2label.fetch(@encryption_method, @encryption_method), UsersSimple.GetMinPasswordLength("local"), UsersSimple.GetMaxPasswordLength("local") - ) << + ) + UsersSimple.ValidPasswordHelptext if @check_CA_constraints # additional help text about password - help << (_("<p>If you intend to use this password for creating certificates,\n" + + help += (_("<p>If you intend to use this password for creating certificates,\n" + "it has to be at least %s characters long.</p>") % MIN_PW_LEN_CA) end # help text for main add user dialog - help << _("<p>\nTo ensure that the password was entered correctly,\n" + + help += _("<p>\nTo ensure that the password was entered correctly,\n" + "repeat it exactly in a second field. Do not forget your password.\n" + - "</p>\n") << + "</p>\n") + # help text for main add user dialog _("<p>\nFor the <b>Username</b> use only letters (no accented characters), digits, and <tt>._-</tt>.\n" + "Do not use uppercase letters in this entry unless you know what you are doing.\n" + "Usernames have stricter restrictions than passwords. You can redefine the\n" + "restrictions in the /etc/login.defs file. Read its man page for information.\n" + - "</p>\n") << + "</p>\n") + # help text for main add user dialog _("<p>Check <b>Use this password for system administrator</b> if the " + - "same password as entered for the first user should be used for root.</p>") << + "same password as entered for the first user should be used for root.</p>") + # help text for main add user dialog _("<p>\nThe username and password created here are needed to log in " + "and work with your Linux system. With <b>Automatic Login</b> enabled, " + - "the login procedure is skipped. This user is logged in automatically.</p>\n") << + "the login procedure is skipped. This user is logged in automatically.</p>\n") + # help text for main add user dialog _( "<p>\nHave mail for root forwarded to this user by checking <b>Receive System Mail</b>.</p>\n") end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.3/src/include/users/dialogs.rb new/yast2-users-3.1.3/src/include/users/dialogs.rb --- old/yast2-users-3.1.3/src/include/users/dialogs.rb 2013-11-18 15:03:48.000000000 +0100 +++ new/yast2-users-3.1.3/src/include/users/dialogs.rb 2013-12-05 16:58:01.000000000 +0100 @@ -1577,6 +1577,13 @@ focus_tab.call(current, :dirsize) next end + if !Package.Install("cryptconfig") + # error popup + Popup.Error(Message.FailedToInstallPackages + _(" +Directory cannot be encrypted.")) + UI.ChangeWidget(Id(:crypted_home), :Value, false) + next + end crypted_home_size = home_size else crypted_home_size = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.3/src/modules/Users.pm new/yast2-users-3.1.3/src/modules/Users.pm --- old/yast2-users-3.1.3/src/modules/Users.pm 2013-11-18 15:03:48.000000000 +0100 +++ new/yast2-users-3.1.3/src/modules/Users.pm 2013-12-05 16:58:01.000000000 +0100 @@ -4577,7 +4577,12 @@ } } if (%users_with_crypted_dir) { - Package->Install ("cryptconfig"); + unless (Package->Install ("cryptconfig")) + { + # error message + Report->Error(Message->FailedToInstallPackages () + __(" +Encryption support is not installed, home directories will NOT be encrypted.")) + } } # Write passwords -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org