rpms/openafs/F-13 openafs.init,1.2,1.3 openafs.spec,1.2,1.3

Jack Neely jjneely at rpmfusion.org
Tue Jun 29 23:46:40 CEST 2010


Author: jjneely

Update of /cvs/free/rpms/openafs/F-13
In directory se02.es.rpmfusion.net:/tmp/cvs-serv8702

Modified Files:
	openafs.init openafs.spec 
Log Message:
* Tue Jun 29 2010 Jack Neely <jjneely at ncsu.edu> 0:1.4.12.1-3
- RPMFusion Bug #1047 - Fix SELinux contexts on /afs
- RPMFusion Bug #1275 - service openafs status now sets the exit code



Index: openafs.init
===================================================================
RCS file: /cvs/free/rpms/openafs/F-13/openafs.init,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- openafs.init	16 Jun 2010 21:19:22 -0000	1.2
+++ openafs.init	29 Jun 2010 21:46:39 -0000	1.3
@@ -187,11 +187,8 @@
 	fi
 	;;
     status)
-	if [ -f /var/lock/subsys/openafs ]; then
-	    echo $"AFS appears to be running"
-	else
-	    echo $"AFS does not appear to be running"
-	fi
+	status afsd
+	RETVAL=$?
 	;;
     *)
 	echo $"Usage: $0 {start|stop|restart|reload|condrestart|status}"


Index: openafs.spec
===================================================================
RCS file: /cvs/free/rpms/openafs/F-13/openafs.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- openafs.spec	16 Jun 2010 21:19:22 -0000	1.2
+++ openafs.spec	29 Jun 2010 21:46:39 -0000	1.3
@@ -13,7 +13,7 @@
 Summary:        Enterprise Network File System
 Name:           openafs
 Version:        1.4.12.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        IBM
 Group:          System Environment/Daemons
 URL:            http://www.openafs.org
@@ -184,6 +184,7 @@
 # if this is owned by the package, upgrades with afs running can't work
 if [ ! -d /afs ] ; then
         mkdir -m 700 /afs
+        [ -x /sbin/restorecon ] && /sbin/restorecon /afs
 fi 
 exit 0
 
@@ -295,6 +296,10 @@
 
 
 %changelog
+* Tue Jun 29 2010 Jack Neely <jjneely at ncsu.edu> 0:1.4.12.1-3
+- RPMFusion Bug #1047 - Fix SELinux contexts on /afs
+- RPMFusion Bug #1275 - service openafs status now sets the exit code
+
 * Wed Jun 16 2010 Jack Neely <jjneely at ncsu.edu> 0:1.4.12.1-2
 - RPMFusion Bug #1274 - OpenAFS wont start without an IP address
 - RPMFusion Bug #1277 - Include OpenAFS man pages



More information about the rpmfusion-commits mailing list