From owner-freebsd-questions Sun Mar 19 11:45:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id AA18937BD01 for ; Sun, 19 Mar 2000 11:45:32 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e2JK8J328888; Sun, 19 Mar 2000 12:08:19 -0800 (PST) Date: Sun, 19 Mar 2000 12:08:19 -0800 From: Alfred Perlstein To: Cliff Rowley Cc: freebsd-questions@FreeBSD.ORG Subject: Re: CVS/NFS Core dump mystery Message-ID: <20000319120818.R14789@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from dozprompt@onsea.com on Sun, Mar 19, 2000 at 02:43:58PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Cliff Rowley [000319 07:09] wrote: > Greetings. I've been poking around this one to see if I could come up > with a solution, but I've decided I simply dont know enough about CVS or > NFS to make an accurate prognosis. > > Here is the scenario. I have my workstation and server working together > to make my life very easy when developing, storing, previewing and > exporting the websites that I develop. > > The system is quite simple, and enables me to be extrememly productive. I > serve http content directly from my work directory on the server, so that > any changes I make I can preview instantly over the LAN. When I am happy > with the changes, I commit them to my local CVS repository. This enables > me to publish the sites using CVS on the remote host. > > Until a few days ago I was exclusively using Win32 on the workstation, and > editing my source files over SMB, and there were no problems. > > Now I have almost left my daytime job in Windows development, my Win32 > usage is becoming less and less, and I am almost ready to make the jump to > a Window-less work environment (I'll still have doors, of course), but I > am having a few problems. > > I am exporting my wwwroot to the workstation via NFS, so that I can > continue to use my system. 'Excellent', I hear you say, 'NFS has > problems, but it should be adequate for your particular scenario'. Here's > the problem. > > Workstation: > cd to mounted wwwroot > edit a file > Preview changes instantly on http://vhost.server > Decide changes are good > > Server: > cd to wwwroot/directory > cvs commit > *boom* > > [root@merlin]# cvs com > cvs commit: Examining . > cvs commit: .htaccess: 1.1.1.1 and working file are different file types > cvs commit: .htaccess: hard linkage of 1.1.1.1 and working file do not > match > cvs commit: styles.css: 1.1.1.1 and working file are different file types > cvs commit: styles.css: hard linkage of 1.1.1.1 and working file do not > match > Segmentation fault (core dumped) > > Ouch! What on earth is that all about? My understanding is that NFS > should be seamless. I've made sure that the time/date matches on the > machines too. I cant check in any changes, and I cant publish any > websites until this is resolved (without going back to Win32, which I dont > particularly want to do). > > I need to keep my setup exactly the same as it is now. I cannot afford to > check my changes in from the workstation, and update the working directory > on the server every time I make a change. The changes need to be > instantly available with no extra work, so my options are very limited. > > Any help with this would be greatly appreciated. urk! do you happen to have 'PreservePermissions' turned on? it's probably in CVSROOT/config ? -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message