[OpenAFS] Redhat-7.3 rpm install docs? Notes
Bill Broadley
bill@math.ucdavis.edu
Thu, 23 May 2002 13:28:29 -0700
What is the best documentation for installing openafs via rpm (In particular
redhat-7.3 which now has rpm's available).
The closest I've found is:
http://www.openafs.org/pages/doc/QuickStartUnix/auqbg002.htm#ToC
I keep tinkering with the rpm's.
My attempt:
===============================================================================
root@axis root]# rpm -Uvh *.rpm
Preparing... ########################################### [100%]
1:openafs ########################################### [ 10%]
2:openafs-devel ########################################### [ 20%]
3:openafs-kernel ########################################### [ 30%]
4:openafs-client ########################################### [ 40%]
The AFS cache is configured for 100 MB. Edit the
/usr/vice/etc/cacheinfo file to change this before
running AFS for the first time. You should also
set your home cell in /usr/vice/etc/ThisCell.
Also, you may want to edit /etc/pam.d/login and
possibly others there to get an AFS token on login.
Put the line:
auth sufficient /lib/security/pam_afs.so try_first_pass ignore_root
before the one for pwdb.
5:openafs-compat ########################################### [ 50%]
6:openafs-kernel-source ########################################### [ 60%]
7:openafs-kpasswd ########################################### [ 70%]
8:openafs-krb5 ########################################### [ 80%]
9:openafs-server ########################################### [ 90%]
Be sure to edit /etc/sysconfig/afs and turn AFS_SERVER on
10:openafs ########################################### [100%]
===============================================================================
I tried the above, but stock redhat-7.3 has /etc/pam.d/login:
#%PAM-1.0
auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_nologin.so
account required /lib/security/pam_stack.so service=system-auth
password required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
session optional /lib/security/pam_console.so
Note, there is no line for pwdb as mentioned.
If I follow the directions mentioned by the rpm install I get:
[root@axis root]# /etc/rc.d/init.d/afs start
Found libafs-2.4.18-3-athlon.mp.o from SymTable... Loading...
Starting AFS services.....
afsd: Can't find information for home cell 'math.ucdavis.edu' in cell database!
/usr/afs/bin/buserver: problems with host name Ubik init failed
/usr/afs/bin/buserver: problems with host name Ubik init failed
/usr/afs/bin/buserver: problems with host name Ubik init failed
/usr/afs/bin/buserver: problems with host name Ubik init failed
/usr/afs/bin/buserver: problems with host name Ubik init failed
/usr/afs/bin/buserver: problems with host name Ubik init failed
/usr/afs/bin/buserver: problems with host name Ubik init failed
/usr/afs/bin/buserver: problems with host name Ubik init failed
/usr/afs/bin/buserver: problems with host name Ubik init failed
/usr/afs/bin/buserver: problems with host name Ubik init failed
/usr/afs/bin/buserver: problems with host name Ubik init failed
/usr/afs/bin/buserver: problems with host name Ubik init failed
/usr/afs/bin/buserver: problems with host name Ubik init failed
afsd: All AFS daemons started.
afsd: Can't mount AFS on /afs(22)
Meanwhile I'll keep tinkering with the documentation at the url above,
and the RPM's to see if I can get things working. I'll keep notes so
hopefully I can replicate the install procedure and put up a howto
or similar.
--
Bill Broadley
Mathematics/Institute of Theoretical Dynamics
UC Davis