Author: jjneely
Update of /cvs/free/rpms/openafs/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv25093
Modified Files:
afs.conf openafs.spec
Log Message:
* Thu Aug 23 2012 Jack Neely <jjneely(a)ncsu.edu> 0:1.6.1-5
- Update /etc/sysconfig/openafs to have some more current
default settings.
- AFS_CACHE_DIR is now pre-poplated with the default value
- Encryption is used by default
Index: afs.conf
===================================================================
RCS file: /cvs/free/rpms/openafs/devel/afs.conf,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- afs.conf 8 Mar 2012 21:11:39 -0000 1.3
+++ afs.conf 23 Aug 2012 18:44:01 -0000 1.4
@@ -13,10 +13,13 @@
AFS_SERVER=off
# AFS client configuration options:
-LARGE="-stat 2800 -dcache 2400 -daemons 5 -volumes 128"
-MEDIUM="-stat 2000 -dcache 800 -daemons 3 -volumes 70"
-SMALL="-stat 300 -dcache 100 -daemons 2 -volumes 50"
-OPTIONS="$MEDIUM -nosettime -memcache -afsdb -dynroot"
+# A "normal" memcache based default. 20MB of cache
+NORMAL="-memcache -daemons 3 -blocks 20480"
+# A "server" doing heavier AFS I/O: disk cache, set cache size in
+# /etc/openafs/cacheinfo
+SERVER="-daemons 5 -chunksize 18 -volumes 512"
+
+OPTIONS="$NORMAL -nosettime -afsdb -dynroot -fakestat"
# Set some sane sysnames -- figure out what we are
_ARCH=`uname -i | sed 's/x86_64/amd64/'`
@@ -52,16 +55,19 @@
# /usr/afsws/etc/fs setserverprefs <host> <rank>
#}
+afs_post_init() {
+ /usr/bin/fs setcrypt -crypt on
+}
+
# Either the name of an executable script or a set of commands go here.
# AFS_POST_INIT=afs_serverprefs
-AFS_POST_INIT=
-
+AFS_POST_INIT=afs_post_init
# Directory to mount AFS under (usually /afs)
AFS_MOUNT_POINT="/afs"
# Directory to use for the cache directory
-AFS_CACHE_DIR=""
+AFS_CACHE_DIR="/var/cache/openafs"
# Directory to use for configuration information
AFS_CONF_DIR="/etc/openafs"
Index: openafs.spec
===================================================================
RCS file: /cvs/free/rpms/openafs/devel/openafs.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- openafs.spec 23 Aug 2012 01:02:51 -0000 1.26
+++ openafs.spec 23 Aug 2012 18:44:01 -0000 1.27
@@ -13,7 +13,7 @@
Summary: Enterprise Network File System
Name: openafs
Version: 1.6.1
-Release: 4%{?dist}
+Release: 5%{?dist}
License: IBM
Group: System Environment/Daemons
URL:
http://www.openafs.org
@@ -336,6 +336,12 @@
%{_datadir}/openafs/C/afszcm.cat
%changelog
+* Thu Aug 23 2012 Jack Neely <jjneely(a)ncsu.edu> 0:1.6.1-5
+- Update /etc/sysconfig/openafs to have some more current
+ default settings.
+- AFS_CACHE_DIR is now pre-poplated with the default value
+- Encryption is used by default
+
* Wed Aug 22 2012 Ken Dreyer <ktdreyer(a)ktdreyer.com> 0:1.6.1-4
- Upstream patch for new glibc