rpms/nfs-utils/devel nfs-utils.spec,1.79,1.80

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Jan 11 22:07:13 UTC 2006


Author: pjones

Update of /cvs/dist/rpms/nfs-utils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv27495

Modified Files:
	nfs-utils.spec 
Log Message:
move the lockfiles for the currently running daemons in %pre



Index: nfs-utils.spec
===================================================================
RCS file: /cvs/dist/rpms/nfs-utils/devel/nfs-utils.spec,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- nfs-utils.spec	11 Jan 2006 21:55:50 -0000	1.79
+++ nfs-utils.spec	11 Jan 2006 22:07:07 -0000	1.80
@@ -130,6 +130,13 @@
 rm -rf $RPM_BUILD_ROOT
 
 %pre
+# move files so the running service will have this applied as well
+for x in gssd svcgssd idmapd ; do
+	if [ -f /var/lock/subsys/rpc.$x ]; then
+		mv /var/lock/subsys/rpc.$x /var/lock/subsys/rpc$x
+	fi
+done
+
 /usr/sbin/useradd -l -c "RPC Service User" -r \
         -s /sbin/nologin -u 29 -d /var/lib/nfs rpcuser 2>/dev/null || :
 # Define the correct unsigned uid value for 32 or 64 bit archs




More information about the fedora-cvs-commits mailing list