Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2010 19:12:17 +0200
From:      Jan Henrik Sylvester <me@janh.de>
To:        Benjamin Kaduk <kaduk@MIT.EDU>
Cc:        afs-list freebsd <freebsd-afs@freebsd.org>
Subject:   Re: AFS on FreeBSD 8?
Message-ID:  <4BC4A5F1.6050406@janh.de>
In-Reply-To: <alpine.GSO.1.10.1004131220540.29136@multics.mit.edu>
References:  <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> <alpine.GSO.1.10.1004131220540.29136@multics.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/13/2010 18:21, Benjamin Kaduk wrote:
> On Tue, 13 Apr 2010, Matt W. Benjamin wrote:
>
>>
>> ----- "Benjamin Kaduk" <kaduk@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC4A5F1.6050406>