[OpenAFS-devel] getcwd() on Linux 2.6.18+OpenAFS 1.4.2 bugs/errors.

Russ Allbery rra@stanford.edu
Thu, 08 Nov 2007 15:15:07 -0800


Michael Loftis <mloftis@wgops.com> writes:
> --On November 8, 2007 5:49:40 PM -0500 Jim Rees <rees@umich.edu> wrote:

>> You've mounted a volume in two different places and now you're
>> surprised that you can get to it from either mount point?  I don't see
>> what the problem is.

> No.  The problem is pwd (getcwd()) returns erroneous information.  Worse
> when you chroot it returns paths *outside* the chroot.

This is probably the same as:

    http://rt.central.org/rt/Ticket/Display.html?id=3753

which is a long-standing problem related to how the Linux kernel caches
directory information (I think).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>