[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problem with "bogus date" on NFS

From: David Brodbeck <brodbd_at_u.washington.edu>
Date: Wed, 12 May 2010 10:22:12 -0700

On May 12, 2010, at 6:55 AM, Andreas Schwarz wrote:

>
> Hi,
>
> I have a strange problem with a working copy on a NFS mount. Checking
> out works fine, but whenever I try to svn stat/info/up a certain
> directory, I get the message
> svn: Error at entry 6 in entries file for 'cfg':
> svn: Bogus date
> I traced it down to an empty file in this directory that has a weird
> "text last changed" date in the entries file:
> 1949-12-07T10:27:14.-840919Z
> This date is different (random) each time I make a new checkout on the
> NFS mount. But everything is fine when I check out the repository on a
> local disk.
>
> I tried removing, committing and re-adding the offending file, but that
> doesn't fix the problem.
>
> Any ideas what is going on there?

Are you by any chance using NFSv4, and mounting this filesystem from a Solaris NFS server? I encountered the same issue a few months ago. It appears to only happen with zero-length files, because as soon as data is written to the file the timestamp gets fixed. It's actually a Solaris bug:
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6854659

One workaround is to use NFSv3. Another is to put some data in the zero-length file.

The fix is in snv_126, which means it should be fixed in the next version of OpenSolaris that comes out (the one that was supposed to be 2010.03, before the Oracle merger delayed everything.)

-- 
David Brodbeck
System Administrator, Linguistics
University of Washington
Received on 2010-05-12 19:22:54 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.