bug-coreutils
[Top][All Lists]
Advanced

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

Re: rm -r sometimes produces errors under NFS


From: Vincent Lefevre
Subject: Re: rm -r sometimes produces errors under NFS
Date: Mon, 5 Mar 2007 18:35:54 +0100
User-agent: Mutt/1.5.14-vl-r16324 (2007-03-03)

On 2007-03-05 17:36:08 +0100, Jim Meyering wrote:
> Vincent Lefevre <address@hidden> wrote:
> > On 2007-03-05 16:45:46 +0100, Jim Meyering wrote:
> >> Can you reproduce the problem using the latest snapshot?
> >>
> >>   http://meyering.net/cu/coreutils-6.8+.tar.gz
> >
> > Tried, and this is even worse: I got the error for *every* file:
> 
> Maybe it's actually better :-)
> More consistent.

No, because the correct behavior is to get no errors (in which case
the directory is removed as expected).

> So please tell us about your systems.
> OS on the client, and OS on the server?

OS on the client: Linux/x86_64 (Debian/testing).
OS on the server: Linux 32 bits (Debian/woody).

> Also, it'd be nice if you could produce a small test case
> that would still demonstrate the failure.
> 
> Please run strace -o log rm -r small-test-dir
> and put the log somewhere public -- or even send it if it's not too big.

I've attached the log. Here are the contents of the archive:

drwxr-xr-x vlefevre/lip      0 2007-03-05 18:28:02 test/
-rw-r--r-- vlefevre/lip  27828 2006-02-20 13:12:43 test/config.h.in
-rw-r--r-- vlefevre/lip    171 2004-02-26 15:11:35 test/.cvsignore
-rwxr-xr-x vlefevre/lip  43499 2006-02-21 11:15:00 test/config.guess
-rw-r--r-- vlefevre/lip  21140 2005-08-18 11:38:05 test/aczsh.m4
-rwxr-xr-x vlefevre/lip   4773 1999-04-15 20:05:35 test/install-sh
-rw-r--r-- vlefevre/lip  83389 2006-02-28 15:14:37 test/configure.ac
-rwxr-xr-x vlefevre/lip  31743 2006-02-21 11:15:01 test/config.sub
-rwxr-xr-x vlefevre/lip    681 1999-08-30 18:51:17 test/mkinstalldirs
-rw-r--r-- vlefevre/lip    268 2004-07-02 17:50:45 test/.distfiles
-rwxr-xr-x vlefevre/lip 516210 2006-02-28 15:44:59 test/configure
-rwxr-xr-x vlefevre/lip     58 1999-12-20 15:01:46 test/.preconfig
-rw-r--r-- vlefevre/lip   2312 1999-08-06 20:01:38 test/aclocal.m4
-rw-r--r-- vlefevre/lip      1 2006-02-28 15:45:22 test/stamp-h.in

The archive is extracted on a machine (doublejack). Then

courge:~> strace -o test.log rm -r test
rm: cannot remove `test/config.h.in': No such file or directory
rm: cannot remove `test/.cvsignore': No such file or directory
rm: cannot remove `test/config.guess': No such file or directory
rm: cannot remove `test/aczsh.m4': No such file or directory
rm: cannot remove `test/install-sh': No such file or directory
rm: cannot remove `test/configure.ac': No such file or directory
rm: cannot remove `test/config.sub': No such file or directory
rm: cannot remove `test/mkinstalldirs': No such file or directory
rm: cannot remove `test/.distfiles': No such file or directory
rm: cannot remove `test/configure': No such file or directory
rm: cannot remove `test/.preconfig': No such file or directory
rm: cannot remove `test/aclocal.m4': No such file or directory
rm: cannot remove `test/stamp-h.in': No such file or directory

and see the attached compressed test.log file.

-- 
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

Attachment: test.log.bz2
Description: Binary data


reply via email to

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