Hello community, here is the log from the commit of package shadow for openSUSE:Factory checked in at 2018-11-12 09:48:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/shadow (Old) and /work/SRC/openSUSE:Factory/.shadow.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "shadow" Mon Nov 12 09:48:07 2018 rev:28 rq:646047 version:4.6 Changes: -------- --- /work/SRC/openSUSE:Factory/shadow/shadow.changes 2018-05-22 16:57:55.489039806 +0200 +++ /work/SRC/openSUSE:Factory/.shadow.new/shadow.changes 2018-11-12 09:48:13.448573231 +0100 @@ -1,0 +2,7 @@ +Wed Oct 31 14:17:29 UTC 2018 - Valentin Rothberg <[email protected]> + +- Add empty /etc/sub{u,g}id files. useradd and usermod add entries for users + only when those files exist. Having those entries is a requirement to create + user namespaces, for instance, when running podman as a non-root user. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ shadow.spec ++++++ --- /var/tmp/diff_new_pack.8xiFjl/_old 2018-11-12 09:48:14.452571716 +0100 +++ /var/tmp/diff_new_pack.8xiFjl/_new 2018-11-12 09:48:14.456571710 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,7 +20,7 @@ Version: 4.6 Release: 0 Summary: Utilities to Manage User and Group Accounts -License: BSD-3-Clause AND GPL-2.0+ +License: BSD-3-Clause AND GPL-2.0-or-later Group: System/Base Url: https://github.com/shadow-maint/shadow Source: https://github.com/shadow-maint/shadow/releases/download/%{version}/shadow-%{version}.tar.xz @@ -114,6 +114,10 @@ install -Dm644 %{SOURCE6} %{buildroot}%{_unitdir}/shadow.service install -Dm644 %{SOURCE7} %{buildroot}%{_unitdir}/shadow.timer +# add empty /etc/sub{u,g}id files +touch %{buildroot}/%{_sysconfdir}/subuid +touch %{buildroot}/%{_sysconfdir}/subgid + # Remove binaries we don't use. rm %{buildroot}/%{_bindir}/groups rm %{buildroot}/%{_mandir}/man1/groups.* @@ -210,6 +214,8 @@ %doc NEWS doc/HOWTO README README.changes-pwdutils %attr(0644,root,root) %config %{_sysconfdir}/login.defs %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/default/useradd +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/subuid +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/subgid %config %{_sysconfdir}/pam.d/chage %config %{_sysconfdir}/pam.d/chfn %config %{_sysconfdir}/pam.d/chsh
