bugConcurrent Versions System - Bugs: bug #21688, problem with bind-mounted dir


bug #21688: problem with bind-mounted dir

Submitter:  None
Submitted:  Sat 01 Dec 2007 12:08:10 AM UTC
Votes: 2
Category:  Bug Report Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release: 
Fixed Release:  None Fixed Feature Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 05 Feb 2008 05:06:27 PM UTC, comment #2: 

The problem is that the compilation result (which getcwd function is compiled in the final CVS executable) probably depends on the file system on which is executed the "./configure" script.

There is a file lib/xgetcwd.c which calls the getcwd implementation. If you manually comment out the
#include "getcwd.h"
line, then the getcwd from <unistd.h> is used. This can be probably achieved also with some flags configuration, but I just needed quick workaround.

Admiral Georgo <ageorgo>
Wed 09 Jan 2008 10:36:01 AM UTC, comment #1: 

Until this gets fixed, how does one "replace the fallback algorithm"?


Sune Mølgaard <fjodor>
Sat 01 Dec 2007 12:08:10 AM UTC, original submission:  

Hi the CVS version 1.12.13, has broken either the fallback getcwd algorithm implementation or the detection routine of libc getcwd (or both). If I run CVS in bind mounted directory it fails with:

cvs [status aborted]: cannot get working directory: No such file or directory

after replacing the fallbach algorithm (which is used) with libc getcwd cvs in bind mounted dir works.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ageorgo (Posted a comment)
  • -email is unavailable- added by fjodor (Posted a comment)
  • -email is unavailable- added by fjodor (Voted in favor of this item)

    There are 2 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-01-09 fjodor Carbon-Copy- Added fjodor

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code