bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Curious problem with cvs and bind-mounted dirs


From: Lucas C. Villa Real
Subject: Curious problem with cvs and bind-mounted dirs
Date: Fri, 5 Jan 2007 03:44:42 -0200

Hello there,

I've found a curious problem with cvs and directories bind-mounted. If
one tries to perform any kind of cvs operation inside that dir, cvs
fails with an error like "cannot get working directory: No such file
or directory".

The problem is pretty easy to be reproduced, at least in my setup
here, based on CVS 1.12.13:

] mount -o bind $HOME /mnt
] cd /mnt
] cvs -d:pserver:anonymous:@cvs.savannah.nongnu.org:/sources/goboscripts login
cvs [login aborted]: cannot get working directory: No such file or directory

By looking at strace output, it looks like the cvs command is using a
new syscall named openat(), shown by strace as 'SYS_295'. Some
operations using this file descriptor are returning different values
when the command is run inside $HOME and /mnt, so I guess this can be
where the problem is.

Any suggestions on how to make it possible to run cvs from inside a
bind-mounted dir? Can anyone confirm this?

Thanks in advance,

--
Lucas
powered by /dev/dsp




reply via email to

[Prev in Thread] Current Thread [Next in Thread]