From owner-freebsd-hackers Fri May 15 01:41:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA08839 for freebsd-hackers-outgoing; Fri, 15 May 1998 01:41:21 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from sun-test.hightek.com ([194.74.141.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA08787 for ; Fri, 15 May 1998 01:41:12 -0700 (PDT) (envelope-from andreas@klemm2.hightek.com) Received: from klemm2.hightek.com ([195.90.203.76]) by sun-test.hightek.com (Netscape Mail Server v1.1) with ESMTP id AAA1923 for ; Fri, 15 May 1998 10:41:12 +0200 Received: (from andreas@localhost) by klemm2.hightek.com (8.8.8/8.8.8) id KAA04216; Fri, 15 May 1998 10:41:12 +0200 (CEST) (envelope-from andreas) Message-ID: <19980515104111.16534@hightek.com> Date: Fri, 15 May 1998 10:41:11 +0200 From: Andreas Klemm To: hackers@FreeBSD.ORG Subject: nfs exported FreeBSD cvs repository, mounted on client, update problems Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i X-Operating-System: FreeBSD 2.2.6-STABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi ! I have one machine (server) carrying the FreeBSD cvs repository. This machine exports the cvs tree to several FreeBSD client machines. On the server: /etc/exports: /export -alldirs client1 client2 On the clients I use the automounter. Client setup: ln -s /host/server/export/ncvs /home/ncvs setenv CVSROOT /home/ncvs Then I try to update my sources on the client: root@client1 [150] [/usr/src] cvs update -P cvs update: Updating . cvs update: failed to create lock directory in repository `/home/ncvs/src': Permission denied cvs update: failed to obtain dir lock in repository `/home/ncvs/src' cvs [update aborted]: read lock failed - giving up Is there a way to avoid this lock ? Or would I have in this case to give root write permissions on the NFS Server (ugly) ? Or would I have to rearrange things, to checkout and update the sources as user != root ? How do you arrange these things if you only want to have one machine cvsupping the repository to update several FreeBSD machines ? Do you checkout the src tree on the server and mount the updated source tree on severyl clients ? Or does every machine have it's own checked out source tree, which I would prefer, since not every machine is perhaps a candidate for an upgrade ? Andreas /// -- B&K Gruppe - Wuppertal phone +49 202 7399 - 170 fax +49 202 7399 - 100 http://www.FreeBSD.ORG/~andreas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message