[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #45930] -ignore_readdir_race ineffective in find 4.5.11 and 4.5.14
From: |
anonymous |
Subject: |
[bug #45930] -ignore_readdir_race ineffective in find 4.5.11 and 4.5.14 |
Date: |
Fri, 11 Sep 2015 13:05:27 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0 |
URL:
<http://savannah.gnu.org/bugs/?45930>
Summary: -ignore_readdir_race ineffective in find 4.5.11 and
4.5.14
Project: findutils
Submitted by: None
Submitted on: Fri 11 Sep 2015 01:05:25 PM UTC
Category: find
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Rainer Canavan
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.5.14
Fixed Release: None
_______________________________________________________
Details:
We have a cron job that is used to clean cache directories. There's a log
going on in that directory, especially files getting moved from temporary
names to their final names after they have been written completely. We have
noticed that the find that is supplied with Centos7 (version 4.5.11) as well
as a find 4.5.14 built from unmodified source frequently prints "No such file
or directory" errors for the initial filenames of the temporary files, despite
the fact that we have specified -ignore_readdir_race, e.g.:
/usr/bin/find: ‘./engine/projects/portal/istmp1NYV9b’: No such file or
directory
This does not happen with a find 4.4.2 compiled from source. A trivial find in
the "busy" directory is sufficient to triffer the error message almost 100% of
the time:
find . -ignore_readdir_race > /dev/null
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45930>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #45930] -ignore_readdir_race ineffective in find 4.5.11 and 4.5.14,
anonymous <=