Author: jjneely
Update of /cvs/free/rpms/openafs/F-15
In directory se02.es.rpmfusion.net:/tmp/cvs-serv2620
Modified Files:
openafs.spec
Log Message:
* Mon Jul 25 2011 Jack Neely <jjneely(a)ncsu.edu> 0:1.6.0-0.pre7.1
- rpmFusion Bug 1783
- Populate and set SELinux context for the AFS cache directory
even though we use memcache by default
Index: openafs.spec
===================================================================
RCS file: /cvs/free/rpms/openafs/F-15/openafs.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- openafs.spec 21 Jul 2011 15:29:55 -0000 1.13
+++ openafs.spec 25 Jul 2011 15:15:42 -0000 1.14
@@ -15,7 +15,7 @@
Summary: Enterprise Network File System
Name: openafs
Version: 1.6.0
-Release: 0.%{pre}%{?dist}
+Release: 0.%{pre}.1%{?dist}
License: IBM
Group: System Environment/Daemons
URL:
http://www.openafs.org
@@ -184,6 +184,9 @@
mv $RPM_BUILD_ROOT%{_mandir}/man8/backup.8 \
$RPM_BUILD_ROOT%{_mandir}/man8/afsbackup.8
+# Create the cache directory
+install -d -m 700 $RPM_BUILD_ROOT%{_localstatedir}/cache/openafs
+
# don't restart in post because kernel modules could well have changed
%post
/sbin/ldconfig
@@ -259,6 +262,7 @@
%files client
%defattr(-, root, root)
%dir %{_sysconfdir}/openafs
+%dir %{_localstatedir}/cache/openafs
%config(noreplace) %{_sysconfdir}/openafs/CellServDB
%config(noreplace) %{_sysconfdir}/openafs/ThisCell
%config(noreplace) %{_sysconfdir}/openafs/cacheinfo
@@ -312,6 +316,11 @@
%{_datadir}/openafs/C/afszcm.cat
%changelog
+* Mon Jul 25 2011 Jack Neely <jjneely(a)ncsu.edu> 0:1.6.0-0.pre7.1
+- rpmFusion Bug 1783
+- Populate and set SELinux context for the AFS cache directory
+ even though we use memcache by default
+
* Thu Jul 21 2011 Jack Neely <jjneely(a)ncsu.edu> 0:1.6.0-0.pre7
- Update to OpenAFS 1.6.0 pre-release 7
- Rename /usr/sbin/backup to /usr/sbin/afsbackup rpmFusion Bug # 1727