Hello community,

here is the log from the commit of package nfs-utils for openSUSE:Factory 
checked in at 2020-03-16 10:16:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nfs-utils (Old)
 and      /work/SRC/openSUSE:Factory/.nfs-utils.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nfs-utils"

Mon Mar 16 10:16:01 2020 rev:152 rq:784479 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/nfs-utils/nfs-utils.changes      2020-02-15 
22:24:46.231288645 +0100
+++ /work/SRC/openSUSE:Factory/.nfs-utils.new.3160/nfs-utils.changes    
2020-03-16 10:16:27.819541420 +0100
@@ -1,0 +2,6 @@
+Mon Mar  9 10:04:10 UTC 2020 - Thorsten Kukuk <[email protected]>
+
+- statd-user.conf: create user via sysusers.d template
+- Use ordering for systemd instead of hard requires
+
+-------------------------------------------------------------------

New:
----
  statd-user.conf

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

Other differences:
------------------
++++++ nfs-utils.spec ++++++
--- /var/tmp/diff_new_pack.lyeV3v/_old  2020-03-16 10:16:35.047544365 +0100
+++ /var/tmp/diff_new_pack.lyeV3v/_new  2020-03-16 10:16:35.079544378 +0100
@@ -35,6 +35,7 @@
 Source4:        sysconfig.nfs
 Source6:        README.NFSv4
 Source11:       idmapd.conf
+Source12:       statd-user.conf
 Source13:       nfs-utils.rpmlintrc
 Source20:       nfs-mountd.options.conf
 Source21:       nfs-server.options.conf
@@ -52,7 +53,8 @@
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
 BuildRequires:  rpcgen
-BuildRequires:  systemd-rpm-macros
+BuildRequires:  sysuser-shadow
+BuildRequires:  sysuser-tools
 BuildRequires:  tcpd-devel
 BuildRequires:  pkgconfig(devmapper)
 BuildRequires:  pkgconfig(kdb)
@@ -63,7 +65,7 @@
 BuildRequires:  pkgconfig(sqlite3)
 Suggests:       python-base
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{?systemd_requires}
+%{?systemd_ordering}
 
 %description
 This package contains the NFS utilities. You can tune the number of
@@ -78,11 +80,11 @@
 Requires:       rpcbind
 Requires(post): %fillup_prereq
 Requires(pre):  permissions
-Requires(pre):  shadow
 %if 0%{?suse_version} >= 1330
 Requires(pre):  group(nogroup)
 %endif
 Obsoletes:      nfs-utils < 1.1.0
+%sysusers_requires
 
 %description -n nfs-client
 This package contains common NFS utilities which are needed for client
@@ -162,6 +164,7 @@
        --with-pluginpath=%{_libdir}/libnfsidmap-1.0.0 \
        --enable-mountconfig
 make %{?_smp_mflags}
+%sysusers_generate_pre %{SOURCE12} statd
 cd nfs
 for i in *.html ; do
 sed -i \
@@ -200,8 +203,11 @@
 #
 # hack to avoid automatic python dependency
 chmod 644 %{buildroot}%{_sbindir}/{mountstats,nfsiostat}
+# Install sysusers.d template
+mkdir -p %{buildroot}%{_sysusersdir}
+install -m 644 %{SOURCE12} %{buildroot}%{_sysusersdir}/
 
-%pre -n nfs-client
+%pre -n nfs-client -f statd.pre
 /usr/bin/getent passwd statd >/dev/null || \
        /usr/sbin/useradd -r -c 'NFS statd daemon' \
        -s /sbin/nologin -d %{_localstatedir}/lib/nfs -g nogroup statd
@@ -344,6 +350,7 @@
 %{_mandir}/man8/blkmapd.8%{ext_man}
 %{_mandir}/man8/rpc.svcgssd.8%{ext_man}
 %{_fillupdir}/sysconfig.nfs
+%{_sysusersdir}/statd-user.conf
 %dir %{_localstatedir}/lib/nfs
 %dir %{_localstatedir}/lib/nfs/rpc_pipefs
 %dir %{_localstatedir}/lib/nfs/v4recovery

++++++ statd-user.conf ++++++
# Type Name ID GECOS [HOME]
u statd - "NFS statd daemon" /var/lib/nfs
m statd nogroup


Reply via email to