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


bug #21688: problem with bind-mounted dir

Submitted by:  None
Submitted on:  Sat 01 Dec 2007 12:08:10 AM UTC  
Votes:  2  
Category: Bug ReportSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 
Fixed Release: NoneFixed Feature Release: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 2 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 09 Jan 2008 10:34:56 AM UTCfjodorCarbon-Copy-=>Added fjodor

    Back to the top

    Powered by Savane 3.1-cleanup1