Hello community,

here is the log from the commit of package yast2-users for openSUSE:Factory 
checked in at 2016-03-20 11:48:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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  2016-02-23 
16:52:49.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-users.new/yast2-users.changes     
2016-03-20 11:48:12.000000000 +0100
@@ -1,0 +2,7 @@
+Sat Mar  5 11:04:17 UTC 2016 - igonzalezs...@suse.com
+
+- Do not include inst-sys users when cloning the configuration
+  after the installation (bnc#965852)
+- 3.1.46
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ yast2-users.spec ++++++
--- /var/tmp/diff_new_pack.WTAdOo/_old  2016-03-20 11:48:13.000000000 +0100
+++ /var/tmp/diff_new_pack.WTAdOo/_new  2016-03-20 11:48:13.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-users
-Version:        3.1.45
+Version:        3.1.46
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-users-3.1.45.tar.bz2 -> yast2-users-3.1.46.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-3.1.45/package/yast2-users.changes 
new/yast2-users-3.1.46/package/yast2-users.changes
--- old/yast2-users-3.1.45/package/yast2-users.changes  2016-02-18 
10:27:12.000000000 +0100
+++ new/yast2-users-3.1.46/package/yast2-users.changes  2016-03-15 
15:26:26.000000000 +0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Sat Mar  5 11:04:17 UTC 2016 - igonzalezs...@suse.com
+
+- Do not include inst-sys users when cloning the configuration
+  after the installation (bnc#965852)
+- 3.1.46
+
+-------------------------------------------------------------------
 Thu Feb 18 09:23:10 CET 2016 - sch...@suse.de
 
 - Do not crash autoinstallation if the home directory of a user is
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-3.1.45/package/yast2-users.spec 
new/yast2-users-3.1.46/package/yast2-users.spec
--- old/yast2-users-3.1.45/package/yast2-users.spec     2016-02-18 
10:27:12.000000000 +0100
+++ new/yast2-users-3.1.46/package/yast2-users.spec     2016-03-15 
15:26:26.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-users
-Version:        3.1.45
+Version:        3.1.46
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-3.1.45/src/modules/Users.pm 
new/yast2-users-3.1.46/src/modules/Users.pm
--- old/yast2-users-3.1.45/src/modules/Users.pm 2016-02-18 10:27:12.000000000 
+0100
+++ new/yast2-users-3.1.46/src/modules/Users.pm 2016-03-15 15:26:26.000000000 
+0100
@@ -5861,8 +5861,9 @@
        }
     }
 
-    if ($uid == -1) {
-       # check for existence of this user (and change it with given values)
+    if ($uid == -1 || Stage->initial()) {
+       # Check for existence of this user (and change it with given values).
+       # During 1st stage we simply match by username (bnc#965852).
        my %existing    = %{$self->GetUserByName ($username, "")};
        if (%existing) {
        
@@ -5886,7 +5887,7 @@
                $cn eq "") {
                $cn             = $existing{"cn"} || "";
            }
-           if ($gid == -1) {
+           if ($gid == -1 || Stage->initial()) {
                $gid            = $existing{"gidNumber"};
            }
            %ret        = (
@@ -5976,8 +5977,9 @@
        $gid            = $group{"gid"} if (!defined $gid);
        $gid            = -1 if (!defined $gid);
     }
-    if ($gid == -1) {
-       # check for existence of this group (and change it with given values)
+    if ($gid == -1 || Stage->initial()) {
+       # Check for existence of this group (and change it with given values).
+       # During 1st stage we simply match by groupname (bnc#965852).
        my $existing    = $self->GetGroupByName ($groupname, "");
        if (ref ($existing) eq "HASH" && %{$existing}) {
            $gid        = $existing->{"gidNumber"};
@@ -6130,7 +6132,8 @@
     # remove cache entries (#50265)
     UsersCache->ResetCache ();
 
-    my $error_msg = Mode->test () ? "" : $self->ReadLocal ();
+    # Avoid to read local users during 1st stage (bnc#965852)
+    my $error_msg = (Mode->test() || Stage->initial()) ? "" : $self->ReadLocal 
();
     if ($error_msg) {
        return 0;
     }


Reply via email to