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


_______________________________________________
Bug-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/bug-cvs

Reply via email to