Hello community,

here is the log from the commit of package yast2-users for openSUSE:Factory 
checked in at 2017-12-01 17:17:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-users (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-users.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-users"

Fri Dec  1 17:17:21 2017 rev:206 rq:546386 version:4.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-users/yast2-users.changes  2017-11-10 
14:43:45.413673144 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-users.new/yast2-users.changes     
2017-12-01 17:17:23.207306981 +0100
@@ -1,0 +2,7 @@
+Tue Nov 28 08:14:48 UTC 2017 - knut.anders...@suse.com
+
+- AutoYaST: Write and export SSH authorized keys also for root user
+  (bsc#1066342).
+- 4.0.1
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ yast2-users.spec ++++++
--- /var/tmp/diff_new_pack.8a39vm/_old  2017-12-01 17:17:23.943280521 +0100
+++ /var/tmp/diff_new_pack.8a39vm/_new  2017-12-01 17:17:23.951280234 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-users
-Version:        4.0.0
+Version:        4.0.1
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-users-4.0.0.tar.bz2 -> yast2-users-4.0.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-4.0.0/package/yast2-users.changes 
new/yast2-users-4.0.1/package/yast2-users.changes
--- old/yast2-users-4.0.0/package/yast2-users.changes   2017-11-09 
09:13:15.525434386 +0100
+++ new/yast2-users-4.0.1/package/yast2-users.changes   2017-11-29 
10:33:52.779339725 +0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Tue Nov 28 08:14:48 UTC 2017 - knut.anders...@suse.com
+
+- AutoYaST: Write and export SSH authorized keys also for root user
+  (bsc#1066342).
+- 4.0.1
+
+-------------------------------------------------------------------
 Wed Nov  8 12:16:47 UTC 2017 - jsr...@suse.cz
 
 - Remove the support for encrypting home directory (fate#323541)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-4.0.0/package/yast2-users.spec 
new/yast2-users-4.0.1/package/yast2-users.spec
--- old/yast2-users-4.0.0/package/yast2-users.spec      2017-11-09 
09:13:15.525434386 +0100
+++ new/yast2-users-4.0.1/package/yast2-users.spec      2017-11-29 
10:33:52.779339725 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-users
-Version:        4.0.0
+Version:        4.0.1
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-4.0.0/src/modules/Users.pm 
new/yast2-users-4.0.1/src/modules/Users.pm
--- old/yast2-users-4.0.0/src/modules/Users.pm  2017-11-09 09:13:15.545434386 
+0100
+++ new/yast2-users-4.0.1/src/modules/Users.pm  2017-11-29 10:33:52.791339725 
+0100
@@ -4032,6 +4032,12 @@
             SSHAuthorizedKeys->write_keys($user{"homeDirectory"});
         }
     }
+
+    # Write root authorized keys(bsc#1066342)
+    my %root_user = %{$modified_users{"system"}{"root"}};
+    if ($root_user{"modified"} eq "imported") {
+        SSHAuthorizedKeys->write_keys($root_user{"homeDirectory"});
+    }
 }
 
 ##------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-4.0.0/src/modules/UsersPasswd.pm 
new/yast2-users-4.0.1/src/modules/UsersPasswd.pm
--- old/yast2-users-4.0.0/src/modules/UsersPasswd.pm    2017-11-09 
09:13:15.545434386 +0100
+++ new/yast2-users-4.0.1/src/modules/UsersPasswd.pm    2017-11-29 
10:33:52.799339725 +0100
@@ -305,6 +305,10 @@
     foreach my $user (values %{$users{"local"}}) {
       SSHAuthorizedKeys->read_keys($user->{"homeDirectory"});
     }
+
+    # Read authorized keys also from root's home (bsc#1066342)
+    my %root_user = %{$users{"system"}{"root"}};
+    SSHAuthorizedKeys->read_keys($root_user{"homeDirectory"});
 }
 
 # actually read /etc/passwd and save into internal structure


Reply via email to