Re: AFS on FreeBSD 8?

Derrick Brashear <[email protected]> Tue, 13 Apr 2010 14:11:37 -0400
Newsgroups gmane.os.freebsd.devel.afs
Message-ID <[email protected]>
On Tue, Apr 13, 2010 at 1:12 PM, Jan Henrik Sylvester <[email protected]> wrote:
> On 04/13/2010 18:21, Benjamin Kaduk wrote:
>>
>> On Tue, 13 Apr 2010, Matt W. Benjamin wrote:
>>
>>>
>>> ----- "Benjamin Kaduk" <[email protected]> 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.

that's local configuration; you get to configure it, or it bombs.

>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.

Did you reboot, run afsd -shutdown first, or just rerun afsd? if the
latter, that almost certainly doesn't work.
it probably shoudl cope better, but...

the rc script's "stop" does the right thing.

>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
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-afs
> To unsubscribe, send any mail to "[email protected]"
>



-- 
Derrick
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "[email protected]"