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

Re: svn fails to import a project to a cifs-mounted repository

From: Yuval Aviel <yuvala_at_mirageinnovations.com>
Date: 2006-12-05 08:49:04 CET

On Tuesday 05 December 2006 2:14 am, Malcolm Rowe wrote:
> On Mon, Dec 04, 2006 at 05:04:16PM +0200, Yuval Aviel wrote:
> > I'd be grateful if someone can reproduce or confirm this bug.
>
> (as would I; any takers?)
>
> > The shared disk is a Windows shared NTFS partition, that I mount using
> > cifs. Here is the line from /etc/fstab:
> >
> > //miragesrv/applic /mnt/applic cifs
> > user=yuvala,password=*****,uid=500,gid=500
> > ,workgroup=MIRAGE 1 2
> >
> >
> >
> > fresnel:wc > svn import /tmp/proj/ file:///mnt/applic/repo/ -m "initial
> > import"
> > Adding /tmp/proj/trunk
> > Adding /tmp/proj/trunk/Tolerances
> > Adding /tmp/proj/trunk/Tolerances/get_fun_ranges.m
> > svn: Can't unlock prototype revision lockfile for transaction '0-1':
> > Permission denied
>
> I can't imagine why we'd get a permission denied error while trying to
> unlock a file we've just locked. Note that while this is new code for
> 1.4.2, we do the same file operations to manage locking for the fs-wide
> write-lock, so it should work just the same.
>
> Did 1.4.0 work okay?
>

Don't know for 1.4.0, but with 1.3.2 we have no such problems.

> > fresnel:wc > ls -Rlt /mnt/applic/repo/db/transactions/
> > /mnt/applic/repo/db/transactions/:
> > total 0
> > drwxrwxrwx 1 aviel aviel 0 Nov 28 12:54 0-1.txn
> >
> > /mnt/applic/repo/db/transactions/0-1.txn:
> > total 0
> >
> > This directory does not exist in the local repository, so I assume it
> > holds info of the transaction being made.
>
> That's right. Strange that it's empty, since I would have expected that
> it'd either have files in it (such as the prototype revision lockfile,
> for one), or it'd have been deleted completely. It's probable that we
> encountered another error when trying to clean up the transaction
> directory, so we left it alone.
>
> > Any suggestions?
>
> Yes - could you produce an strace of the failing 'svn import' command?
> That might give us a clue as to whether the problem is happening at the
> local or remote end. To save the bandwidth of everyone on this list,
> could you open a new issue and upload the strace output as an
> attachment?
>

I opened an issue with two straces; one of the 'svn import' and the other of
the following (successful) 'rmdir /.../0-1.txn.
Issue is in http://subversion.tigris.org/issues/show_bug.cgi?id=2673
> Thanks,
> Malcolm

-- 
Regards,
Yuval Aviel.
-------------------------
www.MirageInnovations.com
054 7-56-56-52
-------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 5 08:53:54 2006

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