OpenSolaris 9/07 OpenAFS client with MIT Kerberos 5

Posting my short notes about installing OpenAFS client to SXDE 9/07. They were made during OpenAFS client installation to x86 machine at the Department of informatics at the Univeristy of West Bohemia in Pilsen.

Biggest thank you to Petr Sobotka, who made SFE spec file for the client and that way enabled me to finish my task.

First you should read OpenAFS Quick Beginnings.

Then you'll need:

And now the fun beggins:

  • set nologging opetion in /etc/vfstab
  • /opt/jdscbe/bin/env.sh
  • pkgtool build --download SFEopenafs.spec
  • became root
  • make directories /usr/vice and /etc/vice/etc

  • copy afs.rc from binary OpenAFS distribution (it's at root.client/usr/vice/etc/modload/afs.rc) to /etc/init.d/afs and chmod it to be executable
  • copy library libafs.nofs.o (and maybe another one - depends on your system, for example amd64 etc. - see Quick Beginnings mentioned above) to /kernel/fs/afs
  • run /etc/init.d/afs start - WARNING: it restarts the system!!!
  • after reboot create CellServDB a ThisCell files at (oficially to /opt/openafs/etc/openfs but I had to make them at /usr/vice/etc) - if you encouter Error 22 then your CellServDB is wrong somehow
  • make cache directory /usr/vice/cache
  • configure the cache using echo "/afs:/usr/vice/cache/:50000" > /opt/openafs/etc/openafs/cacheinfo ; you will need cacheinfo in /usr/vice/etc too
  • add -dynroot parameter to /etc/init.d/afs
  • create /afs directory
  • copy afsd from binary distrib. to /usr/vice/etc/afsd
  • link /etc/init.d/afs to /etc/rc3.d/S99afs and the same file to /etc/rc0.d/K66afs

If you will need other files you can use those from OpenAFS binary distribution, excluding aklog for Kerberos 5 - you will get it using spec file.

I hope this will help you or at least will show you some light at the darkness. There might be error in the procedure, in that case I am sorry

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Pilsen Campus Ambassador, student of SW engineering - University of West Bohemia, Czech Republic

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today