From owner-freebsd-afs@FreeBSD.ORG Mon Dec 8 20:49:17 2008 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 3EAFD1065675 for ; Mon, 8 Dec 2008 20:49:17 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id E1E258FC08 for ; Mon, 8 Dec 2008 20:49:16 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1L9mqv-000JIo-2C; Mon, 08 Dec 2008 23:37:13 +0300 To: Matt Benjamin References: <493ACAC4.5020806@linuxbox.com> From: Boris Samorodov Date: Mon, 08 Dec 2008 23:37:12 +0300 In-Reply-To: <493ACAC4.5020806@linuxbox.com> (Matt Benjamin's message of "Sat\, 06 Dec 2008 13\:56\:04 -0500") Message-ID: <12501719@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-afs@FreeBSD.org, "Jason C. Wells" , Alec Kloss , Tony Jago Subject: Re: OpenAFS on FreeBSD Progress (Works) 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: Mon, 08 Dec 2008 20:49:17 -0000 Hello List, Matt Benjamin writes: > Hi Jason (and the rest of this apparently small list), > > I apologize for not piping up before, I didn't join freebsd-afs when I > was copied on an initial flurry of emails, but just did. > > I have the following progress: Good work, thank you and all involved very much! > 1. I finished initial work fixing open issues with the stalled FreeBSD > client cache manager in OpenAFs, and made it run on i386 FreeBSD 7.0 and > 8-Current [as of around Sept. 15 or so]. > > 2. The i386 FreeBSD 7.0 target is now an "officially supported platform" > in OpenAFS 1.4.8--though the client has only recently been finished, and > probably has undiscovered issues--the only issues I'm actually aware of > for certain are a cosmetic, and I use the port myself > > 3. This week I posted a patch to OpenAFS RT (our bug tracker) adding > x86_64 FreeBSD 7.0 support, with some help from Tony Jago. I'm > expecting to see the x86_64 platform officially supported in the next > stable OpenAFS release Well, I've just finish a FreeBSD port. It is based on port by Alec Kloss (CCed0 which was sent to me by Tony Jago (CCed) by email. Actually I wrote some comments about the port I've got but haven't received a reply so far. Let me introduce the port: ftp://ftp.ipt.ru/pub/tmp/openafs.shar or one can browse it here: ftp://ftp.ipt.ru/pub/tmp/openafs . The port was tested at tinderbox for 7.0-i386, 7-STABLE-i386, 8-CURRENT-i386, 7-STABLE-amd64, 8-CURRENT-amd64. The port uses sources from 1.4.8 with integrated patches for amd64. Actually, there are two extra patches. the first one is needed for building at amd64. It should be committed along with those from OpenAFS RT (ftp://ftp.ipt.ru/pub/tmp/openafs/files/patch-configure). While the second one is a real hack to make openafs to compile at 8-CURRENT (ftp://ftp.ipt.ru/pub/tmp/openafs/files/patch-curseswindows.c). I'd like to create two separate ports: openafs-server and openafs-client. But I don't know right now how to do it. Any comments are appreciated. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Mon Dec 8 20:54:48 2008 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 097291065672 for ; Mon, 8 Dec 2008 20:54:48 +0000 (UTC) (envelope-from matt@linuxbox.com) Received: from aa.linuxbox.com (aa.linuxbox.com [134.215.213.37]) by mx1.freebsd.org (Postfix) with ESMTP id AADB08FC13 for ; Mon, 8 Dec 2008 20:54:47 +0000 (UTC) (envelope-from matt@linuxbox.com) Received: from trosper.private.linuxbox.com (trosper.private.linuxbox.com [10.1.1.45]) by aa.linuxbox.com (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id mB8KshCu003844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 8 Dec 2008 15:54:44 -0500 Received: by trosper.private.linuxbox.com (Postfix, from userid 65534) id 6D178C11EF09; Mon, 8 Dec 2008 15:54:43 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on trosper.private.linuxbox.com X-Spam-Level: X-Spam-Status: No, score=-4.4 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.1.7 Received: from localhost.localdomain (unknown [10.1.1.217]) by trosper.private.linuxbox.com (Postfix) with ESMTP id AFE0CC11EF07; Mon, 8 Dec 2008 15:54:40 -0500 (EST) Message-ID: <493D898C.1030609@linuxbox.com> Date: Mon, 08 Dec 2008 15:54:36 -0500 From: Matt Benjamin User-Agent: Thunderbird 2.0.0.18 (X11/20081105) MIME-Version: 1.0 To: Boris Samorodov References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> In-Reply-To: <12501719@bb.ipt.ru> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (aa.linuxbox.com [10.1.1.1]); Mon, 08 Dec 2008 15:54:44 -0500 (EST) Cc: freebsd-afs@FreeBSD.org, "Jason C. Wells" , Derrick J Brashear , Alec Kloss , Tony Jago Subject: Re: OpenAFS on FreeBSD Progress (Works) 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: Mon, 08 Dec 2008 20:54:48 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Boris (CC others), Thanks for your work, in turn! As you can imagine, since I'm from the OpenAFS side, I have the following agenda: 1. get official FreeBSD port of openafs server and client established--it sounds like you're on track to do this (more below) 2. absorb all relevant patches into OpenAFS upstream repo--we have Tony's 64bit fixes, as you saw, and have built these into what I submitted to RT for AMD64 target; thanks for the pointer to the other two patches, and for putting them into RT already (!); I'll look at those shortly Note that I have submitted additional patches for FreeBSD openafs server and client that will probably appear in the next stable release--including masking SIGSYS triggered by ktc_GetToken as used by vos and other programs, when the lkm is not loaded [ugh], sorry didn't fix that earlier. Now, returning to the port topic... - From what I understand, Alec's port uses Arla as the client, so I think that port isn't the _client_ port I personally and OpenAFS are trying for, but presumably they can coexist? Alec's is ideal for sites wishing to blend OpenAFS with Arla as the client, &c, and we certainly want to assist in any way we can with that effort, as well. I would like to open discussion on how OpenAFS specifically should best interface with the FreeBSD ports system--and people who would like to help us keep that port up to date :) Regards, Matt Boris Samorodov wrote: > > I'd like to create two separate ports: openafs-server and > openafs-client. But I don't know right now how to do it. > > Any comments are appreciated. > > > WBR - -- Matt Benjamin The Linux Box 206 South Fifth Ave. Suite 150 Ann Arbor, MI 48104 http://linuxbox.com tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJPYmMJiSUUSaRdSURCAKrAJ0SZfZlY8UYIas7h5tshzUYn8iwLACeNPzK CCbpepY7BVZb8SYKrF5nzlY= =OY6z -----END PGP SIGNATURE----- From owner-freebsd-afs@FreeBSD.ORG Tue Dec 9 00:11:48 2008 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 8EBC71065680 for ; Tue, 9 Dec 2008 00:11:48 +0000 (UTC) (envelope-from afs@spam.t71.org) Received: from ipmail04.adl2.internode.on.net (ipmail04.adl2.internode.on.net [203.16.214.57]) by mx1.freebsd.org (Postfix) with ESMTP id E3F308FC34 for ; Tue, 9 Dec 2008 00:11:47 +0000 (UTC) (envelope-from afs@spam.t71.org) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEADtBPUl20DKY/2dsb2JhbACBbM0igwU X-IronPort-AV: E=Sophos;i="4.33,737,1220193000"; d="scan'208";a="262094147" Received: from ppp118-208-50-152.lns4.bne1.internode.on.net (HELO router.vpn.marvy.net) ([118.208.50.152]) by ipmail04.adl2.internode.on.net with ESMTP; 09 Dec 2008 10:26:08 +1030 Received: from valentine (valentine.vpn.marvy.net [192.168.141.16]) (authenticated bits=0) by router.vpn.marvy.net (8.14.2/8.14.2) with ESMTP id mB8Nu4ko067176 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 9 Dec 2008 09:56:05 +1000 (EST) (envelope-from afs@spam.t71.org) Message-ID: <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> From: "Tony Jago" To: "Matt Benjamin" , "Boris Samorodov" References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> In-Reply-To: <493D898C.1030609@linuxbox.com> Date: Tue, 9 Dec 2008 09:55:16 +1000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6000.16480 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16669 Cc: freebsd-afs@FreeBSD.org, "Jason C. Wells" , Derrick J Brashear , Alec Kloss Subject: Re: OpenAFS on FreeBSD Progress (Works) 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, 09 Dec 2008 00:11:48 -0000 > Note that I have submitted additional patches for FreeBSD openafs server > and client that will probably appear in the next stable > release--including masking SIGSYS triggered by ktc_GetToken as used by > vos and other programs, when the lkm is not loaded [ugh], sorry didn't > fix that earlier. That would be excellent. Another option would be to have many of the commands default to -localauth when the kernel module isn't loaded as this is probably what the user was wanting anyway. On this topic, it's impossible to setup an openafs server without a working afs client as you need to setup the root.cell and set permissions. For this reason I think afs will become a lot more used when the client is working. >From my personal testing, the server 1.4.8 on freebsd (on AMD and i386) work really well. We have being using it in light production mode for some time in freebsd jails. The client I have had problems with. When testing I found it corrupts files. It can't handle symlinks and is just a little rusty at the moment. I haven't tried the 1.4.8 client but will give it a go shortly to see how things go. > - From what I understand, Alec's port uses Arla as the client, so I think > that port isn't the _client_ port I personally and OpenAFS are trying > for, but presumably they can coexist? Alec's is ideal for sites wishing > to blend OpenAFS with Arla as the client, &c, and we certainly want to > assist in any way we can with that effort, as well. Both ports can co-exist in the freebsd ports system. They probably should be marked to exclude each other. > I would like to open discussion on how OpenAFS specifically should best > interface with the FreeBSD ports system--and people who would like to > help us keep that port up to date :) >> I'd like to create two separate ports: openafs-server and >> openafs-client. But I don't know right now how to do it. I would also recommend a openafs metaport that combines the client and the server. Have a look at the mysql-client, mysql-server and mysql ports to see an example of how to do this sort of thing. I am really looking forward to a stable afs on freebsd. It's been a long wait. This combined with a ZFS filesystem in the backend is a very very powerful system. Tony From owner-freebsd-afs@FreeBSD.ORG Tue Dec 9 00:43:26 2008 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 471101065670 for ; Tue, 9 Dec 2008 00:43:26 +0000 (UTC) (envelope-from shadow@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.184]) by mx1.freebsd.org (Postfix) with ESMTP id E7B6C8FC14 for ; Tue, 9 Dec 2008 00:43:25 +0000 (UTC) (envelope-from shadow@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so1560147rne.12 for ; Mon, 08 Dec 2008 16:43:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=0OyU+UP6/+axugfGZoNl6m5vkFBKRVyaR0puAR0O6UU=; b=cpu3k/wxXW+UlKq8mrnh5VAFXp4QWf43vjA3mQy7Tw/esXcG9YV0uVTPwHDc1pkSvq xb5xJ2+uIaaPrJfnDwrj1SinOC71cd9+1I9jmSrd01IMLFJlZ1gFpq++IY7DH4nXkhvn lCZ1pE7Om+aN2hZ28dssDp8rwwiruzYFCEX0c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=HBuikXr4Hpze+z1KSLsxM9dRZtLe/hczqXfsqi4BWVDo94/wBUtZn8ubbZQ8NjMFFa wQi0opaTavjZByQs1nJ0zMPE05znBGUUxdkAANtloykbepqvFOk2gANClaXZiUcOHmqp Paqb5C4CwAaKDII/I15fjgUfuU4BdcyxOgoHI= Received: by 10.150.133.18 with SMTP id g18mr8897112ybd.142.1228781555381; Mon, 08 Dec 2008 16:12:35 -0800 (PST) Received: by 10.151.153.1 with HTTP; Mon, 8 Dec 2008 16:12:35 -0800 (PST) Message-ID: Date: Mon, 8 Dec 2008 19:12:35 -0500 From: "Derrick Brashear" To: "Tony Jago" In-Reply-To: <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> MIME-Version: 1.0 References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-afs@freebsd.org, "Jason C. Wells" , Alec Kloss Subject: Re: OpenAFS on FreeBSD Progress (Works) 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, 09 Dec 2008 00:43:26 -0000 On Mon, Dec 8, 2008 at 6:55 PM, Tony Jago wrote: > Note that I have submitted additional patches for FreeBSD openafs server >> and client that will probably appear in the next stable >> release--including masking SIGSYS triggered by ktc_GetToken as used by >> vos and other programs, when the lkm is not loaded [ugh], sorry didn't >> fix that earlier. >> > > That would be excellent. Another option would be to have many of the > commands default to -localauth when the kernel module isn't loaded as this > is probably what the user was wanting anyway. Unless they're horribly broken they will be there. > > On this topic, it's impossible to setup an openafs server without a working > afs client as you need to setup the root.cell and set permissions. For this > reason I think afs will become a lot more used when the client is working. > Annoying, maybe. Hardly impossible. -- Derrick From owner-freebsd-afs@FreeBSD.ORG Tue Dec 9 00:44:30 2008 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 7EE7F106564A for ; Tue, 9 Dec 2008 00:44:30 +0000 (UTC) (envelope-from matt@linuxbox.com) Received: from aa.linuxbox.com (aa.linuxbox.com [134.215.213.37]) by mx1.freebsd.org (Postfix) with ESMTP id 2D8BC8FC16 for ; Tue, 9 Dec 2008 00:44:29 +0000 (UTC) (envelope-from matt@linuxbox.com) Received: from trosper.private.linuxbox.com (trosper.private.linuxbox.com [10.1.1.45]) by aa.linuxbox.com (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id mB90iROg011525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 8 Dec 2008 19:44:27 -0500 Received: by trosper.private.linuxbox.com (Postfix, from userid 65534) id 641E6DAD60AE; Mon, 8 Dec 2008 19:44:27 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on trosper.private.linuxbox.com X-Spam-Level: X-Spam-Status: No, score=-4.4 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.1.7 Received: from localhost.localdomain (unknown [10.1.1.217]) by trosper.private.linuxbox.com (Postfix) with ESMTP id 731CECCBD2D7; Mon, 8 Dec 2008 19:44:25 -0500 (EST) Message-ID: <493DBF65.9010402@linuxbox.com> Date: Mon, 08 Dec 2008 19:44:21 -0500 From: Matt Benjamin User-Agent: Thunderbird 2.0.0.18 (X11/20081105) MIME-Version: 1.0 To: Tony Jago References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> In-Reply-To: <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (aa.linuxbox.com [10.1.1.1]); Mon, 08 Dec 2008 19:44:27 -0500 (EST) Cc: freebsd-afs@FreeBSD.org, "Jason C. Wells" , Derrick J Brashear , Alec Kloss Subject: Re: OpenAFS on FreeBSD Progress (Works) 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, 09 Dec 2008 00:44:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Tony, 1. I can't reproduce any problem with symlinks, and I've tested the obvious things--can you put a bug in openafs RT with details? 2. File data consistency. That is noted, please put it in RT as well, if you could--the simpler the steps to reproduce (less complex i/o, iozone, and other dependencies, the easier to fix, likely)--there haven't been many testers yet, but we're committed to supporting the client. Thanks! Matt Tony Jago wrote: > The client I have had problems with. When > testing I found it corrupts files. It can't handle symlinks and is just > a little rusty at the moment. I haven't tried the 1.4.8 client but will > give it a go shortly to see how things go. - -- Matt Benjamin The Linux Box 206 South Fifth Ave. Suite 150 Ann Arbor, MI 48104 http://linuxbox.com tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJPb9lJiSUUSaRdSURCKMlAJ4xybGtTSmL1yyjAJatb4DCaDi9bACfaH2x 0vSCDZ1OPQrq21jfJUKhwc0= =Vj3u -----END PGP SIGNATURE----- From owner-freebsd-afs@FreeBSD.ORG Tue Dec 9 17:57:37 2008 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 EC190106564A for ; Tue, 9 Dec 2008 17:57:37 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id A551E8FC0C for ; Tue, 9 Dec 2008 17:57:37 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LA6pz-0009Xw-Sr; Tue, 09 Dec 2008 20:57:36 +0300 To: Matt Benjamin References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> From: Boris Samorodov Date: Tue, 09 Dec 2008 20:57:35 +0300 In-Reply-To: <493D898C.1030609@linuxbox.com> (Matt Benjamin's message of "Mon\, 08 Dec 2008 15\:54\:36 -0500") Message-ID: <39213648@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-afs@FreeBSD.org Subject: Re: OpenAFS on FreeBSD Progress (Works) 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, 09 Dec 2008 17:57:38 -0000 Hi Matt and others, Matt Benjamin writes: > As you can imagine, since I'm from the OpenAFS side, I have the > following agenda: > > 1. get official FreeBSD port of openafs server and client > established--it sounds like you're on track to do this (more below) Yes. > 2. absorb all relevant patches into OpenAFS upstream repo--we have > Tony's 64bit fixes, as you saw, and have built these into what I > submitted to RT for AMD64 target; thanks for the pointer to the other > two patches, and for putting them into RT already (!); I'll look at > those shortly Seems I wasn't clear enough. I created a port using *your* diff from RT. But added two extra patches. The first one to enable the port to be compiled at amd64 and the second one to enable to compile the port at FreeBSD-CURRENT. Actually, I tried but didn't find a way to submit a followup to your ticket at RT database. > Note that I have submitted additional patches for FreeBSD openafs server > and client that will probably appear in the next stable > release--including masking SIGSYS triggered by ktc_GetToken as used by > vos and other programs, when the lkm is not loaded [ugh], sorry didn't > fix that earlier. > > Now, returning to the port topic... > > From what I understand, Alec's port uses Arla as the client, so I think > that port isn't the _client_ port I personally and OpenAFS are trying Yes, it's a server port. > for, but presumably they can coexist? Alec's is ideal for sites wishing > to blend OpenAFS with Arla as the client, &c, and we certainly want to > assist in any way we can with that effort, as well. > > I would like to open discussion on how OpenAFS specifically should best > interface with the FreeBSD ports system--and people who would like to > help us keep that port up to date :) Seconded. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Tue Dec 9 18:07:48 2008 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 5B023106564A for ; Tue, 9 Dec 2008 18:07:48 +0000 (UTC) (envelope-from matt@linuxbox.com) Received: from aa.linuxbox.com (aa.linuxbox.com [134.215.213.37]) by mx1.freebsd.org (Postfix) with ESMTP id 0D8988FC08 for ; Tue, 9 Dec 2008 18:07:47 +0000 (UTC) (envelope-from matt@linuxbox.com) Received: from trosper.private.linuxbox.com (trosper.private.linuxbox.com [10.1.1.45]) by aa.linuxbox.com (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id mB9I7kkB003422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 9 Dec 2008 13:07:46 -0500 Received: by trosper.private.linuxbox.com (Postfix, from userid 65534) id 593DBDAE0294; Tue, 9 Dec 2008 13:07:46 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on trosper.private.linuxbox.com X-Spam-Level: X-Spam-Status: No, score=-4.4 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.1.7 Received: from localhost.localdomain (unknown [10.1.1.217]) by trosper.private.linuxbox.com (Postfix) with ESMTP id AFD87DAE0290; Tue, 9 Dec 2008 13:07:43 -0500 (EST) Message-ID: <493EB3EB.7000300@linuxbox.com> Date: Tue, 09 Dec 2008 13:07:39 -0500 From: Matt Benjamin User-Agent: Thunderbird 2.0.0.18 (X11/20081105) MIME-Version: 1.0 To: Boris Samorodov References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <39213648@bb.ipt.ru> In-Reply-To: <39213648@bb.ipt.ru> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (aa.linuxbox.com [10.1.1.1]); Tue, 09 Dec 2008 13:07:46 -0500 (EST) Cc: freebsd-afs@FreeBSD.org Subject: Re: OpenAFS on FreeBSD Progress (Works) 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, 09 Dec 2008 18:07:48 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Boris Samorodov wrote: > Hi Matt and others, > > > Matt Benjamin writes: > >> As you can imagine, since I'm from the OpenAFS side, I have the >> following agenda: >> >> 1. get official FreeBSD port of openafs server and client >> established--it sounds like you're on track to do this (more below) > > Yes. > >> 2. absorb all relevant patches into OpenAFS upstream repo--we have >> Tony's 64bit fixes, as you saw, and have built these into what I >> submitted to RT for AMD64 target; thanks for the pointer to the other >> two patches, and for putting them into RT already (!); I'll look at >> those shortly > > Seems I wasn't clear enough. I created a port using *your* diff from > RT. But added two extra patches. The first one to enable the port to > be compiled at amd64 and the second one to enable to compile the port > at FreeBSD-CURRENT. Sorry, I did mistake you. Which patches from RT (#s) do you have? For now, please attach any patch that we don't have. I have OpenAFS compiling at amd64, in #123811, and I thought it compiled at CURRENT (but it maybe stopped at some point), and will merge any reasonable change you have. We need to fix RT access. We really will. Thanks, Matt - -- Matt Benjamin The Linux Box 206 South Fifth Ave. Suite 150 Ann Arbor, MI 48104 http://linuxbox.com tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJPrPqJiSUUSaRdSURCJyzAJwPnsh+Emm01KhzfOsaMNxfP3OYqQCfZXJP z9I4E4VJ/Z6aizTCRudtBVk= =om2C -----END PGP SIGNATURE----- From owner-freebsd-afs@FreeBSD.ORG Tue Dec 9 21:07:48 2008 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 E852A1065670 for ; Tue, 9 Dec 2008 21:07:48 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9CDBF8FC14 for ; Tue, 9 Dec 2008 21:07:48 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1LA9o2-000Ela-6m; Wed, 10 Dec 2008 00:07:46 +0300 Received: from bsam by bs1.sp34.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LA9o1-0000MM-TS; Wed, 10 Dec 2008 00:07:45 +0300 To: Matt Benjamin References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <39213648@bb.ipt.ru> <493EB3EB.7000300@linuxbox.com> From: Boris Samorodov Date: Wed, 10 Dec 2008 00:07:45 +0300 In-Reply-To: <493EB3EB.7000300@linuxbox.com> (Matt Benjamin's message of "Tue\, 09 Dec 2008 13\:07\:39 -0500") Message-ID: <24975806@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-afs@FreeBSD.org Subject: Re: OpenAFS on FreeBSD Progress (Works) 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, 09 Dec 2008 21:07:49 -0000 Hi Matt, Matt Benjamin writes: > Which patches from RT (#s) do you have? For now, please attach any > patch that we don't have. I have OpenAFS compiling at amd64, in > #123811, I took the diff from this ticket and create patches based on it. > and I thought it compiled at CURRENT (but it maybe stopped at > some point), I test ports with ports-mgmt/tinderbox. This program creates a vanilla environment for building/packaging. The environment of the main system don't influence testing. > and will merge any reasonable change you have. The first one is just like a diff for src/cf/osconf.m4: ftp://ftp.ipt.ru/pub/tmp/openafs/files/patch-configure Without this patch I got an error at amd64 build: ----- ... cd picobj && cc -I. -I. -I/work/a/ports/net/openafs/work/openafs-1.4.8/src/config -I/work/a/ports/net/openafs/work/openafs-1.4.8/include -O2 -pipe -c glue.c + cc -shared -o libafssetpag.so.1.0 picobj/setpag.o picobj/glue.o syscall.o /usr/bin/ld: picobj/setpag.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC picobj/setpag.o: could not read symbols: Bad value *** Error code 1 ----- The second patch (I called it a hack) deals with the absence of sgtty.h since __FreeBSD_version=800039: ftp://ftp.ipt.ru/pub/tmp/openafs/files/patch-curseswindows.c A better way may be to use ifdefs here. Without this patch I get an error at 8-CURRENT build: ----- ... cd src && cd gtx && make all ... cc -O -I/work/a/ports/net/openafs/work/openafs-1.4.8/src/config -I. -I. -I/work/a/ports/net/openafs/work/openafs-1.4.8/include -I/work/a/ports/net/openafs/work/openafs-1.4.8/include/afs -I/work/a/ports/net/openafs/work/openafs-1.4.8/include/rx -I/work/a/ports/net/openafs/work/openafs-1.4.8 -I/work/a/ports/net/openafs/work/openafs-1.4.8/src -I/work/a/ports/net/openafs/work/openafs-1.4.8/src -O2 -pipe -fPIC -c curseswindows.c curseswindows.c:35:19: error: sgtty.h: No such file or directory *** Error code 1 ----- WBR & HTH -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Fri Dec 12 14:23:01 2008 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 492B61065670 for ; Fri, 12 Dec 2008 14:23:01 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 057298FC1A for ; Fri, 12 Dec 2008 14:23:00 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LB8ux-0009Zy-NH for freebsd-afs@FreeBSD.org; Fri, 12 Dec 2008 17:22:59 +0300 To: freebsd-afs@FreeBSD.org From: Boris Samorodov Date: Fri, 12 Dec 2008 17:22:59 +0300 Message-ID: <49897500@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: FreeBSD port for AFS client almost ready, a question though 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: Fri, 12 Dec 2008 14:23:01 -0000 Hello All, I managed to create a port which builds a kernel module for 7-STABLE. But before it is published I'd like to ask some questions. Here is the first one. Am I right to assume that all a client needs are a kernel module, an afsd daemon and an rc script? WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Fri Dec 12 14:52:36 2008 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 41F061065707 for ; Fri, 12 Dec 2008 14:52:36 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 96A958FC1C for ; Fri, 12 Dec 2008 14:52:35 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LB9NT-0009wf-Ep; Fri, 12 Dec 2008 17:52:27 +0300 To: "Tony Jago" References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> From: Boris Samorodov Date: Fri, 12 Dec 2008 17:52:26 +0300 In-Reply-To: <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> (Tony Jago's message of "Tue\, 9 Dec 2008 09\:55\:16 +1000") Message-ID: <57098597@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-afs@FreeBSD.org, "Jason C. Wells" , Derrick J Brashear , Alec Kloss Subject: Re: OpenAFS on FreeBSD Progress (Works) 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: Fri, 12 Dec 2008 14:52:36 -0000 "Tony Jago" writes: >>> I'd like to create two separate ports: openafs-server and >>> openafs-client. But I don't know right now how to do it. > > I would also recommend a openafs metaport that combines the client and > the server. What's the purpose of this port? I understand when a big collection of ports (like xorg, gnome, etc.) are combined together. > Have a look at the mysql-client, mysql-server and mysql > ports to see an example of how to do this sort of thing. I didn't manage to find a metaport for mysql... WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Fri Dec 12 14:54:03 2008 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 953221065677 for ; Fri, 12 Dec 2008 14:54:03 +0000 (UTC) (envelope-from matt@linuxbox.com) Received: from aa.linuxbox.com (aa.linuxbox.com [134.215.213.37]) by mx1.freebsd.org (Postfix) with ESMTP id 49C0D8FC0C for ; Fri, 12 Dec 2008 14:54:03 +0000 (UTC) (envelope-from matt@linuxbox.com) Received: from trosper.private.linuxbox.com (trosper.private.linuxbox.com [10.1.1.45]) by aa.linuxbox.com (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id mBCEs2Fn013670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 12 Dec 2008 09:54:02 -0500 Received: by trosper.private.linuxbox.com (Postfix, from userid 65534) id 7D8B3DB41E25; Fri, 12 Dec 2008 09:54:02 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on trosper.private.linuxbox.com X-Spam-Level: X-Spam-Status: No, score=-4.4 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.1.7 Received: from localhost.localdomain (unknown [10.1.1.217]) by trosper.private.linuxbox.com (Postfix) with ESMTP id 7F06DDAE3230; Fri, 12 Dec 2008 09:54:00 -0500 (EST) Message-ID: <49427B03.8070802@linuxbox.com> Date: Fri, 12 Dec 2008 09:53:55 -0500 From: Matt Benjamin User-Agent: Thunderbird 2.0.0.18 (X11/20081105) MIME-Version: 1.0 To: Boris Samorodov References: <49897500@bb.ipt.ru> In-Reply-To: <49897500@bb.ipt.ru> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (aa.linuxbox.com [10.1.1.1]); Fri, 12 Dec 2008 09:54:02 -0500 (EST) Cc: freebsd-afs@freebsd.org Subject: Re: FreeBSD port for AFS client almost ready, a question though 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: Fri, 12 Dec 2008 14:54:03 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Boris: Are... CellServDB ThisCell (maybe cacheinfo) /afs mount point /usr/vice/cache (or whatever mount point you'd prefer to use for the vice cache, should it be a vice cache) (and perhaps) krb5.conf (not _always_ required, but...) accounted for? Matt Boris Samorodov wrote: > Hello All, > > > I managed to create a port which builds a kernel module for 7-STABLE. > But before it is published I'd like to ask some questions. Here is > the first one. > > Am I right to assume that all a client needs are a kernel module, an > afsd daemon and an rc script? > > > WBR - -- Matt Benjamin The Linux Box 206 South Fifth Ave. Suite 150 Ann Arbor, MI 48104 http://linuxbox.com tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJQnsDJiSUUSaRdSURCBiWAJ9A6anC77ftrx/7euyVRDutVrg3mQCdG26G JelvgH+XpCx41TUPHaNxY/A= =cxtk -----END PGP SIGNATURE----- From owner-freebsd-afs@FreeBSD.ORG Fri Dec 12 15:15:23 2008 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 63F171065688 for ; Fri, 12 Dec 2008 15:15:23 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 1D8908FC08 for ; Fri, 12 Dec 2008 15:15:23 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LB9je-000AFV-5i; Fri, 12 Dec 2008 18:15:22 +0300 To: Matt Benjamin References: <49897500@bb.ipt.ru> <49427B03.8070802@linuxbox.com> From: Boris Samorodov Date: Fri, 12 Dec 2008 18:15:21 +0300 In-Reply-To: <49427B03.8070802@linuxbox.com> (Matt Benjamin's message of "Fri\, 12 Dec 2008 09\:53\:55 -0500") Message-ID: <14217222@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-afs@freebsd.org Subject: Re: FreeBSD port for AFS client almost ready, a question though 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: Fri, 12 Dec 2008 15:15:23 -0000 Matt Benjamin writes: > Hi Boris: > > Are... > > CellServDB > ThisCell OK. > (maybe cacheinfo) Should this file be installed? Or should it be dynamically created? > /afs mount point That may be a check while installing and/or while loading kernel module/daemon. > /usr/vice/cache (or whatever mount point you'd prefer to use for the > vice cache, should it be a vice cache) A check while loading a daemon? > (and perhaps) > > krb5.conf (not _always_ required, but...) Hm. Not sure how to deal with this. Should it be a note after install? > accounted for? Sure, thanks. > Boris Samorodov wrote: >> Hello All, >> >> >> I managed to create a port which builds a kernel module for 7-STABLE. >> But before it is published I'd like to ask some questions. Here is >> the first one. >> >> Am I right to assume that all a client needs are a kernel module, an >> afsd daemon and an rc script? WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Fri Dec 12 15:50:49 2008 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 0A289106568D for ; Fri, 12 Dec 2008 15:50:49 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from melon.pingpong.net (melon.pingpong.net [195.178.174.161]) by mx1.freebsd.org (Postfix) with ESMTP id B65288FC2E for ; Fri, 12 Dec 2008 15:50:48 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from localhost (localhost.pingpong.net [127.0.0.1]) by melon.pingpong.net (Postfix) with ESMTP id 83390508CF; Fri, 12 Dec 2008 16:23:05 +0100 (CET) Received: from melon.pingpong.net ([127.0.0.1]) by localhost (melon.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 58008-03-8; Fri, 12 Dec 2008 16:23:05 +0100 (CET) Received: from [192.168.1.204] (unknown [213.136.40.204]) by melon.pingpong.net (Postfix) with ESMTP id 47C9A508D7; Fri, 12 Dec 2008 16:22:55 +0100 (CET) Date: Fri, 12 Dec 2008 16:22:55 +0100 From: Palle Girgensohn To: Boris Samorodov , Tony Jago Message-ID: <3791F33A0694091B8F21252B@girgMac.local> In-Reply-To: <57098597@bb.ipt.ru> References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> X-Mailer: Mulberry/4.0.8 (Mac OS X) Errors-To: girgen+uustuds@pingpong.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at pingpong.net Cc: freebsd-afs@FreeBSD.org, "Jason C. Wells" , Derrick J Brashear , Alec Kloss Subject: Re: OpenAFS on FreeBSD Progress (Works) 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: Fri, 12 Dec 2008 15:50:49 -0000 --On fredag, fr 12 dec 2008 17.52.26 +0300 Boris Samorodov wrote: > "Tony Jago" writes: > >>>> I'd like to create two separate ports: openafs-server and >>>> openafs-client. But I don't know right now how to do it. >> >> I would also recommend a openafs metaport that combines the client and >> the server. > > What's the purpose of this port? I understand when a big collection > of ports (like xorg, gnome, etc.) are combined together. I two ports share the same code base, but install different files, then a metaport or similar could be clever. See for example databases/postgresql83-(server|client). The postgresql83-server depends on the client. The client can installed without the server. Similar to OpenAFS, hence. Now, they have the same source tarball, so the -client port just sets a few parameters and then uses the postgresql83-server port as a master Makefile. >> Have a look at the mysql-client, mysql-server and mysql >> ports to see an example of how to do this sort of thing. > > I didn't manage to find a metaport for mysql... Works almost exactly the same as described for postgresql. :-) Regards, Palle > > > WBR > -- > Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD committer, http://www.FreeBSD.org The Power To Serve > _______________________________________________ > 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" From owner-freebsd-afs@FreeBSD.ORG Fri Dec 12 16:03:12 2008 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 8C0DC1065675 for ; Fri, 12 Dec 2008 16:03:12 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 403D68FC0C for ; Fri, 12 Dec 2008 16:03:12 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LBATs-000AsZ-NX; Fri, 12 Dec 2008 19:03:08 +0300 To: Palle Girgensohn References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <3791F33A0694091B8F21252B@girgMac.local> From: Boris Samorodov Date: Fri, 12 Dec 2008 19:03:07 +0300 In-Reply-To: <3791F33A0694091B8F21252B@girgMac.local> (Palle Girgensohn's message of "Fri\, 12 Dec 2008 16\:22\:55 +0100") Message-ID: <92774356@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-afs@FreeBSD.org, "Jason C. Wells" , Derrick J Brashear , Alec Kloss Subject: Re: OpenAFS on FreeBSD Progress (Works) 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: Fri, 12 Dec 2008 16:03:12 -0000 Palle Girgensohn writes: > --On fredag, fr 12 dec 2008 17.52.26 +0300 Boris Samorodov > wrote: > >> "Tony Jago" writes: >> >>>>> I'd like to create two separate ports: openafs-server and >>>>> openafs-client. But I don't know right now how to do it. >>> >>> I would also recommend a openafs metaport that combines the client and >>> the server. >> >> What's the purpose of this port? I understand when a big collection >> of ports (like xorg, gnome, etc.) are combined together. > > I two ports share the same code base, but install different files, > then a metaport or similar could be clever. How? I don't undrestand what for we need a *third* port. I agree and was going to create two ports: server and client. > See for example > databases/postgresql83-(server|client). There is no third metaport for server and client with combines them. [1] > The postgresql83-server > depends on the client. The client can installed without the > server. Similar to OpenAFS, hence. Now, they have the same source > tarball, so the -client port just sets a few parameters and then uses > the postgresql83-server port as a master Makefile. You have just desribed what I was going to do (actually, has already done): create an openafs-sever (master) and openafs-client (a meta-port). >>> Have a look at the mysql-client, mysql-server and mysql >>> ports to see an example of how to do this sort of thing. >> >> I didn't manage to find a metaport for mysql... > > Works almost exactly the same as described for postgresql. :-) [1] ;-) WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Fri Dec 12 16:07:28 2008 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 3B4B81065673 for ; Fri, 12 Dec 2008 16:07:28 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from melon.pingpong.net (melon.pingpong.net [195.178.174.161]) by mx1.freebsd.org (Postfix) with ESMTP id EC1008FC14 for ; Fri, 12 Dec 2008 16:07:27 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from localhost (localhost.pingpong.net [127.0.0.1]) by melon.pingpong.net (Postfix) with ESMTP id 4348F508DD; Fri, 12 Dec 2008 16:33:38 +0100 (CET) Received: from melon.pingpong.net ([127.0.0.1]) by localhost (melon.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 58768-01-17; Fri, 12 Dec 2008 16:33:38 +0100 (CET) Received: from [192.168.1.204] (unknown [213.136.40.204]) by melon.pingpong.net (Postfix) with ESMTP id 3BFF9508D7; Fri, 12 Dec 2008 16:33:36 +0100 (CET) Date: Fri, 12 Dec 2008 16:33:35 +0100 From: Palle Girgensohn To: Boris Samorodov , Tony Jago Message-ID: <2086E93584713946C07FC9AF@girgMac.local> X-Mailer: Mulberry/4.0.8 (Mac OS X) Errors-To: girgen+uustuds@pingpong.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; FORMAT=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at pingpong.net Cc: freebsd-afs@FreeBSD.org, "Jason C. Wells" , Derrick J Brashear , Alec Kloss Subject: Re: OpenAFS on FreeBSD Progress (Works) 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: Fri, 12 Dec 2008 16:07:28 -0000 --On fredag, fr 12 dec 2008 17.52.26 +0300 Boris Samorodov wrote: > "Tony Jago" writes: > >>>> I'd like to create two separate ports: openafs-server and >>>> openafs-client. But I don't know right now how to do it. >> >> I would also recommend a openafs metaport that combines the client and >> the server. > > What's the purpose of this port? I understand when a big collection > of ports (like xorg, gnome, etc.) are combined together. I two ports share the same code base, but install different files, then a metaport or similar could be clever. See for example databases/postgresql83-(server|client). The postgresql83-server depends on the client. The client can installed without the server. Similar to OpenAFS, hence. Now, they have the same source tarball, so the -client port just sets a few parameters and then uses the postgresql83-server port as a master Makefile. >> Have a look at the mysql-client, mysql-server and mysql >> ports to see an example of how to do this sort of thing. > > I didn't manage to find a metaport for mysql... Works almost exactly the same as described for postgresql. :-) Regards, Palle > > > WBR > -- > Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD committer, http://www.FreeBSD.org The Power To Serve > _______________________________________________ > 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" From owner-freebsd-afs@FreeBSD.ORG Fri Dec 12 17:45:31 2008 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 77083106564A for ; Fri, 12 Dec 2008 17:45:31 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from melon.pingpong.net (melon.pingpong.net [195.178.174.161]) by mx1.freebsd.org (Postfix) with ESMTP id 2FD168FC12 for ; Fri, 12 Dec 2008 17:45:30 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from localhost (localhost.pingpong.net [127.0.0.1]) by melon.pingpong.net (Postfix) with ESMTP id 867AD5084D; Fri, 12 Dec 2008 18:45:29 +0100 (CET) Received: from melon.pingpong.net ([127.0.0.1]) by localhost (melon.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 59190-05; Fri, 12 Dec 2008 18:45:29 +0100 (CET) Received: from [192.168.1.204] (unknown [213.136.40.204]) by melon.pingpong.net (Postfix) with ESMTP id E27B45084C; Fri, 12 Dec 2008 18:45:24 +0100 (CET) Date: Fri, 12 Dec 2008 18:45:23 +0100 From: Palle Girgensohn To: Boris Samorodov Message-ID: <6A11DD89CC7F53A7AFA7EBB9@girgMac.local> In-Reply-To: <92774356@bb.ipt.ru> References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <3791F33A0694091B8F21252B@girgMac.local> <92774356@bb.ipt.ru> X-Mailer: Mulberry/4.0.8 (Mac OS X) Errors-To: girgen+uustuds@pingpong.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at pingpong.net Cc: freebsd-afs@FreeBSD.org, "Jason C. Wells" , Derrick J Brashear , Alec Kloss Subject: Re: OpenAFS on FreeBSD Progress (Works) 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: Fri, 12 Dec 2008 17:45:31 -0000 --On fredag, fr 12 dec 2008 19.03.07 +0300 Boris Samorodov wrote: > You have just desribed what I was going to do (actually, has already > done): create an openafs-sever (master) and openafs-client (a > meta-port). Sounds perfect. ;-) From owner-freebsd-afs@FreeBSD.ORG Fri Dec 12 18:28:24 2008 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 61EAA1065677 for ; Fri, 12 Dec 2008 18:28:24 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 17C838FC08 for ; Fri, 12 Dec 2008 18:28:24 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LBCkO-000CkA-Di; Fri, 12 Dec 2008 21:28:20 +0300 To: "Tony Jago" References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> From: Boris Samorodov Date: Fri, 12 Dec 2008 21:28:19 +0300 In-Reply-To: <57098597@bb.ipt.ru> (Boris Samorodov's message of "Fri\, 12 Dec 2008 17\:52\:26 +0300") Message-ID: <26695644@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-afs@FreeBSD.org, "Jason C. Wells" , Derrick J Brashear , Alec Kloss Subject: Re: OpenAFS on FreeBSD Progress (Works) 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: Fri, 12 Dec 2008 18:28:24 -0000 Boris Samorodov writes: > "Tony Jago" writes: > >>>> I'd like to create two separate ports: openafs-server and >>>> openafs-client. But I don't know right now how to do it. >> >> I would also recommend a openafs metaport that combines the client and >> the server. > > What's the purpose of this port? I understand when a big collection > of ports (like xorg, gnome, etc.) are combined together. Replying to myself. Seems I found out why this port may be needed: Both server and client have common files (i.e. should be marked as have CONFLICTS and can't be installed with each other). WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Fri Dec 12 23:34:58 2008 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 E7D561065673 for ; Fri, 12 Dec 2008 23:34:58 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from melon.pingpong.net (melon.pingpong.net [195.178.174.161]) by mx1.freebsd.org (Postfix) with ESMTP id 9E2288FC08 for ; Fri, 12 Dec 2008 23:34:58 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from localhost (localhost.pingpong.net [127.0.0.1]) by melon.pingpong.net (Postfix) with ESMTP id D7F605084D; Sat, 13 Dec 2008 00:34:56 +0100 (CET) Received: from melon.pingpong.net ([127.0.0.1]) by localhost (melon.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 64453-03; Sat, 13 Dec 2008 00:34:56 +0100 (CET) Received: from c-3157e155.1521-1-64736c12.cust.bredbandsbolaget.se (c-3157e155.1521-1-64736c12.cust.bredbandsbolaget.se [85.225.87.49]) by melon.pingpong.net (Postfix) with ESMTP id E41FD5084C; Sat, 13 Dec 2008 00:34:49 +0100 (CET) Date: Sat, 13 Dec 2008 00:34:49 +0100 From: Palle Girgensohn To: Boris Samorodov , Tony Jago Message-ID: In-Reply-To: <26695644@bb.ipt.ru> References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> X-Mailer: Mulberry/4.0.8 (Mac OS X) Errors-To: girgen+uustuds@pingpong.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at pingpong.net Cc: freebsd-afs@FreeBSD.org, "Jason C. Wells" , Derrick J Brashear , Alec Kloss Subject: Re: OpenAFS on FreeBSD Progress (Works) 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: Fri, 12 Dec 2008 23:34:59 -0000 --On fredag, fr 12 dec 2008 21.28.19 +0300 Boris Samorodov wrote: > Boris Samorodov writes: >> "Tony Jago" writes: >> >>>>> I'd like to create two separate ports: openafs-server and >>>>> openafs-client. But I don't know right now how to do it. >>> >>> I would also recommend a openafs metaport that combines the client and >>> the server. >> >> What's the purpose of this port? I understand when a big collection >> of ports (like xorg, gnome, etc.) are combined together. > > Replying to myself. Seems I found out why this port may be needed: > Both server and client have common files (i.e. should be marked > as have CONFLICTS and can't be installed with each other). You don't need a meta port, you a client and a server port, and let the client install all common files, and let the server depend on the client, which is reasonable anyway. /Palle > > > WBR > -- > Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD committer, http://www.FreeBSD.org The Power To Serve > _______________________________________________ > 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" From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 00:10:58 2008 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 D1BD81065673 for ; Sat, 13 Dec 2008 00:10:58 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id 9F4678FC13 for ; Sat, 13 Dec 2008 00:10:58 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1663248wfg.7 for ; Fri, 12 Dec 2008 16:10:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ut+xoNB2BbESN472VzHm/ZQnLQpJnWneIa6bdy6AbL4=; b=alVumAL/9G8MUCtmFH4YChNh+oodkAXq9NHJRBkwKnsKdXdFb9tg0HJp84qqtgCLHZ 0uCS98VnOwZgQ49SNsCaGc3i5na4v1s+j7/ch4djNGnWkZYIQbSHXXlzvlooWPntH0m7 x2FIE/lrcThPTxX8tDh3SN90GlmdOmkNs2PR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=N9H5bNT+XxL0RsF8sS0/2eL9vjGBfKCcsaPa/XKmm6aXZd7hXhi+I/ZyX7SvawiV0U 4iexDYGsBBAvgvoMpuBSnRfpxwAWw/DDYRAJnEHfrkezAjIRe+XoHjdB+C/aDaAEUdN3 HMY0ehfAAfZLseFASrSoD8EctoShKQUrxb+A8= Received: by 10.142.11.20 with SMTP id 20mr1567489wfk.291.1229125237420; Fri, 12 Dec 2008 15:40:37 -0800 (PST) Received: by 10.143.115.5 with HTTP; Fri, 12 Dec 2008 15:40:37 -0800 (PST) Message-ID: <47d0403c0812121540u43349dedr96a8af0c63b3fe8a@mail.gmail.com> Date: Fri, 12 Dec 2008 18:40:37 -0500 From: "Ben Kaduk" To: "Palle Girgensohn" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> Cc: Alec Kloss , freebsd-afs@freebsd.org, "Jason C. Wells" , Derrick J Brashear Subject: Re: OpenAFS on FreeBSD Progress (Works) 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: Sat, 13 Dec 2008 00:10:58 -0000 On Fri, Dec 12, 2008 at 6:34 PM, Palle Girgensohn wrote: > > > --On fredag, fr 12 dec 2008 21.28.19 +0300 Boris Samorodov > wrote: > >> Boris Samorodov writes: >>> >>> "Tony Jago" writes: >>> >>>>>> I'd like to create two separate ports: openafs-server and >>>>>> openafs-client. But I don't know right now how to do it. >>>> >>>> I would also recommend a openafs metaport that combines the client and >>>> the server. >>> >>> What's the purpose of this port? I understand when a big collection >>> of ports (like xorg, gnome, etc.) are combined together. >> >> Replying to myself. Seems I found out why this port may be needed: >> Both server and client have common files (i.e. should be marked >> as have CONFLICTS and can't be installed with each other). > > You don't need a meta port, you a client and a server port, and let the > client install all common files, and let the server depend on the client, > which is reasonable anyway. We have a couple of servers here (MIT SIPB) that aren't running clients. As the guy who installed them reasoned, it's just another thing that might go wrong. I think that separate client, server, and meta packages is perfectly reasonable. -Ben Kaduk From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 00:51:44 2008 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 1E4141065670 for ; Sat, 13 Dec 2008 00:51:44 +0000 (UTC) (envelope-from shadow@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.184]) by mx1.freebsd.org (Postfix) with ESMTP id BAE898FC13 for ; Sat, 13 Dec 2008 00:51:43 +0000 (UTC) (envelope-from shadow@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so1879695rne.12 for ; Fri, 12 Dec 2008 16:51:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=0E1io7Jlv6c7Gwi3RaOMkZa2WjvF0KWWBdCFCsk7B/U=; b=LtKE1bBkuQ2X8JDXyQXKMBaFvXGQ5IXa1NIlbdNPh9rOqgYQu/7iNi9hVtuKsAeMs/ im+DNBGqCyZ++tnOcQYt3dm/coyKwgu+AYEpx0u7jJAI5hdqXg7cMH4JJvsqM0zcmxOx NFsR0d8qH0amgPC2N/KPEEvnShIV6XOQwC9Uo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=ilvAOMF1tm5jC6VGK7zPeYGj6nIoeZG2zzgymLTchIdN7vara+5D/Lcf8zXxFVgEKd vx4Lu8gD2MdANKJUZ/F9WkyV4lb58tMtUAzZneO0r5BGjm9QqDIy6Vz0hohMymr3I0J0 +l3p/7wUKNKYobJexjidyfl3sZoMKRcVofa7k= Received: by 10.151.156.7 with SMTP id i7mr7404181ybo.176.1229129503024; Fri, 12 Dec 2008 16:51:43 -0800 (PST) Received: by 10.151.153.1 with HTTP; Fri, 12 Dec 2008 16:51:42 -0800 (PST) Message-ID: Date: Fri, 12 Dec 2008 19:51:42 -0500 From: "Derrick Brashear" To: "Palle Girgensohn" In-Reply-To: MIME-Version: 1.0 References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Jason C. Wells" , freebsd-afs@freebsd.org, Alec Kloss Subject: Re: OpenAFS on FreeBSD Progress (Works) 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: Sat, 13 Dec 2008 00:51:44 -0000 On Fri, Dec 12, 2008 at 6:34 PM, Palle Girgensohn wrote: > > > --On fredag, fr 12 dec 2008 21.28.19 +0300 Boris Samorodov > wrote: > > Boris Samorodov writes: >> >>> "Tony Jago" writes: >>> >>> I'd like to create two separate ports: openafs-server and >>>>>> openafs-client. But I don't know right now how to do it. >>>>>> >>>>> >>>> I would also recommend a openafs metaport that combines the client and >>>> the server. >>>> >>> >>> What's the purpose of this port? I understand when a big collection >>> of ports (like xorg, gnome, etc.) are combined together. >>> >> >> Replying to myself. Seems I found out why this port may be needed: >> Both server and client have common files (i.e. should be marked >> as have CONFLICTS and can't be installed with each other). >> > > You don't need a meta port, you a client and a server port, and let the > client install all common files, and let the server depend on the client, > which is reasonable anyway. > Given that an OpenAFS server can be run clientless I don't agree. From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 01:02:58 2008 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 46DBA1065676 for ; Sat, 13 Dec 2008 01:02:58 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id CB13F8FC0C for ; Sat, 13 Dec 2008 01:02:57 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 88978 invoked by uid 2001); 13 Dec 2008 00:42:51 -0000 Date: Fri, 12 Dec 2008 18:42:51 -0600 From: "Rick C. Petty" To: Palle Girgensohn Message-ID: <20081213004251.GA88954@keira.kiwi-computer.com> References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Alec Kloss , freebsd-afs@FreeBSD.org, "Jason C. Wells" , Derrick J Brashear Subject: Re: OpenAFS on FreeBSD Progress (Works) X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd2008@kiwi-computer.com List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 01:02:58 -0000 On Sat, Dec 13, 2008 at 12:34:49AM +0100, Palle Girgensohn wrote: > > >Replying to myself. Seems I found out why this port may be needed: > >Both server and client have common files (i.e. should be marked > >as have CONFLICTS and can't be installed with each other). > > You don't need a meta port, you a client and a server port, and let the > client install all common files, and let the server depend on the client, > which is reasonable anyway. I think you have that backwards. The client contains a kernel module. The server is all run in userland. I think in this case, have the client depend upon the server and have the server install all common files. I agree that there should not be a metaport. -- Rick C. Petty From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 01:06:46 2008 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 8909F106567A for ; Sat, 13 Dec 2008 01:06:46 +0000 (UTC) (envelope-from shadow@gmail.com) Received: from mail-gx0-f12.google.com (mail-gx0-f12.google.com [209.85.217.12]) by mx1.freebsd.org (Postfix) with ESMTP id 1604B8FC25 for ; Sat, 13 Dec 2008 01:06:45 +0000 (UTC) (envelope-from shadow@gmail.com) Received: by gxk5 with SMTP id 5so1214062gxk.19 for ; Fri, 12 Dec 2008 17:06:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=SS7pf+i4a/+CLS+RO0HNMZv8WwAWfIzwkPnN4UaV+rE=; b=TkT9Cx+098RMh5p8Kk9laaYP+0GwPy1PjL9rhnmNqFZ5KmdSnrFum60bjhLpHG+OXU vDN8roAcG72JNh5QUkc6KEhksTsVoDAQGp0t6x9KfRAfghLd4gk58UsLvEidtTL44/T3 cLIIMOLLKw6e8A77ECQ9wmfFhWKqv9gAaU1b4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=CRGsfiL+x2fMWixtgccH4yAniNDsrvmipjGPRQ/evO21H6l8asfcbta77Zg2XMKnpO dhYjr9vG2NBCX9imPwSfBmgmgsFg/pL4YZqTKiHnGNo5Kan/KNfkpwmXPFj6N4UcNUWg eSpv9iBrIbNtZTC1mNprc5Gq485ZBtulnAx7A= Received: by 10.150.122.18 with SMTP id u18mr2156217ybc.238.1229130405263; Fri, 12 Dec 2008 17:06:45 -0800 (PST) Received: by 10.151.153.1 with HTTP; Fri, 12 Dec 2008 17:06:45 -0800 (PST) Message-ID: Date: Fri, 12 Dec 2008 20:06:45 -0500 From: "Derrick Brashear" To: rick-freebsd2008@kiwi-computer.com In-Reply-To: <20081213004251.GA88954@keira.kiwi-computer.com> MIME-Version: 1.0 References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> <20081213004251.GA88954@keira.kiwi-computer.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Alec Kloss , freebsd-afs@freebsd.org, "Jason C. Wells" Subject: Re: OpenAFS on FreeBSD Progress (Works) 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: Sat, 13 Dec 2008 01:06:46 -0000 On Fri, Dec 12, 2008 at 7:42 PM, Rick C. Petty < rick-freebsd2008@kiwi-computer.com> wrote: > On Sat, Dec 13, 2008 at 12:34:49AM +0100, Palle Girgensohn wrote: > > > > >Replying to myself. Seems I found out why this port may be needed: > > >Both server and client have common files (i.e. should be marked > > >as have CONFLICTS and can't be installed with each other). > > > > You don't need a meta port, you a client and a server port, and let the > > client install all common files, and let the server depend on the client, > > which is reasonable anyway. > > I think you have that backwards. The client contains a kernel module. The > server is all run in userland. I think in this case, have the client > depend > upon the server and have the server install all common files. I agree that > there should not be a metaport. > > The server similarly does not depend on the client. You don't need the kernel module to run the server. -- Derrick From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 02:29:07 2008 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 115D71065673 for ; Sat, 13 Dec 2008 02:29:07 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from smtp7.server.rpi.edu (smtp7.server.rpi.edu [128.113.2.227]) by mx1.freebsd.org (Postfix) with ESMTP id AC26F8FC17 for ; Sat, 13 Dec 2008 02:29:06 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp7.server.rpi.edu (8.13.1/8.13.1) with ESMTP id mBD1Pbxt004435; Fri, 12 Dec 2008 20:25:39 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <47d0403c0812121540u43349dedr96a8af0c63b3fe8a@mail.gmail.com> References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> <47d0403c0812121540u43349dedr96a8af0c63b3fe8a@mail.gmail.com> Date: Fri, 12 Dec 2008 20:25:36 -0500 To: "Ben Kaduk" , "Palle Girgensohn" From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Bayes-Prob: 0.0001 (Score 0) X-RPI-SA-Score: 0.00 () [Hold at 20.00] 22490(-25) X-CanItPRO-Stream: outgoing X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.227 Cc: freebsd-afs@freebsd.org, Alec Kloss , Derrick J Brashear , "Jason C. Wells" Subject: Re: OpenAFS on FreeBSD Progress (Works) 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: Sat, 13 Dec 2008 02:29:07 -0000 At 6:40 PM -0500 12/12/08, Ben Kaduk wrote: >On Fri, Dec 12, 2008 at 6:34 PM, Palle Girgensohn wrote: >> > > You don't need a meta port, you a client and a server port, and let the >> client install all common files, and let the server depend on the client, >> which is reasonable anyway. > >We have a couple of servers here (MIT SIPB) that aren't running clients. >As the guy who installed them reasoned, it's just another thing that >might go wrong. > >I think that separate client, server, and meta packages is perfectly >reasonable. I'm pretty sure our AFS servers do not have the AFS client installed, either. Or at least, they did not, I'm not sure how they are set up right this minute. All our AFS clients are not servers, and all our AFS servers are not clients. (for cell /afs/rpi.edu ) -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 02:42:28 2008 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 301301065675 for ; Sat, 13 Dec 2008 02:42:28 +0000 (UTC) (envelope-from tony@convoitec.com) Received: from ipmail04.adl2.internode.on.net (ipmail04.adl2.internode.on.net [203.16.214.57]) by mx1.freebsd.org (Postfix) with ESMTP id 960A88FC0C for ; Sat, 13 Dec 2008 02:42:27 +0000 (UTC) (envelope-from tony@convoitec.com) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArcEAGKqQkl20D0a/2dsb2JhbACBbFMwiCIGxGWCfQ X-IronPort-AV: E=Sophos;i="4.36,214,1228051800"; d="scan'208,217";a="265023957" Received: from ppp118-208-61-26.lns4.bne1.internode.on.net (HELO router.vpn.marvy.net) ([118.208.61.26]) by ipmail04.adl2.internode.on.net with ESMTP; 13 Dec 2008 12:57:10 +1030 Received: from valentine (c122-104-130-236.kelvn2.qld.optusnet.com.au [122.104.130.236]) (authenticated bits=0) by router.vpn.marvy.net (8.14.2/8.14.2) with ESMTP id mBD2R58t037031 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sat, 13 Dec 2008 12:27:06 +1000 (EST) (envelope-from tony@convoitec.com) Message-ID: From: "Tony Jago" To: "Derrick Brashear" , References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> <20081213004251.GA88954@keira.kiwi-computer.com> In-Reply-To: Date: Sat, 13 Dec 2008 12:27:09 +1000 Organization: Convoitec Pty. Ltd. MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6000.16480 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16669 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-afs@freebsd.org, "Jason C. Wells" , Alec Kloss Subject: OpenAFS port [was: OpenAFS on FreeBSD Progress (Works)] X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tony Jago List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 02:42:28 -0000 I think that we probably don't need more then one port. Yes, I know I = was the one what originally proposed the meta port but I have changed my = mind :) The reason we had a server and a client port originally was that = the server was the only bit working and the kernel model was set not to = compile. The client was was arla client. Now that both the openafs = server and client are supported by the openafs team I can see no reason = why it shouldn't be all in one port. The port should have separate rc = variable to allow the administrator to only start the client or the = server if they choose to. openafs_client_enable=3D"YES" and = openafs_server_enable=3D"YES" for example. This gets around all the = conflicting file problems. The kernel module need only be loaded if the = client is required. This would seem to be a much easier and cleaner = solution. My 2 cents, Tony From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 02:46:00 2008 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 C5315106564A for ; Sat, 13 Dec 2008 02:46:00 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id 50A578FC12 for ; Sat, 13 Dec 2008 02:46:00 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 89898 invoked by uid 2001); 13 Dec 2008 02:45:59 -0000 Date: Fri, 12 Dec 2008 20:45:59 -0600 From: "Rick C. Petty" To: Derrick Brashear Message-ID: <20081213024559.GA89850@keira.kiwi-computer.com> References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> <20081213004251.GA88954@keira.kiwi-computer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Alec Kloss , freebsd-afs@freebsd.org, "Jason C. Wells" Subject: Re: OpenAFS on FreeBSD Progress (Works) X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd2008@kiwi-computer.com List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 02:46:00 -0000 On Fri, Dec 12, 2008 at 08:06:45PM -0500, Derrick Brashear wrote: > On Fri, Dec 12, 2008 at 7:42 PM, Rick C. Petty < > rick-freebsd2008@kiwi-computer.com> wrote: > > > > You don't need a meta port, you a client and a server port, and let the > > > client install all common files, and let the server depend on the client, > > > which is reasonable anyway. > > > > I think you have that backwards. The client contains a kernel module. The > > server is all run in userland. I think in this case, have the client > > depend > > upon the server and have the server install all common files. I agree that > > there should not be a metaport. > > > The server similarly does not depend on the client. You don't need the > kernel module to run the server. That's precisely what I said.. the server does not depend upon the client. Having the client depend on the server isn't that bad, unless the code is easily separable. Having the server depend upon the client would be bad. -- Rick C. Petty From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 10:26:18 2008 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 5099A106568B for ; Sat, 13 Dec 2008 10:26:18 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from melon.pingpong.net (melon.pingpong.net [195.178.174.161]) by mx1.freebsd.org (Postfix) with ESMTP id CDE0D8FC20 for ; Sat, 13 Dec 2008 10:26:17 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from localhost (localhost.pingpong.net [127.0.0.1]) by melon.pingpong.net (Postfix) with ESMTP id 188CC5084C; Sat, 13 Dec 2008 11:26:16 +0100 (CET) Received: from melon.pingpong.net ([127.0.0.1]) by localhost (melon.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 76230-03; Sat, 13 Dec 2008 11:26:15 +0100 (CET) Received: from [10.146.162.88] (host-217-213-135-213.mobileonline.telia.com [217.213.135.213]) by melon.pingpong.net (Postfix) with ESMTP id 83F8850848; Sat, 13 Dec 2008 11:26:09 +0100 (CET) References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> <20081213004251.GA88954@keira.kiwi-computer.com> Message-Id: <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> From: Palle Girgensohn To: Tony Jago In-Reply-To: X-Mailer: iPhone Mail (5G77) Mime-Version: 1.0 (iPhone Mail 5G77) Date: Sat, 13 Dec 2008 11:26:03 +0100 X-Virus-Scanned: by amavisd-new at pingpong.net Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Alec Kloss , "" , "Jason C. Wells" , Derrick Brashear Subject: Re: OpenAFS port [was: OpenAFS on FreeBSD Progress (Works)] 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: Sat, 13 Dec 2008 10:26:18 -0000 As long as nothing conflicts with arla, I also suggest an all in one installation. Keeps it simple, which is always important. Palle 13 dec 2008 kl. 03.27 skrev "Tony Jago" : > I think that we probably don't need more then one port. Yes, I know > I was the one what originally proposed the meta port but I have > changed my mind :) The reason we had a server and a client port > originally was that the server was the only bit working and the > kernel model was set not to compile. The client was was arla client. > Now that both the openafs server and client are supported by the > openafs team I can see no reason why it shouldn't be all in one > port. The port should have separate rc variable to allow the > administrator to only start the client or the server if they choose > to. openafs_client_enable="YES" and openafs_server_enable="YES" for > example. This gets around all the conflicting file problems. The > kernel module need only be loaded if the client is required. This > would seem to be a much easier and cleaner solution. > > My 2 cents, > > Tony From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 13:19:47 2008 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 AB451106564A for ; Sat, 13 Dec 2008 13:19:47 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 5943D8FC18 for ; Sat, 13 Dec 2008 13:19:47 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LBUPF-0000va-GI; Sat, 13 Dec 2008 16:19:41 +0300 To: Palle Girgensohn References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> <20081213004251.GA88954@keira.kiwi-computer.com> <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> From: Boris Samorodov Date: Sat, 13 Dec 2008 16:19:40 +0300 In-Reply-To: <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> (Palle Girgensohn's message of "Sat\, 13 Dec 2008 11\:26\:03 +0100") Message-ID: <60600083@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Tony Jago , Alec Kloss , "" , "Jason C. Wells" , Derrick Brashear Subject: Re: OpenAFS port 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: Sat, 13 Dec 2008 13:19:47 -0000 Palle Girgensohn writes: > 13 dec 2008 kl. 03.27 skrev "Tony Jago" : > >> I think that we probably don't need more then one port. Yes, I know >> I was the one what originally proposed the meta port but I have >> changed my mind :) The reason we had a server and a client port >> originally was that the server was the only bit working and the >> kernel model was set not to compile. The client was was arla client. >> Now that both the openafs server and client are supported by the >> openafs team I can see no reason why it shouldn't be all in one >> port. The port should have separate rc variable to allow the >> administrator to only start the client or the server if they choose >> to. openafs_client_enable="YES" and openafs_server_enable="YES" for >> example. This gets around all the conflicting file problems. The >> kernel module need only be loaded if the client is required. This >> would seem to be a much easier and cleaner solution. > > As long as nothing conflicts with arla, I also suggest an all in one > installation. Keeps it simple, which is always important. I'd vote for that myself if and only if we speak about a ports subsystem. But there are packages as well. And for those who prefer using packages I'd rather give an opportunity. Said that I propose following ports: . net/openafs (server+client) . net/openafs-server; . net/openafs-client. One of them will be a master port (I don't figure out which one, but that will be either openafs or openafs-server). All of them will conflict each other, i.e. only one of them can be installed at a machine. That way we may give all users their chance. Opinions? Thanks! WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 14:15:26 2008 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 9340A1065781 for ; Sat, 13 Dec 2008 14:15:26 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from melon.pingpong.net (melon.pingpong.net [195.178.174.161]) by mx1.freebsd.org (Postfix) with ESMTP id 4279E8FC08 for ; Sat, 13 Dec 2008 14:15:26 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from localhost (localhost.pingpong.net [127.0.0.1]) by melon.pingpong.net (Postfix) with ESMTP id 8793E508CB; Sat, 13 Dec 2008 15:15:24 +0100 (CET) Received: from melon.pingpong.net ([127.0.0.1]) by localhost (melon.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 79047-02-7; Sat, 13 Dec 2008 15:15:24 +0100 (CET) Received: from [172.16.1.199] (c-be56e155.1521-1-64736c12.cust.bredbandsbolaget.se [85.225.86.190]) by melon.pingpong.net (Postfix) with ESMTP id 45D19508CA; Sat, 13 Dec 2008 15:15:20 +0100 (CET) Date: Sat, 13 Dec 2008 15:15:19 +0100 From: Palle Girgensohn To: Boris Samorodov Message-ID: In-Reply-To: <60600083@bb.ipt.ru> References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> <20081213004251.GA88954@keira.kiwi-computer.com> <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> <60600083@bb.ipt.ru> X-Mailer: Mulberry/4.0.8 (Mac OS X) Errors-To: girgen+uustuds@pingpong.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at pingpong.net Cc: Tony Jago , Alec Kloss , "" , "Jason C. Wells" , Derrick Brashear Subject: Re: OpenAFS port 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: Sat, 13 Dec 2008 14:15:26 -0000 --On l=F6rdag, l=F6 13 dec 2008 16.19.40 +0300 Boris Samorodov = =20 wrote: > Palle Girgensohn writes: >> 13 dec 2008 kl. 03.27 skrev "Tony Jago" : >> >>> I think that we probably don't need more then one port. Yes, I know >>> I was the one what originally proposed the meta port but I have >>> changed my mind :) The reason we had a server and a client port >>> originally was that the server was the only bit working and the >>> kernel model was set not to compile. The client was was arla client. >>> Now that both the openafs server and client are supported by the >>> openafs team I can see no reason why it shouldn't be all in one >>> port. The port should have separate rc variable to allow the >>> administrator to only start the client or the server if they choose >>> to. openafs_client_enable=3D"YES" and openafs_server_enable=3D"YES" for >>> example. This gets around all the conflicting file problems. The >>> kernel module need only be loaded if the client is required. This >>> would seem to be a much easier and cleaner solution. >> >> As long as nothing conflicts with arla, I also suggest an all in one >> installation. Keeps it simple, which is always important. > > I'd vote for that myself if and only if we speak about a ports > subsystem. But there are packages as well. And for those who prefer > using packages I'd rather give an opportunity. > > Said that I propose following ports: > . net/openafs (server+client) > . net/openafs-server; > . net/openafs-client. > > One of them will be a master port (I don't figure out which one, > but that will be either openafs or openafs-server). All of them > will conflict each other, i.e. only one of them can be installed > at a machine. > > That way we may give all users their chance. > > Opinions? Thanks! Personally I thinks that is overly complicated. Installing a few binaries=20 that I don't use is not a big deal. Having three ports for a server+client=20 system is confusing, especially since it is not very common practice. I'd=20 vote for one single port, with rc switches to activate the different parts. /Palle From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 15:17:30 2008 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 7E8021065672 for ; Sat, 13 Dec 2008 15:17:30 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 2BCC38FC26 for ; Sat, 13 Dec 2008 15:17:30 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LBWFC-0002QX-1Y; Sat, 13 Dec 2008 18:17:26 +0300 To: Palle Girgensohn References: <493ACAC4.5020806@linuxbox.com> <12501719@bb.ipt.ru> <493D898C.1030609@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> <20081213004251.GA88954@keira.kiwi-computer.com> <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> <60600083@bb.ipt.ru> From: Boris Samorodov Date: Sat, 13 Dec 2008 18:17:25 +0300 In-Reply-To: (Palle Girgensohn's message of "Sat\, 13 Dec 2008 15\:15\:19 +0100") Message-ID: <46367482@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Tony Jago , Alec Kloss , "" , "Jason C. Wells" , Derrick Brashear Subject: Re: OpenAFS port 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: Sat, 13 Dec 2008 15:17:30 -0000 Palle Girgensohn writes: > --On lördag, lö 13 dec 2008 16.19.40 +0300 Boris Samorodov > wrote: >> Palle Girgensohn writes: >>> 13 dec 2008 kl. 03.27 skrev "Tony Jago" : >>> >>>> I think that we probably don't need more then one port. Yes, I know >>>> I was the one what originally proposed the meta port but I have >>>> changed my mind :) The reason we had a server and a client port The more I work on the port the more I understand that it's not so trivial. I've changed my mind too. ;-) >>>> originally was that the server was the only bit working and the >>>> kernel model was set not to compile. The client was was arla client. >>>> Now that both the openafs server and client are supported by the >>>> openafs team I can see no reason why it shouldn't be all in one >>>> port. The port should have separate rc variable to allow the >>>> administrator to only start the client or the server if they choose >>>> to. openafs_client_enable="YES" and openafs_server_enable="YES" for >>>> example. This gets around all the conflicting file problems. The >>>> kernel module need only be loaded if the client is required. This >>>> would seem to be a much easier and cleaner solution. >>> >>> As long as nothing conflicts with arla, I also suggest an all in one >>> installation. Keeps it simple, which is always important. >> >> I'd vote for that myself if and only if we speak about a ports >> subsystem. But there are packages as well. And for those who prefer >> using packages I'd rather give an opportunity. >> >> Said that I propose following ports: >> . net/openafs (server+client) >> . net/openafs-server; >> . net/openafs-client. >> >> One of them will be a master port (I don't figure out which one, >> but that will be either openafs or openafs-server). All of them >> will conflict each other, i.e. only one of them can be installed >> at a machine. >> >> That way we may give all users their chance. >> >> Opinions? Thanks! > > Personally I thinks that is overly complicated. Installing a few > binaries that I don't use is not a big deal. Having three ports for a > server+client system is confusing, especially since it is not very > common practice. I'd vote for one single port, with rc switches to > activate the different parts. Anyway we can't create packages since kernel sources and objs are needed. Then really it's worth having only one port. The default net/openafs installs both server and client. While OPENAFS_SERVER_ONLY and OPENAFS_CLIENT_ONLY do what they should. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 15:24:40 2008 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 AB8001065670 for ; Sat, 13 Dec 2008 15:24:40 +0000 (UTC) (envelope-from shadow@gmail.com) Received: from mail-gx0-f13.google.com (mail-gx0-f13.google.com [209.85.217.13]) by mx1.freebsd.org (Postfix) with ESMTP id 45A458FC23 for ; Sat, 13 Dec 2008 15:24:40 +0000 (UTC) (envelope-from shadow@gmail.com) Received: by gxk6 with SMTP id 6so1449530gxk.11 for ; Sat, 13 Dec 2008 07:24:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=skqXnqT7VNrKoKVWvabbaJZi/FP0HSsMA5DsGgR3Ujc=; b=DmHZX9JauhuS3J3DP53rXXxhaQoTdAWGIXKW/2J05+w4TVroB8h0U1abjIwwNv1514 aUtkEe7apTzoC1XtKmrtYJIaQzSnk//inKMjbVKifn2sXHFdoiCmdmy2RYht8C+35314 P8JXl+s1Nw+rqM3AcOt1OyNE6+g6U2YBjMVpg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=W+8TNkQUac+EvQ0qlCZWKCCZQOBG1X4PiVjyO54BDQfbDF3BBrkuc8L7h6BDaesW+C DlplCWn8AmiJLwDDeSw946VMbd0rGAmevnQVkA0jpoyFddnAoR5lt8OAumIiQso/5od/ rMHv2dtTwaPG0nxhBetCiCoMPHHMITkTIXlmk= Received: by 10.150.156.9 with SMTP id d9mr1765532ybe.46.1229181879653; Sat, 13 Dec 2008 07:24:39 -0800 (PST) Received: by 10.151.153.1 with HTTP; Sat, 13 Dec 2008 07:24:39 -0800 (PST) Message-ID: Date: Sat, 13 Dec 2008 10:24:39 -0500 From: "Derrick Brashear" To: "Boris Samorodov" In-Reply-To: <60600083@bb.ipt.ru> MIME-Version: 1.0 References: <493ACAC4.5020806@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> <20081213004251.GA88954@keira.kiwi-computer.com> <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> <60600083@bb.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Tony Jago , Alec Kloss , "" , "Jason C. Wells" Subject: Re: OpenAFS port 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: Sat, 13 Dec 2008 15:24:40 -0000 I don't believe there are conflicts between client objects, and server objects. An independent client and server port should be possible. But if not, why a metaport and not say openafs-base that both client and server depend on? On Sat, Dec 13, 2008 at 8:19 AM, Boris Samorodov wrote: > Palle Girgensohn writes: > > 13 dec 2008 kl. 03.27 skrev "Tony Jago" : > > > >> I think that we probably don't need more then one port. Yes, I know > >> I was the one what originally proposed the meta port but I have > >> changed my mind :) The reason we had a server and a client port > >> originally was that the server was the only bit working and the > >> kernel model was set not to compile. The client was was arla client. > >> Now that both the openafs server and client are supported by the > >> openafs team I can see no reason why it shouldn't be all in one > >> port. The port should have separate rc variable to allow the > >> administrator to only start the client or the server if they choose > >> to. openafs_client_enable="YES" and openafs_server_enable="YES" for > >> example. This gets around all the conflicting file problems. The > >> kernel module need only be loaded if the client is required. This > >> would seem to be a much easier and cleaner solution. > > > > As long as nothing conflicts with arla, I also suggest an all in one > > installation. Keeps it simple, which is always important. > > I'd vote for that myself if and only if we speak about a ports > subsystem. But there are packages as well. And for those who prefer > using packages I'd rather give an opportunity. > > Said that I propose following ports: > . net/openafs (server+client) > . net/openafs-server; > . net/openafs-client. > > One of them will be a master port (I don't figure out which one, > but that will be either openafs or openafs-server). All of them > will conflict each other, i.e. only one of them can be installed > at a machine. > > That way we may give all users their chance. > > Opinions? Thanks! > > > WBR > -- > Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD committer, http://www.FreeBSD.org The Power To Serve > -- Derrick From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 15:34:56 2008 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 8DEDB1065673 for ; Sat, 13 Dec 2008 15:34:56 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 3C1768FC16 for ; Sat, 13 Dec 2008 15:34:56 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LBWW4-0002dj-KQ; Sat, 13 Dec 2008 18:34:52 +0300 To: "Derrick Brashear" References: <493ACAC4.5020806@linuxbox.com> <22B6C509EF7C4AB0A2D8350C31BB8D5D@valentine> <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> <20081213004251.GA88954@keira.kiwi-computer.com> <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> <60600083@bb.ipt.ru> From: Boris Samorodov Date: Sat, 13 Dec 2008 18:34:52 +0300 In-Reply-To: (Derrick Brashear's message of "Sat\, 13 Dec 2008 10\:24\:39 -0500") Message-ID: <80286435@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Tony Jago , Alec Kloss , "" , "Jason C. Wells" Subject: Re: OpenAFS port 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: Sat, 13 Dec 2008 15:34:56 -0000 "Derrick Brashear" writes: > I don't believe there are conflicts between client objects, and server > objects. An independent client and server port should be possible. They both should install configuration files. Hence, they conflict here. > But if not, why a metaport and not say openafs-base that both client and > server depend on? Well, different ports have sense only if they can be packaged. If not, then use one port with apropriate options. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 15:37:04 2008 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 63742106567F for ; Sat, 13 Dec 2008 15:37:04 +0000 (UTC) (envelope-from shadow@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id E93788FC21 for ; Sat, 13 Dec 2008 15:37:03 +0000 (UTC) (envelope-from shadow@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so825049ywe.13 for ; Sat, 13 Dec 2008 07:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=BqEAFHkRo5sXXqL+yIMVfvcrl39s7289zDWe2/ct9iU=; b=u5YUFov442nzv3fXBnzf063P3qkdtK+/9yXkvTfCEsLQW0oRW0WWwMW9CtYD/KOcxe ZoEuelWLhD24CWmB+20BILyxOrn6EsSqDZvSEcFdqcd/Ac3lpNeiCxdPSi0EkGhPmrpH tyao3HCxhudzAnQdSGbOhHb3kGKqiX/RdLYN0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=kZpJiLMkM+kyZ8HhBLwrQb8LFQS7sw1hZaXjfjGPV/1IAS8jr/2zBbIAEHlIhBzzVM sB+CU0/iSvhPuaezFMtKztya2d1/oY2gDrJW4uZUlEpZ9e8i66j0gCeRWMhUskOazXVq CDrWazHtSUKqlXLn0VoljaejtCUDQcz7Yb+gs= Received: by 10.150.121.6 with SMTP id t6mr8712560ybc.53.1229182623356; Sat, 13 Dec 2008 07:37:03 -0800 (PST) Received: by 10.151.153.1 with HTTP; Sat, 13 Dec 2008 07:37:03 -0800 (PST) Message-ID: Date: Sat, 13 Dec 2008 10:37:03 -0500 From: "Derrick Brashear" To: "Boris Samorodov" In-Reply-To: <80286435@bb.ipt.ru> MIME-Version: 1.0 References: <493ACAC4.5020806@linuxbox.com> <26695644@bb.ipt.ru> <20081213004251.GA88954@keira.kiwi-computer.com> <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> <60600083@bb.ipt.ru> <80286435@bb.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Tony Jago , Alec Kloss , "" , "Jason C. Wells" Subject: Re: OpenAFS port 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: Sat, 13 Dec 2008 15:37:04 -0000 On Sat, Dec 13, 2008 at 10:34 AM, Boris Samorodov wrote: > "Derrick Brashear" writes: > > > I don't believe there are conflicts between client objects, and server > > objects. An independent client and server port should be possible. > > They both should install configuration files. Hence, they conflict > here. > Server and client use separate configuration, unless it's stuff *you added*, and then it's a choice you made, OpenAFS itself doesn't have that issue. In the old transarc-style universe, /usr/afs/etc versus /usr/vice/etc From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 15:44:11 2008 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 9793510657D6 for ; Sat, 13 Dec 2008 15:44:10 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id BE2B98FC14 for ; Sat, 13 Dec 2008 15:44:01 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LBWem-0002le-Pp; Sat, 13 Dec 2008 18:43:52 +0300 To: "Derrick Brashear" References: <493ACAC4.5020806@linuxbox.com> <26695644@bb.ipt.ru> <20081213004251.GA88954@keira.kiwi-computer.com> <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> <60600083@bb.ipt.ru> <80286435@bb.ipt.ru> From: Boris Samorodov Date: Sat, 13 Dec 2008 18:43:52 +0300 In-Reply-To: (Derrick Brashear's message of "Sat\, 13 Dec 2008 10\:37\:03 -0500") Message-ID: <14205895@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Tony Jago , Alec Kloss , "" , "Jason C. Wells" Subject: Re: OpenAFS port 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: Sat, 13 Dec 2008 15:44:11 -0000 "Derrick Brashear" writes: > On Sat, Dec 13, 2008 at 10:34 AM, Boris Samorodov wrote: >> "Derrick Brashear" writes: >> >> > I don't believe there are conflicts between client objects, and server >> > objects. An independent client and server port should be possible. >> >> They both should install configuration files. Hence, they conflict >> here. > > Server and client use separate configuration, unless it's stuff *you added*, > and then it's a choice you made, OpenAFS itself doesn't have that issue. In > the old transarc-style universe, /usr/afs/etc versus /usr/vice/etc FreeBSD uses /usr/local/etc for all third-party configuration files, Both for servers and clients. So at least CellServDB and ThisCell should be dealed/installed by both. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 15:50:38 2008 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 90D341065676 for ; Sat, 13 Dec 2008 15:50:38 +0000 (UTC) (envelope-from shadow@gmail.com) Received: from mail-gx0-f12.google.com (mail-gx0-f12.google.com [209.85.217.12]) by mx1.freebsd.org (Postfix) with ESMTP id 2416A8FC1A for ; Sat, 13 Dec 2008 15:50:37 +0000 (UTC) (envelope-from shadow@gmail.com) Received: by gxk5 with SMTP id 5so1378782gxk.19 for ; Sat, 13 Dec 2008 07:50:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=J0/dOOaauqPUtOrR7G0+dELWm2zPx5nhY4dzDylS8H4=; b=VDEHWYOYVppJ2eEhjzCb7au+DKv6mlL5sdmgoJdRtxVkTSolm3GRNmImRtybBb11Lh mqngu2whiRcFKSMAO3iVwdIrVLaTc924nFnhRRQ6/vL6Bxyv4xptqEFsiqvYtHMDPowG myedt/xlJgFhA0No6yA+sUL2NokQaYWVV21yk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=EOVFcw8G0XfKu+VjjIs8RHbbWVUtkQ+9fzWRb8fSGBSiMuDR6p2CT9ujI1eHyG0gA8 50+YiU06JDJWJAPmAufE7snLS4d0N5DUCPnwkyb6ucEdTnDFHuUmf8JCi44DNVaShzUb RmFw/ym72UTCAQWHL7EEnuFUochoH9PcpoyMU= Received: by 10.151.144.4 with SMTP id w4mr8639334ybn.244.1229183437234; Sat, 13 Dec 2008 07:50:37 -0800 (PST) Received: by 10.151.153.1 with HTTP; Sat, 13 Dec 2008 07:50:37 -0800 (PST) Message-ID: Date: Sat, 13 Dec 2008 10:50:37 -0500 From: "Derrick Brashear" To: "Boris Samorodov" In-Reply-To: <14205895@bb.ipt.ru> MIME-Version: 1.0 References: <493ACAC4.5020806@linuxbox.com> <20081213004251.GA88954@keira.kiwi-computer.com> <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> <60600083@bb.ipt.ru> <80286435@bb.ipt.ru> <14205895@bb.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Tony Jago , Alec Kloss , "" , "Jason C. Wells" Subject: Re: OpenAFS port 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: Sat, 13 Dec 2008 15:50:38 -0000 On Sat, Dec 13, 2008 at 10:43 AM, Boris Samorodov wrote: > "Derrick Brashear" writes: > > On Sat, Dec 13, 2008 at 10:34 AM, Boris Samorodov wrote: > >> "Derrick Brashear" writes: > >> > >> > I don't believe there are conflicts between client objects, and server > >> > objects. An independent client and server port should be possible. > >> > >> They both should install configuration files. Hence, they conflict > >> here. > > > > Server and client use separate configuration, unless it's stuff *you > added*, > > and then it's a choice you made, OpenAFS itself doesn't have that issue. > In > > the old transarc-style universe, /usr/afs/etc versus /usr/vice/etc > > FreeBSD uses /usr/local/etc for all third-party configuration files, > Both for servers and clients. So at least CellServDB and ThisCell > should be dealed/installed by both. > That's bad. Actually, it's horrible. It means you force a server to be in the same AFS cell as a client, whereas it's valid and I have done a client in one cell as a server in another. From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 16:00:16 2008 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 B3FF61065675 for ; Sat, 13 Dec 2008 16:00:16 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 607AF8FC12 for ; Sat, 13 Dec 2008 16:00:16 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LBWua-0002yr-Tv; Sat, 13 Dec 2008 19:00:13 +0300 To: "Derrick Brashear" References: <493ACAC4.5020806@linuxbox.com> <20081213004251.GA88954@keira.kiwi-computer.com> <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> <60600083@bb.ipt.ru> <80286435@bb.ipt.ru> <14205895@bb.ipt.ru> From: Boris Samorodov Date: Sat, 13 Dec 2008 19:00:12 +0300 In-Reply-To: (Derrick Brashear's message of "Sat\, 13 Dec 2008 10\:50\:37 -0500") Message-ID: <48124915@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Tony Jago , Alec Kloss , "" , "Jason C. Wells" Subject: Re: OpenAFS port 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: Sat, 13 Dec 2008 16:00:16 -0000 "Derrick Brashear" writes: > On Sat, Dec 13, 2008 at 10:43 AM, Boris Samorodov wrote: >> "Derrick Brashear" writes: >> > On Sat, Dec 13, 2008 at 10:34 AM, Boris Samorodov wrote: >> >> "Derrick Brashear" writes: >> >> >> >> > I don't believe there are conflicts between client objects, and server >> >> > objects. An independent client and server port should be possible. >> >> >> >> They both should install configuration files. Hence, they conflict >> >> here. >> > >> > Server and client use separate configuration, unless it's stuff *you >> added*, >> > and then it's a choice you made, OpenAFS itself doesn't have that issue. >> In >> > the old transarc-style universe, /usr/afs/etc versus /usr/vice/etc >> >> FreeBSD uses /usr/local/etc for all third-party configuration files, >> Both for servers and clients. So at least CellServDB and ThisCell >> should be dealed/installed by both. > > That's bad. Actually, it's horrible. It means you force a server to be in > the same AFS cell as a client, whereas it's valid and I have done a client > in one cell as a server in another. Is it a typical configuration? OK, let's find out what we can do here. Is it possible to configure a client/server software to use non-default values? Say, ETCBASE/openafs-client/* and ETCBASE/openafs-server/*? But next, what to do with krb.conf? Seems there is no possibility to use different kerberos configuration file for client and server. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 16:02:35 2008 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 07DE21065670 for ; Sat, 13 Dec 2008 16:02:35 +0000 (UTC) (envelope-from shadow@gmail.com) Received: from mail-gx0-f12.google.com (mail-gx0-f12.google.com [209.85.217.12]) by mx1.freebsd.org (Postfix) with ESMTP id 927108FC13 for ; Sat, 13 Dec 2008 16:02:34 +0000 (UTC) (envelope-from shadow@gmail.com) Received: by gxk5 with SMTP id 5so1381358gxk.19 for ; Sat, 13 Dec 2008 08:02:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=1MF4L0OISYQ3Yye2GdqNLjTzn+r8ONA2FNdZMjPlSPM=; b=t2vxCBzeFrzilZcYsMfm4T3f6c137cYEwZpHjcJ5CHGAS/hEXJRcWcdeK6FttmfxOi RCuW5tHTarrq+w3R54SjBUY3k/jiRCuPuCpVGb1ysA0PTpq/KVgbA4UufeBSkFMGxUVv xLnDcHe4q/MtHKJjAa25WTwxEts5nhrm6Eds8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=GsinK7+Kp+grTO0G8pqJNNz9mM9opwSv92j/DfMVX2//a7PvEL0i2FDtjAjW05Cx2Z 02xNypK44/TIu7gdYJZc7QzSf2+b9qKC32auqLlVPSvQrszD4/rh0g6Ep528e53UYbri HRvZmxCqiOf7N0zVZ1Q3p/J9W9ILCPEcjXMuI= Received: by 10.151.155.5 with SMTP id h5mr8618320ybo.133.1229184153483; Sat, 13 Dec 2008 08:02:33 -0800 (PST) Received: by 10.151.153.1 with HTTP; Sat, 13 Dec 2008 08:02:33 -0800 (PST) Message-ID: Date: Sat, 13 Dec 2008 11:02:33 -0500 From: "Derrick Brashear" To: "Boris Samorodov" In-Reply-To: <48124915@bb.ipt.ru> MIME-Version: 1.0 References: <493ACAC4.5020806@linuxbox.com> <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> <60600083@bb.ipt.ru> <80286435@bb.ipt.ru> <14205895@bb.ipt.ru> <48124915@bb.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Tony Jago , Alec Kloss , "" , "Jason C. Wells" Subject: Re: OpenAFS port 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: Sat, 13 Dec 2008 16:02:35 -0000 > > > That's bad. Actually, it's horrible. It means you force a server to be in > > the same AFS cell as a client, whereas it's valid and I have done a > client > > in one cell as a server in another. > > Is it a typical configuration? > Doesn't matter. Your proposed configuration precludes it from working even in an atypical configuration, which means "yopu're doing it wrong". > > OK, let's find out what we can do here. Is it possible to configure > a client/server software to use non-default values? Say, > ETCBASE/openafs-client/* and ETCBASE/openafs-server/*? > You could do that. And now we're back to "can be installed independently", which was the point in the first place, since it's compile time, and you are either doing that, or not. > > But next, what to do with krb.conf? Seems there is no possibility > to use different kerberos configuration file for client and server. > Only the server uses a krb.conf at all. From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 16:10:25 2008 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 7A4A01065672 for ; Sat, 13 Dec 2008 16:10:25 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id 45C568FC1C for ; Sat, 13 Dec 2008 16:10:25 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1945177wfg.7 for ; Sat, 13 Dec 2008 08:10:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=SGvaqn8ZuyKpMVoBqEmPNcHcta+eGbrpiqlA88wrzwk=; b=xV1SalHWWUziUxDGGeLXhe72MWUYwgKO5sHHxYXus3El0ZHX0M0CHBTIK/mDNcVhiU rRbIp4poVsYs80pDI2dk3Qe9D7SA6DWMN8HXlByKCIVFXtFdpQEDWGi0IuhgHm6YM4lt X3JRfxhACxgZgx7kEOKzQYaOwIGgqzsTPsaKU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=PEqbLtSLDiyB/ckndfojsBlJTzvlYr1xr6KunN2KvJNnkx+ign+Qtkj3wgFaI815iM /8/8FPkij8wWi//ACt1yFXfkT/dF2U7d7iBMMtJjKW1A416KHaJYdE4Xi0DaWKdEQwD8 vUEXmvtMtNEUapE9C4BLgCU96dYIdW4sZHaHA= Received: by 10.142.169.4 with SMTP id r4mr1917288wfe.105.1229184625001; Sat, 13 Dec 2008 08:10:25 -0800 (PST) Received: by 10.143.115.5 with HTTP; Sat, 13 Dec 2008 08:10:24 -0800 (PST) Message-ID: <47d0403c0812130810r1bd04945k77101439bc97260@mail.gmail.com> Date: Sat, 13 Dec 2008 11:10:24 -0500 From: "Ben Kaduk" To: "Derrick Brashear" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <493ACAC4.5020806@linuxbox.com> <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> <60600083@bb.ipt.ru> <80286435@bb.ipt.ru> <14205895@bb.ipt.ru> <48124915@bb.ipt.ru> Cc: Tony Jago , Alec Kloss , "" , "Jason C. Wells" Subject: Re: OpenAFS port 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: Sat, 13 Dec 2008 16:10:25 -0000 On Sat, Dec 13, 2008 at 11:02 AM, Derrick Brashear wrote: >> >> >> OK, let's find out what we can do here. Is it possible to configure >> a client/server software to use non-default values? Say, >> ETCBASE/openafs-client/* and ETCBASE/openafs-server/*? >> > > You could do that. And now we're back to "can be installed independently", > which was the point in the first place, since it's compile time, and you are > either doing that, or not. I think I would prefer ETCBASE/openafs/client and ETCBASE/openafs/server, but either one is fine. This separation does mean that they can be installed independently, but I don't see anything in it that prevents _either_ option, the "one port with configure options for what to install" or the "separate ports for the separate client and server". -Ben Kaduk From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 16:15:55 2008 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 C2A061065670 for ; Sat, 13 Dec 2008 16:15:55 +0000 (UTC) (envelope-from shadow@gmail.com) Received: from mail-gx0-f22.google.com (mail-gx0-f22.google.com [209.85.217.22]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1C88FC16 for ; Sat, 13 Dec 2008 16:15:55 +0000 (UTC) (envelope-from shadow@gmail.com) Received: by gxk3 with SMTP id 3so1042484gxk.19 for ; Sat, 13 Dec 2008 08:15:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=YG5ofnvuq4E8wcctGl+TZU/gxERppm09rpWRLYDS6pw=; b=OyUQmLhkcpXvIh/ybye1Ja+7V1p/CoWulYkpr6DFa+85BJI/v2voF8zPi3A8r72qmA DbvLuVkYfzNW6imckW5OtaM3bRm+eq4YD0Ey6VAxir6wK6L7mUInA6TtWaxHpTOeGsA/ ohwitgWq0Ty/OIthMuFobg0HbLlxxygq2nXo8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=OXHAt7I3QPpMfIVpSHEKbjatplsZBs7MQCn3NYtC+C7QlkIKjLgJ6U0m6UgoHeA+VM O2raLXEczej1qRDz/rHWiZGEJBsTb/QtIfDOLaZ7aFheUAPgBn7wH+D3Xb3IsH9ITA4d kfpjIuw9MmJtPz7C2bnW5A6s4xu2OarBep1ms= Received: by 10.150.92.10 with SMTP id p10mr8786444ybb.45.1229184954069; Sat, 13 Dec 2008 08:15:54 -0800 (PST) Received: by 10.151.153.1 with HTTP; Sat, 13 Dec 2008 08:15:54 -0800 (PST) Message-ID: Date: Sat, 13 Dec 2008 11:15:54 -0500 From: "Derrick Brashear" To: "Ben Kaduk" In-Reply-To: <47d0403c0812130810r1bd04945k77101439bc97260@mail.gmail.com> MIME-Version: 1.0 References: <493ACAC4.5020806@linuxbox.com> <60600083@bb.ipt.ru> <80286435@bb.ipt.ru> <14205895@bb.ipt.ru> <48124915@bb.ipt.ru> <47d0403c0812130810r1bd04945k77101439bc97260@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Tony Jago , Alec Kloss , "" , "Jason C. Wells" Subject: Re: OpenAFS port 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: Sat, 13 Dec 2008 16:15:55 -0000 On Sat, Dec 13, 2008 at 11:10 AM, Ben Kaduk wrote: > On Sat, Dec 13, 2008 at 11:02 AM, Derrick Brashear > wrote: > >> > >> > >> OK, let's find out what we can do here. Is it possible to configure > >> a client/server software to use non-default values? Say, > >> ETCBASE/openafs-client/* and ETCBASE/openafs-server/*? > >> > > > > You could do that. And now we're back to "can be installed > independently", > > which was the point in the first place, since it's compile time, and you > are > > either doing that, or not. > > I think I would prefer ETCBASE/openafs/client and > ETCBASE/openafs/server, but either one is fine. > > This separation does mean that they can be installed > independently, but I don't see anything in it that > prevents _either_ option, the "one port with configure > options for what to install" or the "separate ports for > the separate client and server". > Sorry, I didn't mean you were locked into 2 ports, but rather that once you got this far you were not locked out of it. > > -Ben Kaduk > -- Derrick From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 16:23:32 2008 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 759EE1065670 for ; Sat, 13 Dec 2008 16:23:32 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 23F9B8FC14 for ; Sat, 13 Dec 2008 16:23:32 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LBXH6-0003Gy-Oz; Sat, 13 Dec 2008 19:23:28 +0300 To: "Derrick Brashear" References: <493ACAC4.5020806@linuxbox.com> <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> <60600083@bb.ipt.ru> <80286435@bb.ipt.ru> <14205895@bb.ipt.ru> <48124915@bb.ipt.ru> From: Boris Samorodov Date: Sat, 13 Dec 2008 19:23:28 +0300 In-Reply-To: (Derrick Brashear's message of "Sat\, 13 Dec 2008 11\:02\:33 -0500") Message-ID: <82043519@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Tony Jago , Alec Kloss , "" , "Jason C. Wells" Subject: Re: OpenAFS port 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: Sat, 13 Dec 2008 16:23:32 -0000 "Derrick Brashear" writes: >> > That's bad. Actually, it's horrible. It means you force a server to be in >> > the same AFS cell as a client, whereas it's valid and I have done a >> client >> > in one cell as a server in another. >> >> Is it a typical configuration? > > Doesn't matter. Your proposed configuration precludes it from working even > in an atypical configuration, which means "yopu're doing it wrong". That was a curious-like question, not defending my point of view. >> OK, let's find out what we can do here. Is it possible to configure >> a client/server software to use non-default values? Say, >> ETCBASE/openafs-client/* and ETCBASE/openafs-server/*? > > You could do that. And now we're back to "can be installed independently", > which was the point in the first place, since it's compile time, and you are > either doing that, or not. I'll do whatever the right thing is. ;-) That's why I ask. Seems that client may be configured while executing, i.e. changing only an rc script. >> But next, what to do with krb.conf? Seems there is no possibility >> to use different kerberos configuration file for client and server. > > Only the server uses a krb.conf at all. OK, good to know. Thanks for your help. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 17:20:21 2008 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 CF3BD1065672 for ; Sat, 13 Dec 2008 17:20:21 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id 588D58FC24 for ; Sat, 13 Dec 2008 17:20:21 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 96832 invoked by uid 2001); 13 Dec 2008 17:20:19 -0000 Date: Sat, 13 Dec 2008 11:20:19 -0600 From: "Rick C. Petty" To: Boris Samorodov Message-ID: <20081213172019.GA96721@keira.kiwi-computer.com> References: <57098597@bb.ipt.ru> <26695644@bb.ipt.ru> <20081213004251.GA88954@keira.kiwi-computer.com> <42451957-717C-4CA3-97D9-E2ACABE55E34@pingpong.net> <60600083@bb.ipt.ru> <46367482@bb.ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46367482@bb.ipt.ru> User-Agent: Mutt/1.4.2.3i Cc: Tony Jago , Alec Kloss , "" , "Jason C. Wells" Subject: Re: OpenAFS port X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd2008@kiwi-computer.com List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 17:20:21 -0000 On Sat, Dec 13, 2008 at 06:17:25PM +0300, Boris Samorodov wrote: > > > Personally I thinks that is overly complicated. Installing a few > > binaries that I don't use is not a big deal. Having three ports for a > > server+client system is confusing, especially since it is not very > > common practice. I'd vote for one single port, with rc switches to > > activate the different parts. > > Anyway we can't create packages since kernel sources and objs are > needed. Then really it's worth having only one port. The default > net/openafs installs both server and client. While OPENAFS_SERVER_ONLY > and OPENAFS_CLIENT_ONLY do what they should. I like the single-port idea the best, and use the OPENAFS_*_ONLY variables to disable one half. I agree with others that three ports is unnecessarily complicated. Unless there's really a technical reason to separate ports that can't be worked around, I vote: one port. Thank you for your efforts! -- Rick C. Petty From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 17:38:01 2008 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 1A0FC1065676 for ; Sat, 13 Dec 2008 17:38:01 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id CA20A8FC0C for ; Sat, 13 Dec 2008 17:38:00 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LBYRD-0004DA-Eq for freebsd-afs@FreeBSD.org; Sat, 13 Dec 2008 20:37:59 +0300 To: freebsd-afs@FreeBSD.org From: Boris Samorodov Date: Sat, 13 Dec 2008 20:37:59 +0300 Message-ID: <94529048@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Configuration files structure for openafs port(s) 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: Sat, 13 Dec 2008 17:38:01 -0000 Hello List, here is a proposed coniguration files structure for openafs port(s): ----- PREFIX=/usr/local ETCBASE=${PREFIX}/etc AFSCONFDIR=${ETCBASE}/openafs AFSCLIENTCONFDIR=${AFSCONFDIR}/client #should this be named VICEETC? AFSSERVERCONFDIR=${AFSCONFDIR}/server #is there a historical variable? ----- WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 19:22:39 2008 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 DCC741065676 for ; Sat, 13 Dec 2008 19:22:39 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id AFF5E8FC1F for ; Sat, 13 Dec 2008 19:22:39 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2012159wfg.7 for ; Sat, 13 Dec 2008 11:22:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=JxamsnBh0vMVUvfQwQfs0MBVeowdqI/R8Fo8aXFC9p4=; b=GYLLyniR/KBYOAAgFXXeWQfmHI3ByYCb0kmPdikEP2teWp3jo1Cf+Zi0lUVuR6B9lq Jw1dvdIUJMNRSTVypb4sfi4fclkcYwN0uf/PuIgcB8J3xMhyh3P4UluPN7P9mWi9ICWD rv2m2Zs5L+vjSWnXGn0uwRmlFwlwXpKTIYcZU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=RbEPCanaSgnjY7p9CjSXJ6+PxfzcoUyIKMt1kJ6eNNn2clkrrG1q21b/gusmIa5yNu FLWJQAXTHEtQSebK4YXraiLjqRLJlzqC+SMN6RFv9zIp9dcIXxb/CqjnWT29oXY+a+zv E0QIH1Qc+0jzcXbOeMaQ6EgCm8y/YQXBvgSlo= Received: by 10.142.153.8 with SMTP id a8mr1987559wfe.83.1229196158834; Sat, 13 Dec 2008 11:22:38 -0800 (PST) Received: by 10.143.115.5 with HTTP; Sat, 13 Dec 2008 11:22:38 -0800 (PST) Message-ID: <47d0403c0812131122x82adfddu537d2be603869ad7@mail.gmail.com> Date: Sat, 13 Dec 2008 14:22:38 -0500 From: "Ben Kaduk" To: "Boris Samorodov" In-Reply-To: <94529048@bb.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <94529048@bb.ipt.ru> Cc: freebsd-afs@freebsd.org Subject: Re: Configuration files structure for openafs port(s) 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: Sat, 13 Dec 2008 19:22:39 -0000 On Sat, Dec 13, 2008 at 12:37 PM, Boris Samorodov wrote: > Hello List, > > > here is a proposed coniguration files structure for openafs port(s): > ----- > PREFIX=/usr/local > ETCBASE=${PREFIX}/etc > AFSCONFDIR=${ETCBASE}/openafs > AFSCLIENTCONFDIR=${AFSCONFDIR}/client #should this be named VICEETC? > AFSSERVERCONFDIR=${AFSCONFDIR}/server #is there a historical variable? > ----- That seems reasonable to me. I pulled your port from ftp://ftp.ipt.ru/pub/tmp/openafs.shar and I removed "--disable-kernel-module" from the Makefile on a recent -current system. The build will take a couple hours, but I did notice that we will probably need to add a --with-bsd-kernel-build line in the Makefile that defaults to /usr/obj/usr/src/sys/GENERIC but can be overridden for those of use with custom kernel configs. -Ben Kaduk From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 19:44:08 2008 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 AB61A1065672 for ; Sat, 13 Dec 2008 19:44:08 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 5F1258FC25 for ; Sat, 13 Dec 2008 19:44:08 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1LBaPG-000I3N-CR; Sat, 13 Dec 2008 22:44:06 +0300 Received: from bsam by bs1.sp34.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LBaPG-0000KX-5v; Sat, 13 Dec 2008 22:44:06 +0300 To: "Ben Kaduk" References: <94529048@bb.ipt.ru> <47d0403c0812131122x82adfddu537d2be603869ad7@mail.gmail.com> From: Boris Samorodov Date: Sat, 13 Dec 2008 22:44:06 +0300 In-Reply-To: <47d0403c0812131122x82adfddu537d2be603869ad7@mail.gmail.com> (Ben Kaduk's message of "Sat\, 13 Dec 2008 14\:22\:38 -0500") Message-ID: <94513977@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cc: freebsd-afs@freebsd.org Subject: Re: Configuration files structure for openafs port(s) 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: Sat, 13 Dec 2008 19:44:08 -0000 "Ben Kaduk" writes: > On Sat, Dec 13, 2008 at 12:37 PM, Boris Samorodov wrote: >> Hello List, >> >> >> here is a proposed coniguration files structure for openafs port(s): >> ----- >> PREFIX=3D/usr/local >> ETCBASE=3D${PREFIX}/etc >> AFSCONFDIR=3D${ETCBASE}/openafs >> AFSCLIENTCONFDIR=3D${AFSCONFDIR}/client #should this be named VICEETC? >> AFSSERVERCONFDIR=3D${AFSCONFDIR}/server #is there a historical variable? >> ----- > > That seems reasonable to me. OK. > I pulled your port from ftp://ftp.ipt.ru/pub/tmp/openafs.shar > and I removed "--disable-kernel-module" from the Makefile > on a recent -current system. I get an error on -current system when building client: ----- ... touch MODLOAD/sec_net.h cd MODLOAD ; echo make DESTDIR=3D single_compdir_libafs; make DESTDIR=3D = single_compdir_libafs make DESTDIR=3D single_compdir_libafs ... cc -I. -I.. -I../nfs -I/work/a/ports/net/openafs/work/openafs-1.4.8/src -= I/work/a/ports/net/openafs/work/openafs-1.4.8/src/afs -I/work/a/ports/net/= openafs/work/openafs-1.4.8/src/afs/FBSD -I/work/a/ports/net/openafs/work/o= penafs-1.4.8/src/config -I/work/a/ports/net/openafs/work/openafs-1.4.8/src= /rx/FBSD -I/work/a/ports/net/openafs/work/openafs-1.4.8/src/rxkad -I/work= /a/ports/net/openafs/work/openafs-1.4.8/src/rxkad/domestic -I/work/a/ports= /net/openafs/work/openafs-1.4.8/src/util -I/work/a/ports/net/openafs/work/= openafs-1.4.8/src -I/work/a/ports/net/openafs/work/openafs-1.4.8/src/afs = -I/work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/FBSD -I/work/a/port= s/net/openafs/work/openafs-1.4.8/src/util -I/work/a/ports/net/openafs/work= /openafs-1.4.8/src/rxkad -I/work/a/ports/net/openafs/work/openafs-1.4.8/sr= c/config -I/work/a/ports/net/openafs/work/openafs-1.4.8/src/fsint -I/work= /a/ports/net/openafs/work/openafs-1.4.8/src/vlserver -I/work/a/ports/net/o= penafs/work/openafs-1.4.8/include -I/work/a/ports/net/openafs/work/openafs= -1.4.8/include/afs -O -I. -I.. -I/work/a/ports/net/openafs/work/openafs-1.= 4.8/src/config -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA= -DGETMOUNT -Wall -nostdinc -I/usr/include -D_KERNEL -DKLD_MODULE -elf -m= no-align-long-strings -fformat-extensions -fno-common -ffreestanding -I/a/= ports/net/openafs/files -include opt_global.h -fno-strict-aliasing -O2 -o= afs_vcache.o -c /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_v= cache.c /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_vcache.c: In funct= ion 'afs_FlushReclaimedVcaches': /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_vcache.c:602: warn= ing: format '%x' expects type 'unsigned int', but argument 2 has type 'stru= ct vcache *' /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_vcache.c: In funct= ion 'afs_GetVCache': /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_vcache.c:1840: war= ning: passing argument 3 of 'vinvalbuf' makes integer from pointer without = a cast /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_vcache.c:1840: err= or: too many arguments to function 'vinvalbuf' /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_vcache.c: In funct= ion 'afs_NFSFindVCache': /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_vcache.c:2820: war= ning: unused variable 'lock' *** Error code 1 Stop in /work/a/ports/net/openafs/work/openafs-1.4.8/src/libafs/MODLOAD. *** Error code 1 ----- > The build will take a couple hours, You should use and ancient machine... I's say that some 10-15 minutes are more reasonable. > but I did notice that we will probably need to add a > --with-bsd-kernel-build line in the Makefile that defaults to > /usr/obj/usr/src/sys/GENERIC but can be overridden for > those of use with custom kernel configs. Yes, I do it for experimental (not published yet) openafs port with client support. Thanks for your feedback. WBR --=20 Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 20:00:46 2008 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 162851065673 for ; Sat, 13 Dec 2008 20:00:46 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id DC9708FC1E for ; Sat, 13 Dec 2008 20:00:45 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2022876wfg.7 for ; Sat, 13 Dec 2008 12:00:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=soYLsP5cFMQcYoAauzI63Kjadbx0Kt1OI45WnLnVWkA=; b=cZkgWg/rJ8JNPYoiXFcsksyaviW3yNU7fn5Y6USkeXOK6aW2DJreGT42yeLEbj97ZD y2xzyyC3M5mEByfI5tTRO0isVGnwJFp8bJjfDnoH0e7rPPOLaBXQqzhoTvEDIa9VuCf+ Vk1EmgpbAqWsxECxBldrNJu5eEmMmJeQXNGRg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Z0vAsMoNxBtf7cbKgpNzF2FCGM12bSk7SF8BCjVWbgyKNUF3sMed5AvEEQTrtPNSas nJioY+b98N1s88juCT+8q08Nkr3CKp4L6M2CnuJrfaY4n+18q1Nq12DDvql7yoOzy8YC uZUDlkQiHCK9KNvkjKW1TLrG6N93EIzpmhVAE= Received: by 10.142.207.8 with SMTP id e8mr1996949wfg.65.1229198444843; Sat, 13 Dec 2008 12:00:44 -0800 (PST) Received: by 10.143.115.5 with HTTP; Sat, 13 Dec 2008 12:00:44 -0800 (PST) Message-ID: <47d0403c0812131200w4fb9b4aekfb392e2356807826@mail.gmail.com> Date: Sat, 13 Dec 2008 15:00:44 -0500 From: "Ben Kaduk" To: "Boris Samorodov" In-Reply-To: <94513977@bs1.sp34.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <94529048@bb.ipt.ru> <47d0403c0812131122x82adfddu537d2be603869ad7@mail.gmail.com> <94513977@bs1.sp34.ru> Cc: freebsd-afs@freebsd.org Subject: Re: Configuration files structure for openafs port(s) 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: Sat, 13 Dec 2008 20:00:46 -0000 On Sat, Dec 13, 2008 at 2:44 PM, Boris Samorodov wrote: > "Ben Kaduk" writes: >> On Sat, Dec 13, 2008 at 12:37 PM, Boris Samorodov wrote: >>> Hello List, >>> >>> >>> here is a proposed coniguration files structure for openafs port(s): >>> ----- >>> PREFIX=3D/usr/local >>> ETCBASE=3D${PREFIX}/etc >>> AFSCONFDIR=3D${ETCBASE}/openafs >>> AFSCLIENTCONFDIR=3D${AFSCONFDIR}/client #should this be named VICEETC? >>> AFSSERVERCONFDIR=3D${AFSCONFDIR}/server #is there a historical variabl= e? >>> ----- >> >> That seems reasonable to me. > > OK. > >> I pulled your port from ftp://ftp.ipt.ru/pub/tmp/openafs.shar >> and I removed "--disable-kernel-module" from the Makefile >> on a recent -current system. > > I get an error on -current system when building client: > ----- > ... > touch MODLOAD/sec_net.h > cd MODLOAD ; echo make DESTDIR=3D single_compdir_libafs; make DESTDIR= =3D single_compdir_libafs > make DESTDIR=3D single_compdir_libafs > ... > cc -I. -I.. -I../nfs -I/work/a/ports/net/openafs/work/openafs-1.4.8/src = -I/work/a/ports/net/openafs/work/openafs-1.4.8/src/afs -I/work/a/ports/ne= t/openafs/work/openafs-1.4.8/src/afs/FBSD -I/work/a/ports/net/openafs/work= /openafs-1.4.8/src/config -I/work/a/ports/net/openafs/work/openafs-1.4.8/s= rc/rx/FBSD -I/work/a/ports/net/openafs/work/openafs-1.4.8/src/rxkad -I/wo= rk/a/ports/net/openafs/work/openafs-1.4.8/src/rxkad/domestic -I/work/a/por= ts/net/openafs/work/openafs-1.4.8/src/util -I/work/a/ports/net/openafs/wor= k/openafs-1.4.8/src -I/work/a/ports/net/openafs/work/openafs-1.4.8/src/afs= -I/work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/FBSD -I/work/a/po= rts/net/openafs/work/openafs-1.4.8/src/util -I/work/a/ports/net/openafs/wo= rk/openafs-1.4.8/src/rxkad -I/work/a/ports/net/openafs/work/openafs-1.4.8/= src/config -I/work/a/ports/net/openafs/work/openafs-1.4.8/src/fsint -I/wo= rk/a/ports/net/openafs/work/openafs-1.4.8/src/vlserver -I/work/a/ports/net= /openafs/work/openafs-1.4.8/include -I/work/a/ports/net/openafs/work/opena= fs-1.4.8/include/afs -O -I. -I.. -I/work/a/ports/net/openafs/work/openafs-= 1.4.8/src/config -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUO= TA -DGETMOUNT -Wall -nostdinc -I/usr/include -D_KERNEL -DKLD_MODULE -elf = -mno-align-long-strings -fformat-extensions -fno-common -ffreestanding -I/= a/ports/net/openafs/files -include opt_global.h -fno-strict-aliasing -O2 = -o afs_vcache.o -c /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs= _vcache.c > /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_vcache.c: In fun= ction 'afs_FlushReclaimedVcaches': > /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_vcache.c:602: wa= rning: format '%x' expects type 'unsigned int', but argument 2 has type 'st= ruct vcache *' > /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_vcache.c: In fun= ction 'afs_GetVCache': > /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_vcache.c:1840: w= arning: passing argument 3 of 'vinvalbuf' makes integer from pointer withou= t a cast > /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_vcache.c:1840: e= rror: too many arguments to function 'vinvalbuf' > /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_vcache.c: In fun= ction 'afs_NFSFindVCache': > /work/a/ports/net/openafs/work/openafs-1.4.8/src/afs/afs_vcache.c:2820: w= arning: unused variable 'lock' > *** Error code 1 > > Stop in /work/a/ports/net/openafs/work/openafs-1.4.8/src/libafs/MODLOAD. > *** Error code 1 > ----- > Yes, I see that the prototype of vinvalbuf has changed in current, recently --- the "curthread" argument should be removed. > >> but I did notice that we will probably need to add a >> --with-bsd-kernel-build line in the Makefile that defaults to >> /usr/obj/usr/src/sys/GENERIC but can be overridden for >> those of use with custom kernel configs. > > Yes, I do it for experimental (not published yet) openafs port > with client support. Ah, thanks! > > Thanks for your feedback. You're welcome; thanks for working on the port, I'm really excited about i= t. Hm, letting my compile continue, it seems that there will be more errors to deal with. I will try to batch future updates. -Ben Kaduk From owner-freebsd-afs@FreeBSD.ORG Sat Dec 13 22:57:20 2008 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 5DCFD106564A for ; Sat, 13 Dec 2008 22:57:20 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 166778FC18 for ; Sat, 13 Dec 2008 22:57:20 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1LBdQE-000J0t-St for freebsd-afs@FreeBSD.org; Sun, 14 Dec 2008 01:57:18 +0300 Received: from bsam by bs1.sp34.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LBdQE-0000SB-AX for freebsd-afs@FreeBSD.org; Sun, 14 Dec 2008 01:57:18 +0300 To: freebsd-afs@FreeBSD.org From: Boris Samorodov Date: Sun, 14 Dec 2008 01:57:18 +0300 Message-ID: <37396849@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Is afsd only a client file 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: Sat, 13 Dec 2008 22:57:20 -0000 Hello List, seems that the file "afsd" belongs to client part. But it compiles and installs even when "--disable-kernel-module" option is used. Should I prevent this file to be installed by openafs-sever port? Maybe a better question: is there an option which prevents this file from building/installing? WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve