Author: jsuchome
Date: Mon May 26 09:05:43 2008
New Revision: 47858
URL: http://svn.opensuse.org/viewcvs/yast?rev=47858&view=rev
Log:
- enable auth and user clients in 2nd stage when necessary
- ask for confirmation when 1st user creation is skipped
(bnc#393722)
- 2.16.33
Modified:
trunk/users/VERSION
trunk/users/package/yast2-users.changes
trunk/users/src/UsersSimple.pm
trunk/users/src/inst_user_first.ycp
Modified: trunk/users/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/VERSION?rev=47858&r1=47857&r2=47858&view=diff
==============================================================================
--- trunk/users/VERSION (original)
+++ trunk/users/VERSION Mon May 26 09:05:43 2008
@@ -1 +1 @@
-2.16.32
+2.16.33
Modified: trunk/users/package/yast2-users.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/package/yast2-users.changes?rev=47858&r1=47857&r2=47858&view=diff
==============================================================================
--- trunk/users/package/yast2-users.changes (original)
+++ trunk/users/package/yast2-users.changes Mon May 26 09:05:43 2008
@@ -1,4 +1,12 @@
-------------------------------------------------------------------
+Fri May 23 15:51:33 CEST 2008 - jsuchome@suse.cz
+
+- enable auth and user clients in 2nd stage when necessary
+- ask for confirmation when 1st user creation is skipped
+ (bnc#393722)
+- 2.16.33
+
+-------------------------------------------------------------------
Wed May 21 14:26:55 CEST 2008 - jsuchome@suse.cz
- install architecture dependent cryptconfig (bnc#392028)
Modified: trunk/users/src/UsersSimple.pm
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/src/UsersSimple.pm?rev=47858&r1=47857&r2=47858&view=diff
==============================================================================
--- trunk/users/src/UsersSimple.pm (original)
+++ trunk/users/src/UsersSimple.pm Mon May 26 09:05:43 2008
@@ -901,10 +901,16 @@
y2milestone ("enabling step 'root' for second stage");
ProductControl->EnableModule ("root");
}
+ # enable inst_user to either run auth client or write first user
if ($after_auth ne "users" || $user_defined) {
y2milestone ("enabling step 'user' for second stage");
ProductControl->EnableModule ("user");
-# FIXME also when e.g. only encryption was modified
+ }
+ # no user entered + 2nd stage visible => enable clients (bnc#393722)
+ elsif (!ProductControl->GetUseAutomaticConfiguration ()) {
+ y2milestone ("enabling steps 'auth' and 'user' for second stage");
+ ProductControl->EnableModule ("auth");
+ ProductControl->EnableModule ("user");
}
return $ret;
@@ -934,8 +940,7 @@
$root_password_written = bool ($data->{"root_password_written"});
$ret = 1;
}
-# SCR->Execute (".target.remove", $file); FIXME not removed due to testing
- SCR->Execute (".target.bash", "mv $file $file.bak");
+ SCR->Execute (".target.remove", $file);
}
return bool ($ret);
}
@@ -1030,7 +1035,6 @@
}
my $user_type = "local";
-# my %grouplist = (); FIXME read group list?
if (($uid <= $max_system_uid) || ($username eq "nobody")) {
$user_type = "system";
Modified: trunk/users/src/inst_user_first.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/src/inst_user_first.ycp?rev=47858&r1=47857&r2=47858&view=diff
==============================================================================
--- trunk/users/src/inst_user_first.ycp (original)
+++ trunk/users/src/inst_user_first.ycp Mon May 26 09:05:43 2008
@@ -15,6 +15,7 @@
import "Popup";
import "Stage";
import "Package";
+ import "ProductControl";
import "ProductFeatures";
import "Progress";
import "Report";
@@ -625,10 +626,27 @@
map