Hello community, here is the log from the commit of package shadow for openSUSE:Factory checked in at 2019-07-13 13:33:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/shadow (Old) and /work/SRC/openSUSE:Factory/.shadow.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "shadow" Sat Jul 13 13:33:06 2019 rev:32 rq:709907 version:4.7 Changes: -------- --- /work/SRC/openSUSE:Factory/shadow/shadow.changes 2019-06-12 13:05:27.061204960 +0200 +++ /work/SRC/openSUSE:Factory/.shadow.new.4615/shadow.changes 2019-07-13 13:33:10.879355040 +0200 @@ -1,0 +2,42 @@ +Fri Jun 14 06:20:46 UTC 2019 - [email protected] + +- Update to 4.7: + * Spawn: don't loop forever on ECHILD + * Do not fail locking if there is a stale lockfile (Tomas Mraz) + * Use lckpwdf if prefix not set (Tomas Mraz) + * Build: check correct DocBook version (Jan Tojnar) + * Usermod: Print 'no changes' to stdout, not stderr (Serge Hallyn) + * Add support for btrfs subvolumes for home (Adam Majer) + * Fix chpasswd long line handling (Nathan Ruiz) + * Use secure_getenv for gettime (Chris Lamb) + * Make sp_lstchg reproducible (Chris Lamb) + * Do not crash commonio_close if db file is not open (Tomas Mraz) + * Don't flush nscd and sssd cache in read-only mode (Charlie Vuillemez) + * French manpage update (Alban VIDAL) + * Fix manpage defaults for SUB_UID/GID_COUNT (Tomas Mraz) + * Sync po files from shadow.pot (Alban VIDAL) + * Usermod: guard against unsafe chown of homedir contents (Tomas Mraz) + * Add LASTLOG_UID_MAX to login.defs (Tomas Mraz) + * new[ug]idmap file capabilities support (Giuseppe Scrivano and Christian Brauner) + * Fix segfault in useradd (Tomas Mraz) + * Coverity issues (Tomas Mraz) + * Flush sssd caches (Jakub Hrozek) + * Log UID in nologin (Vladimir Ivanov) + * run pam_getenvlist after setup_env in su.c (Michael Vogt) + * Support systems with only utmpx (A. Wilcox) + * Fix unguarded ENABLE_SUBIDS code (Jan Chren (rindeal)) + * Update po/zh_CN translation (Lion Yang) + * Create parent dirs for useradd -m (Michael Vetter) + * Prevent usermod segv + * Fix usermod crash (fariouche) +- Remove btrfs-subvolumes.patch (fate#316134): + upstreamed: https://github.com/shadow-maint/shadow/pull/149 +- Remove useradd-mkdirs.patch (bsc#865563): + upstreamed https://github.com/shadow-maint/shadow/pull/112 +- Remove shadow-4.6.0-fix-usermod-prefix-crash.patch + upstreamed https://github.com/shadow-maint/shadow/issues/110 +- Rebase userdel-script.patch +- Rebase useradd-script.patch +- Rebase shadow-util-linux.patch + +------------------------------------------------------------------- Old: ---- btrfs-subvolumes.patch shadow-4.6.0-fix-usermod-prefix-crash.patch shadow-4.6.tar.xz shadow-4.6.tar.xz.asc useradd-mkdirs.patch New: ---- shadow-4.7.tar.xz shadow-4.7.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ shadow.spec ++++++ --- /var/tmp/diff_new_pack.hPFZRo/_old 2019-07-13 13:33:13.063354489 +0200 +++ /var/tmp/diff_new_pack.hPFZRo/_new 2019-07-13 13:33:13.063354489 +0200 @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: shadow -Version: 4.6 +Version: 4.7 Release: 0 Summary: Utilities to Manage User and Group Accounts License: BSD-3-Clause AND GPL-2.0-or-later @@ -53,18 +53,12 @@ Patch7: shadow-4.1.5.1-logmsg.patch # PATCH-FEATURE-SUSE encryption_method_nis.patch [email protected] -- Add support for ENCRYPT_METHOD_NIS used by SUSE patch in pam (pam_unix). Patch10: encryption_method_nis.patch -# PATCH-FIX-SUSE useradd-mkdirs.patch bnc865563 [email protected] -- Create all parts of the path. -Patch11: useradd-mkdirs.patch -# PATCH-FIX-SUSE shadow-4.6.0-fix-usermod-prefix-crash.patch https://github.com/shadow-maint/shadow/issues/110 [email protected] -- Fixes crash in usermod when called with --prefix. -Patch12: shadow-4.6.0-fix-usermod-prefix-crash.patch # PATCH-FEATURE-SUSE shadow-login_defs-comments.patch [email protected] -- Adjust login.defs comments. Patch13: shadow-login_defs-comments.patch # PATCH-FEATURE-SUSE shadow-login_defs-suse.patch [email protected] -- Customize login.defs. Patch14: shadow-login_defs-suse.patch # PATCH-FIX-SUSE disable_new_audit_function.patch [email protected] -- Disable newer libaudit functionality for older distributions. Patch20: disable_new_audit_function.patch -# PATCH-FEATURE-SUSE btrfs-subvolumes.patch fate316134 [email protected] -- Add support for btrfs subvolumes for user homes. -Patch21: btrfs-subvolumes.patch BuildRequires: audit-devel > 2.3 BuildRequires: autoconf BuildRequires: automake @@ -105,14 +99,11 @@ %patch6 %patch7 %patch10 -%patch11 -p1 -%patch12 -p1 %patch13 %patch14 %if 0%{?suse_version} < 1330 %patch20 -p1 %endif -%patch21 -p1 iconv -f ISO88591 -t utf-8 doc/HOWTO > doc/HOWTO.utf8 mv -v doc/HOWTO.utf8 doc/HOWTO ++++++ shadow-4.6.tar.xz -> shadow-4.7.tar.xz ++++++ ++++ 61334 lines of diff (skipped) ++++++ shadow-util-linux.patch ++++++ --- /var/tmp/diff_new_pack.hPFZRo/_old 2019-07-13 13:33:14.003354252 +0200 +++ /var/tmp/diff_new_pack.hPFZRo/_new 2019-07-13 13:33:14.007354251 +0200 @@ -109,11 +109,11 @@ {"ENV_SUPATH", NULL}, {"ERASECHAR", NULL}, {"FAIL_DELAY", NULL}, -@@ -93,6 +95,7 @@ static struct itemdef def_table[] = { - {"GID_MIN", NULL}, - {"HUSHLOGIN_FILE", NULL}, +@@ -95,6 +97,7 @@ static struct itemdef def_table[] = { {"KILLCHAR", NULL}, -+ {"LOGIN_PLAIN_PROMPT", NULL}, + {"LASTLOG_UID_MAX", NULL}, {"LOGIN_RETRIES", NULL}, ++ {"LOGIN_PLAIN_PROMPT", NULL}, {"LOGIN_TIMEOUT", NULL}, {"LOG_OK_LOGINS", NULL}, + {"LOG_UNKFAIL_ENAB", NULL}, ++++++ useradd-script.patch ++++++ --- /var/tmp/diff_new_pack.hPFZRo/_old 2019-07-13 13:33:14.039354242 +0200 +++ /var/tmp/diff_new_pack.hPFZRo/_new 2019-07-13 13:33:14.039354242 +0200 @@ -20,7 +20,7 @@ =================================================================== --- lib/getdef.c.orig +++ lib/getdef.c -@@ -125,6 +125,7 @@ static struct itemdef def_table[] = { +@@ -126,6 +126,7 @@ static struct itemdef def_table[] = { {"UID_MAX", NULL}, {"UID_MIN", NULL}, {"UMASK", NULL}, @@ -32,7 +32,7 @@ =================================================================== --- src/useradd.c.orig +++ src/useradd.c -@@ -2115,6 +2115,30 @@ static void create_mail (void) +@@ -2216,6 +2216,30 @@ static void create_mail (void) } /* @@ -63,9 +63,9 @@ * main - useradd command */ int main (int argc, char **argv) -@@ -2390,6 +2414,7 @@ int main (int argc, char **argv) - nscd_flush_cache ("passwd"); +@@ -2492,6 +2516,7 @@ int main (int argc, char **argv) nscd_flush_cache ("group"); + sssd_flush_cache (SSSD_DB_PASSWD | SSSD_DB_GROUP); + call_script (user_name); + ++++++ userdel-script.patch ++++++ --- /var/tmp/diff_new_pack.hPFZRo/_old 2019-07-13 13:33:14.063354237 +0200 +++ /var/tmp/diff_new_pack.hPFZRo/_new 2019-07-13 13:33:14.063354237 +0200 @@ -2,7 +2,7 @@ =================================================================== --- lib/getdef.c.orig +++ lib/getdef.c -@@ -126,6 +126,8 @@ static struct itemdef def_table[] = { +@@ -127,6 +127,8 @@ static struct itemdef def_table[] = { {"UID_MIN", NULL}, {"UMASK", NULL}, {"USERDEL_CMD", NULL}, @@ -45,7 +45,7 @@ =================================================================== --- src/userdel.c.orig +++ src/userdel.c -@@ -125,7 +125,7 @@ static void close_files (void); +@@ -126,7 +126,7 @@ static void close_files (void); static void fail_exit (int); static void open_files (void); static void update_user (void); @@ -54,7 +54,7 @@ #ifdef EXTRA_CHECK_HOME_DIR static bool path_prefix (const char *, const char *); -@@ -767,13 +767,13 @@ static void update_user (void) +@@ -768,13 +768,13 @@ static void update_user (void) * cron, at, or print jobs. */ @@ -70,7 +70,7 @@ if (NULL == cmd) { return; } -@@ -1213,9 +1213,10 @@ int main (int argc, char **argv) +@@ -1214,9 +1214,10 @@ int main (int argc, char **argv) } /* @@ -83,7 +83,7 @@ open_files (); update_user (); update_groups (); -@@ -1319,7 +1320,7 @@ int main (int argc, char **argv) +@@ -1337,7 +1338,7 @@ int main (int argc, char **argv) * the entry from /etc/passwd. */ if(prefix[0] == '\0') @@ -92,9 +92,9 @@ close_files (); #ifdef WITH_TCB -@@ -1329,6 +1330,9 @@ int main (int argc, char **argv) - nscd_flush_cache ("passwd"); +@@ -1348,6 +1349,9 @@ int main (int argc, char **argv) nscd_flush_cache ("group"); + sssd_flush_cache (SSSD_DB_PASSWD | SSSD_DB_GROUP); + /* Call the post script, for example to rebuild NIS database */ + call_script ("USERDEL_POSTCMD", user_name);
