From owner-freebsd-afs@FreeBSD.ORG Tue Dec 16 13:47: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 CC404106567B for ; Tue, 16 Dec 2008 13:47:56 +0000 (UTC) (envelope-from elbarto@arcadebsd.org) Received: from mail.arcadebsd.org (sd-16356.dedibox.fr [88.191.88.233]) by mx1.freebsd.org (Postfix) with ESMTP id 951828FC1C for ; Tue, 16 Dec 2008 13:47:56 +0000 (UTC) (envelope-from elbarto@arcadebsd.org) Received: from [192.168.0.1] (home.elbarto.org [82.229.222.193]) (Authenticated sender: elbarto) by mail.arcadebsd.org (Postfix) with ESMTPA id AE471341AA; Tue, 16 Dec 2008 14:47:55 +0100 (CET) Message-ID: <4947B153.5060101@arcadebsd.org> Date: Tue, 16 Dec 2008 14:46:59 +0100 From: ElBarto User-Agent: Thunderbird 2.0.0.18 (X11/20081129) MIME-Version: 1.0 To: Derrick Brashear References: <37396849@bs1.sp34.ru> <01705453@bs1.sp34.ru> <49453004.9010107@linuxbox.com> <83768316_-_@bs1.sp34.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-afs@freebsd.org Subject: Re: openafs server executables 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, 16 Dec 2008 13:47:56 -0000 Derrick Brashear wrote: > On Tue, Dec 16, 2008 at 3:49 AM, Boris Samorodov wrote: > > >> Matt Benjamin writes: >> >> >>>> Hm, until now I've been sure that client is kernel modile + >>>> afsd daemon + configuration files. Where can I find out >>>> which file should belong to which port? >>>> >>> That is the client, minimally. Users need to get, list, and discard >>> tokens (aklog, klog, unlog, tokens*), talk to the client to configure >>> and debug it (fs), as well as do some AFS specific file operations (fs), >>> manage groups (pts), possibly also users (pts). They should have vos, >>> too (vos listvldb). You should also ship pagsh* (but I don't remember >>> if pags work right now in the FreeBSD client). >>> >>> I'd think you should ship all of sys, rxgen, scout, udebug, cmdebug, >>> rxdebug, fstrace, up, and bos for administrative and debugging purposes. >>> >>> Other distribution packages people have done (openafs.org) could be >>> helpful, also openafs top-level make has a "dest" target that puts a >>> Transarc style installation in a subtree "dest" of the openafs source >>> tree being built. >>> >>> For the server, perhaps everything openafs would have put in its libexec >>> or sbin, and not already mentioned (except maybe copyauth). And somehow >>> you are accounting for configuration files and a var tree with >>> appropiate permissions, as you noted. >>> >> OK, seems that to determine the server part is an easier task. >> Let's say server executables are: >> ----- >> libexec/openafs/ >> buserver >> fileserver >> kaserver >> ptserver >> salvager >> upclient >> upserver >> vlserver >> volserver >> sbin/ >> bosserver >> ka-forwarder >> kadb_check >> kdb >> kpwvalid >> prdb_check >> pt_util >> rmtsysd >> vldb_check >> vldb_convert >> voldump >> volinfo >> vsys >> ----- >> >> And let's assume other executables belong to the client part. >> >> > > Two copies of fs, vos, pts, bos, kas, asetkey, tokens, udebug, klog get > installed normally. you want copies of at least fs, vos, bos, asetkey, > udebug, pts (maybe not klog, tokens) in server, even if they are installed > elsewhere in client. > So if I install openafs-client and openafs-server I'll have fs at two different place ? Seems ugly to me. As I said vos and bos are useless to an user so they should be in the server port. pts must be in the client port, even it's used for creating users, it can also be used to create sub-group (login:group). fs is needed to setting up a new cell but not after (server side), so it should be in the client ports. -- Emmanuel Vadot elbarto@arcadebsd.org