Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2010 14:11:37 -0400
From:      Derrick Brashear <shadow@gmail.com>
To:        Jan Henrik Sylvester <me@janh.de>
Cc:        afs-list freebsd <freebsd-afs@freebsd.org>, Benjamin Kaduk <kaduk@mit.edu>
Subject:   Re: AFS on FreeBSD 8?
Message-ID:  <y2ndb6e3f111004131111q3fd99983kc22b2d70a44b0b82@mail.gmail.com>
In-Reply-To: <4BC4A5F1.6050406@janh.de>
References:  <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> <alpine.GSO.1.10.1004131220540.29136@multics.mit.edu> <4BC4A5F1.6050406@janh.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 13, 2010 at 1:12 PM, Jan Henrik Sylvester <me@janh.de> wrote:
> 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.

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



-- 
Derrick



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