bug-glibc
[Top][All Lists]
Advanced

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

DIRENT [Re: Incompatibility glibc 2.1.3 and cvs 1.10.7]


From: Herbert Martin Dietze
Subject: DIRENT [Re: Incompatibility glibc 2.1.3 and cvs 1.10.7]
Date: Tue, 19 Dec 2000 10:31:51 +0100
User-agent: Mutt/1.2.5i

Hello,

 a few weeks ago I reported a problem with glibc 2.1.3 and an
SGI/Irix NFS server (see quote near the bottom). This problem
has now also occurred with GNU tar, so I've taken the time to
write a little C program to further track down the problem, you
find the source appended to this mail.

This program basically reads a directory and prints out its
entries until `readdir()' returns NULL. After the last
`readdir()' I check errno and print its status if set.

This made the problem reproducable. Whenever calling the
program on a directory on the SGI NFS volume all entries are
read correctly, but with the last call to `readdir()' not only
NULL is returned but also errno is set to EPERM - for no
obvious reason.

As soon as I set LD_LIBRARY_PATH to a directory containing an
older glibc version (2.1.1) the read loop terminates without
setting errno. You can find a log showing the program's output
appended to this mail.

Cheers,

Herbert

[The basic context from my previous bug report:]

>  - SuSE 7,0 Clients (glibc 2.1.3) mount HOMEs from an 
>    SGI/Irix NFS server (no "--root=" or "no_root_squash" 
>    on the server side). 
> 
>  - when using CVS on these volumes CVS gets a problem 
>    accessing directories on this volume: 
> 
>     * An strace brings reveals an lseek system call 
>       (`lseek (fd, 0, SEEK_CUR)') failing with errno EPERM 
>       leading to CVS aborting. 
> 
>     * This is not always aproblem, but checking out a 
>       Repository on that NFS volume will not work. 
> 
>  - this situation occurs, with the glibc version mentioned
>    above, if using the older 2.1.1 (copy older libc.so.6
>    somewhere and set LD_LIBRARY_PATH accordingly) the problem
>    does not occur.

-- 
If life is a stage, I want some better lighting. If little else, the brain 
is an educational toy.  -- Tom Robbins
-=-=-                              -=-=-=-=-
   Dipl.Ing. Martin "Herbert" Dietze -=-=- address@hidden -=-=-
   -=-=- Fachhochschule Wedel / PTL  -=-=- http://www.fh-wedel.de/~herbert/

Attachment: dirtest.c
Description: Text document

Attachment: dirtest.log
Description: Text document


reply via email to

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