SCIENTIFIC-LINUX-DEVEL Archives

February 2005

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jaroslaw Polok <[log in to unmask]>
Reply To:
Jaroslaw Polok <[log in to unmask]>
Date:
Sat, 26 Feb 2005 22:04:42 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (79 lines)
TaDa (or almost ;-)) !

It is there:

/afs/cern.ch/project/linux/dev/afs/openafs-1.3.79-1.SL.src.rpm

I have been able to try it out on Fedora Core 3 (2.6.10-1.760_FC3) at 
home: seems it is working against our cern.ch cell with krbIV.

Problems:

- openafs-krb5 have not been built (compile errors ?) -> I used the same
package we had in 1.2.11 - IŽll try to have a look at this later ..
(option krb5support defined as 0 in spec file for now)

- so far it hasn been built on x86_64/ia64/ia32e (but in *theory* it 
shall..): please try on SL 4 ...

- I havenŽt really checked much ... build *looks* complete ..
   but I could be wrong ;-)

Changes (to 1.2.11):

- removed most of patches (not needed anymore)
- changed init script to use rxdebug on port 7002 instead of wget on
   7000
   (yes, as Stephan pointed out: this gives 20 secs timeout
   per dead server: but looking at CellServDB most cells have
   3 DB servers: if all are dead = 60 seconds timeout = but AFS will
   not run anyway ... so worst case is 40 seconds I would say:

   I believe it is acceptable and - this is the solution which really
   checks for AFS DB server - unlike wget )

- little bit of tweaking in spec file: it shall work for 2.4 and 2.6
   kernels builds (not checked!)

- options used for configure:
   ./configure --with-afs-sysname=i386_linux26
               --prefix=/usr
               --libdir=/usr/lib
               --bindir=/usr/bin
               --sbindir=/usr/sbin
               --with-linux-kernel-headers=/lib/modules/${kernel}/build
	      --enable-redhat-buildsys
               --enable-bitmap-later
               --enable-bos-restricted-mode
               --enable-fast-restart
               --enable-bos-new-config
               --enable-supergroups
               --enable-largefile-fileserver
               --enable-transarc-paths

- CACHESIZE is set to AUTOMATIC in /etc/sysconfig/afs
   (if your cache is not on separate partitions startup
    script will abort and ask you to adjust this setting
    first)

Changes that we could consider for production builds:

- move afsd from /usr/vice/etc/ to /usr/sbin/
- move cacheinfo, CellAlias, CellServDB,  SuidCells and
   ThisCell from /usr/vice/etc/ to /etc/openafs/
- integrate killafs from /usr/vice/etc/ into /etc/init.d/afs
- move cache from /usr/vice/etc/cache to /var/cache/openafs/
   (and provide symlink
    /usr/vice/etc/cache -> /var/cache/openafs/
    in openafs-compat package)

I believe the above would be more consistent with filesystem
layout on linux ... (and it requires just few adjustments
in spec file , init.d script and /etc/sysconfig/afs script)
Please tell me what is your opinion on that.


Enjoy (and tell me if it worked for you, please)

Jarek (@Home)

ATOM RSS1 RSS2