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: rainer+findut...@7val.com 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/