Hello community,

here is the log from the commit of package yast2-users for openSUSE:Factory 
checked in at 2018-04-07 20:50:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-users (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-users.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-users"

Sat Apr  7 20:50:49 2018 rev:209 rq:591515 version:4.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-users/yast2-users.changes  2018-03-11 
18:01:52.162237347 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-users.new/yast2-users.changes     
2018-04-07 20:50:54.555741265 +0200
@@ -1,0 +2,7 @@
+Fri Mar 23 14:20:59 UTC 2018 - jreidin...@suse.com
+
+- Fix import of RootPassword if user is specified in autoyast
+  profile (bsc#1081958)
+- 4.0.4
+
+-------------------------------------------------------------------

Old:
----
  yast2-users-4.0.3.tar.bz2

New:
----
  yast2-users-4.0.4.tar.bz2

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

Other differences:
------------------
++++++ yast2-users.spec ++++++
--- /var/tmp/diff_new_pack.UWu4tE/_old  2018-04-07 20:50:55.155719551 +0200
+++ /var/tmp/diff_new_pack.UWu4tE/_new  2018-04-07 20:50:55.159719406 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-users
-Version:        4.0.3
+Version:        4.0.4
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-users-4.0.3.tar.bz2 -> yast2-users-4.0.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-4.0.3/package/yast2-users.changes 
new/yast2-users-4.0.4/package/yast2-users.changes
--- old/yast2-users-4.0.3/package/yast2-users.changes   2018-03-07 
09:44:40.000000000 +0100
+++ new/yast2-users-4.0.4/package/yast2-users.changes   2018-03-27 
10:21:14.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Fri Mar 23 14:20:59 UTC 2018 - jreidin...@suse.com
+
+- Fix import of RootPassword if user is specified in autoyast
+  profile (bsc#1081958)
+- 4.0.4
+
+-------------------------------------------------------------------
 Thu Mar  1 09:36:25 UTC 2018 - mvid...@suse.com
 
 - Fixed removing the password expiration date (bsc#1080125)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-4.0.3/package/yast2-users.spec 
new/yast2-users-4.0.4/package/yast2-users.spec
--- old/yast2-users-4.0.3/package/yast2-users.spec      2018-03-07 
09:44:40.000000000 +0100
+++ new/yast2-users-4.0.4/package/yast2-users.spec      2018-03-27 
10:21:14.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-users
-Version:        4.0.3
+Version:        4.0.4
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-4.0.3/src/modules/Users.pm 
new/yast2-users-4.0.4/src/modules/Users.pm
--- old/yast2-users-4.0.3/src/modules/Users.pm  2018-03-07 09:44:40.000000000 
+0100
+++ new/yast2-users-4.0.4/src/modules/Users.pm  2018-03-27 10:21:14.000000000 
+0200
@@ -6303,9 +6303,13 @@
 
            my $pw = Linuxrc->InstallInf ("RootPassword");
            if (defined $pw){
+                # ensure that even if no user is defined, root will be written
+                $users_modified        = 1;
 
-               $root_user{"userPassword"}      =
-                   $self->CryptPassword ($pw, "system");
+               y2milestone ("updating root password from install.inf");
+               $root_user{"userPassword"} = $self->CryptPassword ($pw, 
"system");
+                # mark that password is already encrypted, so it does not 
encrypt twice (bsc#1081958)
+               $root_user{"encrypted"} = 1;
 
                $users{"system"}{"root"}                = \%root_user;
                $shadow{"system"}{"root"} = $self->CreateShadowMap(\%root_user);


Reply via email to