Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package shadow for openSUSE:Factory checked 
in at 2023-10-02 20:04:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/shadow (Old)
 and      /work/SRC/openSUSE:Factory/.shadow.new.28202 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "shadow"

Mon Oct  2 20:04:17 2023 rev:59 rq:1114284 version:4.14.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/shadow/shadow.changes    2023-08-18 
19:26:59.783169269 +0200
+++ /work/SRC/openSUSE:Factory/.shadow.new.28202/shadow.changes 2023-10-02 
20:05:06.991891711 +0200
@@ -1,0 +2,7 @@
+Tue Sep 26 13:20:59 UTC 2023 - Johannes Segitz <[email protected]>
+
+- Add shadow-4.14.0-selinux-labels.patch:
+  Set proper SELinux labels for new homedirs.
+  See gh/shadow-maint/shadow#812.
+
+-------------------------------------------------------------------

New:
----
  shadow-4.14.0-selinux-labels.patch

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

Other differences:
------------------
++++++ shadow.spec ++++++
--- /var/tmp/diff_new_pack.gvR6Af/_old  2023-10-02 20:05:08.815957311 +0200
+++ /var/tmp/diff_new_pack.gvR6Af/_new  2023-10-02 20:05:08.819957454 +0200
@@ -48,6 +48,8 @@
 Patch4:         shadow-login_defs-suse.patch
 # PATCH-FIX-SUSE disable_new_audit_function.patch [email protected] -- 
Disable newer libaudit functionality for older distributions.
 Patch5:         disable_new_audit_function.patch
+# PATCH-FIX-SUSE shadow-4.14.0-selinux-labels.patch [email protected] -- set 
proper SELinux labels for new homedirs, gh/shadow-maint/shadow#812
+Patch6:         shadow-4.14.0-selinux-labels.patch
 BuildRequires:  audit-devel > 2.3
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -116,6 +118,7 @@
 %if 0%{?suse_version} < 1330
 %patch5 -p1
 %endif
+%patch6 -p1
 
 iconv -f ISO88591 -t utf-8  doc/HOWTO > doc/HOWTO.utf8
 mv -v doc/HOWTO.utf8 doc/HOWTO

++++++ shadow-4.14.0-selinux-labels.patch ++++++
commit e635d8eff074d4e00b2952e1e741cb16ad930ae1
Author: Johannes Segitz <[email protected]>
Date:   Tue Sep 26 15:14:14 2023 +0200

    useradd: Set proper SELinux labels also for content coming from 
def_usrtemplate
    
    Signed-off-by: Johannes Segitz <[email protected]>

diff --git a/src/useradd.c b/src/useradd.c
index 76a4d649..fe62a051 100644
--- a/src/useradd.c
+++ b/src/useradd.c
@@ -2788,7 +2788,7 @@ int main (int argc, char **argv)
                if (home_added) {
                        copy_tree (def_template, prefix_user_home, false, true,
                                   (uid_t)-1, user_id, (gid_t)-1, user_gid);
-                       copy_tree (def_usrtemplate, prefix_user_home, false, 
false,
+                       copy_tree (def_usrtemplate, prefix_user_home, false, 
true,
                                   (uid_t)-1, user_id, (gid_t)-1, user_gid);
                } else {
                        fprintf (stderr,

Reply via email to