Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package glibc for openSUSE:Factory checked in at 2022-11-30 14:58:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glibc (Old) and /work/SRC/openSUSE:Factory/.glibc.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glibc" Wed Nov 30 14:58:47 2022 rev:270 rq:1038649 version:2.36 Changes: -------- --- /work/SRC/openSUSE:Factory/glibc/glibc.changes 2022-10-29 20:15:00.665540737 +0200 +++ /work/SRC/openSUSE:Factory/.glibc.new.1597/glibc.changes 2022-11-30 14:58:48.484994037 +0100 @@ -1,0 +2,5 @@ +Thu Nov 10 17:06:18 UTC 2022 - Callum Farmer <gm...@opensuse.org> + +- nscd: Convert to systemd-sysusers + +------------------------------------------------------------------- New: ---- nscd.sysusers ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glibc.spec ++++++ --- /var/tmp/diff_new_pack.YpQGsu/_old 2022-11-30 14:58:50.265003832 +0100 +++ /var/tmp/diff_new_pack.YpQGsu/_new 2022-11-30 14:58:50.273003876 +0100 @@ -161,6 +161,7 @@ # For systemd Source20: nscd.conf Source21: nscd.service +Source22: nscd.sysusers %if %{build_main} # ngpt was used in 8.1 and SLES8 @@ -200,7 +201,7 @@ BuildRequires: libselinux-devel BuildRequires: makeinfo BuildRequires: python3-base -BuildRequires: shadow +BuildRequires: sysuser-tools BuildRequires: systemd-rpm-macros BuildRequires: systemtap-headers BuildRequires: xz @@ -418,7 +419,7 @@ Provides: glibc:/usr/sbin/nscd Requires: glibc = %{version} Obsoletes: unscd <= 0.48 -Requires(pre): shadow +%{?sysusers_requires} %{?systemd_requires} %description -n nscd @@ -736,6 +737,9 @@ make %{?_smp_mflags} %{?make_output_sync} -C cc-base html %endif +# sysusers.d +%sysusers_generate_pre %{SOURCE22} nscd nscd.conf + %check %if %{build_testsuite} # The testsuite will fail if asneeded is used @@ -978,6 +982,8 @@ install -m 644 %{SOURCE20} %{buildroot}/usr/lib/tmpfiles.d/ mkdir -p %{buildroot}/usr/lib/systemd/system install -m 644 %{SOURCE21} %{buildroot}/usr/lib/systemd/system +mkdir -p %{buildroot}/usr/lib/sysusers.d/ +install -m 644 %{SOURCE22} %{buildroot}/usr/lib/sysusers.d/nscd.conf %endif %if 0%{?rtld_oldname:1} @@ -1166,9 +1172,7 @@ %preun info %install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz -%pre -n nscd -getent group nscd >/dev/null || %{_sbindir}/groupadd -r nscd -getent passwd nscd >/dev/null || %{_sbindir}/useradd -r -g nscd -c "User for nscd" -s %{rootsbindir}/nologin -d /run/nscd nscd +%pre -n nscd -f nscd.pre %service_add_pre nscd.service %preun -n nscd @@ -1354,6 +1358,8 @@ /usr/lib/systemd/system/nscd.service %dir /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/nscd.conf +%dir /usr/lib/sysusers.d +/usr/lib/sysusers.d/nscd.conf %dir %attr(0755,root,root) %ghost /run/nscd %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /run/nscd/nscd.pid %attr(0666,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /run/nscd/socket ++++++ nscd.sysusers ++++++ #Type Name ID GECOS Home directory Shell u nscd - "User for nscd" /run/nscd -