From owner-freebsd-afs@FreeBSD.ORG Tue Apr 13 17:12:14 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CC371065676 for ; Tue, 13 Apr 2010 17:12:14 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 98C978FC14 for ; Tue, 13 Apr 2010 17:12:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 9126F901F6; Tue, 13 Apr 2010 19:12:12 +0200 (CEST) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AR-dpDDfSROZ; Tue, 13 Apr 2010 19:12:12 +0200 (CEST) Received: from pc861.math.uni-hamburg.de (pc861.math.uni-hamburg.de [134.100.222.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id 4B07390147; Tue, 13 Apr 2010 19:12:12 +0200 (CEST) Message-ID: <4BC4A5F1.6050406@janh.de> Date: Tue, 13 Apr 2010 19:12:17 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4 MIME-Version: 1.0 To: Benjamin Kaduk References: <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 17:12:14 -0000 On 04/13/2010 18:21, Benjamin Kaduk wrote: > On Tue, 13 Apr 2010, Matt W. Benjamin wrote: > >> >> ----- "Benjamin Kaduk" 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