Hello community,

here is the log from the commit of package nfs-utils for openSUSE:Factory 
checked in at 2020-07-02 23:54:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nfs-utils (Old)
 and      /work/SRC/openSUSE:Factory/.nfs-utils.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nfs-utils"

Thu Jul  2 23:54:33 2020 rev:156 rq:817957 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/nfs-utils/nfs-utils.changes      2020-06-11 
14:40:18.036538873 +0200
+++ /work/SRC/openSUSE:Factory/.nfs-utils.new.3060/nfs-utils.changes    
2020-07-02 23:54:39.528538816 +0200
@@ -1,0 +2,6 @@
+Fri Jun  5 10:02:18 UTC 2020 - Thorsten Kukuk <ku...@suse.com>
+
+- Use group statd instead of nogroup, nogroup would invalidate
+  the extra statd user.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ nfs-utils.spec ++++++
--- /var/tmp/diff_new_pack.vRSZQK/_old  2020-07-02 23:54:40.388541668 +0200
+++ /var/tmp/diff_new_pack.vRSZQK/_new  2020-07-02 23:54:40.392541680 +0200
@@ -80,9 +80,6 @@
 Requires:       rpcbind
 Requires(post): %fillup_prereq
 Requires(pre):  permissions
-%if 0%{?suse_version} >= 1330
-Requires(pre):  group(nogroup)
-%endif
 Obsoletes:      nfs-utils < 1.1.0
 %sysusers_requires
 
@@ -211,15 +208,15 @@
 
 %post -n nfs-client
 # lib/nfs must be root-owned. 
-# sm and sm.back and contents should be statd:nogroup,
+# sm and sm.back and contents should be statd:statd,
 # but only chown if the dirs are currently root-owned.
 # This is needed for some upgraded, but chown is best avoided
 # when not necessary
 chown root:root %{_localstatedir}/lib/nfs > /dev/null 2>&1 || :
 for i in sm sm.bak; do
     p=%{_localstatedir}/lib/nfs/$i
-    if [ -d "$b" -a -n "`chown 2> /dev/null -c --from root statd:nogroup $p`" 
]; then
-       chown -R statd:nogroup $p > /dev/null 2>&1 || :
+    if [ -d "$b" -a -n "`chown 2> /dev/null -c --from root statd:statd $p`" ]; 
then
+       chown -R statd:statd $p > /dev/null 2>&1 || :
     fi
 done
 ### migrate from /var/lock/subsys
@@ -350,8 +347,8 @@
 %dir %{_localstatedir}/lib/nfs
 %dir %{_localstatedir}/lib/nfs/rpc_pipefs
 %dir %{_localstatedir}/lib/nfs/v4recovery
-%attr(0700,statd,nogroup) %dir %{_localstatedir}/lib/nfs/sm
-%attr(0700,statd,nogroup) %dir %{_localstatedir}/lib/nfs/sm.bak
+%attr(0700,statd,statd) %dir %{_localstatedir}/lib/nfs/sm
+%attr(0700,statd,statd) %dir %{_localstatedir}/lib/nfs/sm.bak
 %ghost %{_localstatedir}/lib/nfs/state
 
 %files -n nfs-kernel-server

++++++ statd-user.conf ++++++
--- /var/tmp/diff_new_pack.vRSZQK/_old  2020-07-02 23:54:40.552542211 +0200
+++ /var/tmp/diff_new_pack.vRSZQK/_new  2020-07-02 23:54:40.552542211 +0200
@@ -1,4 +1,3 @@
 # Type Name ID GECOS [HOME]
+g statd - -
 u statd - "NFS statd daemon" /var/lib/nfs
-m statd nogroup
-


Reply via email to