AFS on FreeBSD 8?

Jan Henrik Sylvester me at janh.de
Tue Apr 13 17:12:14 UTC 2010


On 04/13/2010 18:21, Benjamin Kaduk wrote:
> On Tue, 13 Apr 2010, Matt W. Benjamin wrote:
>
>>
>> ----- "Benjamin Kaduk" <kaduk at MIT.EDU> wrote:
>>
>>> On Tue, 13 Apr 2010, Derrick Brashear wrote:
>>>
>>>>>
>>>>> Or are there any missing dependencies? Were is opt_global.h
>>> supposed to come
>>>>> from?
>>>>
>>>> it's in the objdir of your kernel build.
>>>
>>> The port Makefile hardcodes the objdir for GENERIC; you will need to
>>> change that if you use a custom kernel configuration.
>>
>> I don't think it used to. However, you do need to make one symlink
>> into the object tree. I think that's in the README.
>
> This is a large portion of the "somewhat hackish" in "somewhat hackish
> freebsd packaging".

With a kernel build, I was able to build OpenAFS. First experience:

afsd was complaining about /usr/local/etc/openafs/cacheinfo missing. 
After I copied that from a Linux OpenAFS install (and modified it to 
something suitable), I was able to start afsd, but /afs was missing. 
Creating that and starting afsd again locked the machine completely (for 
some reason, fsck on reboot took very long even though I got 
journaling). Having rebooted, I was able to start afsd and browse to 
some public afs directory -- 'ls' took quite some time, but eventually, 
I was able to list that directory.

About the port: pkg-plist differs quite a bit from what actually got 
installed. I will try to create "my pkg-plist" later.

I will to more testing tomorrow -- especially with Kerberos.

Thanks for your help!
Jan Henrik


More information about the freebsd-afs mailing list