From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 14:47:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F4F8106568B for ; Sat, 11 Oct 2008 14:47:14 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 1CB738FC23 for ; Sat, 11 Oct 2008 14:47:13 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA05.westchester.pa.mail.comcast.net with comcast id RQKH1a00A1HzFnQ55SnDpB; Sat, 11 Oct 2008 14:47:13 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.westchester.pa.mail.comcast.net with comcast id RSnC1a0072P6wsM3aSnCem; Sat, 11 Oct 2008 14:47:13 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=N4lCy7rNyhPJkvQOZlAA:9 a=izV516ejFB9B2cifsUcA:7 a=1kTfatLxzRQDSlVihX0ookfKvrUA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id B5456C941C; Sat, 11 Oct 2008 07:47:11 -0700 (PDT) Date: Sat, 11 Oct 2008 07:47:11 -0700 From: Jeremy Chadwick To: Shakul M Hameed Message-ID: <20081011144711.GA64861@icarus.home.lan> References: <20081011173613.GA7326@freebsdbox> <20081011180308.GA7094@freebsdbox> <20081011123826.GA62390@icarus.home.lan> <20081011195131.GA931@freebsdbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081011195131.GA931@freebsdbox> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: cvsup 7.0 STABLE checkout failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 14:47:14 -0000 On Sun, Oct 12, 2008 at 01:21:31AM +0530, Shakul M Hameed wrote: > > 1) Your setup looks very custom. I see SMB/CIFS in use, and you're > > using a non-standard directory for the cvsup CVS data (the default is > Yes, I am using mount_smbfs to mount a network harddrive to store all my devel code. > I don't want to overcrowd the the root disk I'm left wondering if there are some permissions or ownership issues as a result of this. > I am using X11 cvsup stable-supfile. This is the snapshot of my modified cvsup file > ------------------------------------------------ > # Defaults that apply to all the collections > # > # IMPORTANT: Change the next line to use one of the CVSup mirror sites > # listed at http://www.freebsd.org/doc/handbook/mirrors.html. > *default host=cvsup3.de.FreeBSD.org > *default base=/usr/home/moin/smbmount/code/SUPDB/ > *default prefix=/usr/home/moin/smbmount/code/src/ > # The following line is for 7-stable. If you want 6-stable, 5-stable, > # 4-stable, 3-stable, or 2.2-stable, change to "RELENG_6", "RELENG_5", > # "RELENG_4", "RELENG_3", or "RELENG_2_2" respectively. > *default release=cvs tag=RELENG_7 > *default delete use-rel-suffix > > # If you seem to be limited by CPU rather than network or disk bandwidth, try > # commenting out the following line. (Normally, today's CPUs are fast enough > # that you want to run compression.) > *default compress > > ## Main Source Tree. > # > # The easiest way to get the main source tree is to use the "src-all" > # mega-collection. It includes all of the individual "src-*" collections. > # Please note: If you want to track -STABLE, leave this uncommented. > src-all > ------------------------------------------------ I have no idea what an "X11 cvsup stable-supfile" is, so I assume you mean you've used /usr/share/examples/cvsup/stable-supfile as a template supfile, but have your own somewhere else. The reason I was confused: you first stated you're using the ones in /usr/share/examples/cvsup, and I assumed that mean you were using it directly. You shouldn't modify any files in /usr/share/examples, as they will be replaced/overwritten during installworld. Your pasted supfile looks fine, however. > > 2) Check permissions and ownership of all directories leading up to > > /usr/home/moin/smbmount/code/SUPDB/sup/src-all. Yes, check every single > > one. Please do this. > > 3) Ensure your umask is 022 before starting cvsup. This could be a side > > result of item #2. > umask is 0022 > > > > 4) I'm not sure why you're using cvsup on a 7.x box when csup comes with > > the base system. > > I don't know why ? :-) . But I did as it was listed in the FreeBSD handbook. Are you sure? http://www.freebsd.org/doc/en/books/handbook/cvsup.html -- see the first "Note:" paragraph. > > I would also try doing this as a last resort: > > > > rm -fr /usr/home/moin/smbmount/code/SUPDB/sup/src-all > > rm -fr /usr/src/* > > csup -h -L 2 /usr/share/examples/cvsup/stable-supfile > > As a lost resort, I did a "cvsup -g -L2 stable-supfile", with just > changing the HOST part without changing other entries in > stable-supfile, and I was successful to download the code. I don't see how that would fix or change anything. In fact, I'm fairly certain it doesn't. The error you are receiving from cvsup is telling you "I tried to rename a file, but couldn't". This often implies a permissions or ownership thing. Since the directory you're storing stuff in is on an SMB/CIFS share, I cannot help but wonder if that's the cause of the problem (somehow). > Currently, I am trying out to figure why the customised way is failing. I see nothing wrong with your supfile. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |