[Bug 192490] [build] race condition with multiple instances of cleandir in subdirectories; results in failure like "rm: fts_read: No such file or directory"
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Oct 4 04:44:22 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192490
Garrett Cooper <ngie at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Issue Resolved |In Discussion
Resolution|FIXED |---
--- Comment #8 from Garrett Cooper <ngie at FreeBSD.org> ---
Reopening the bug because in retrospect the underlying issue has not been
resolved -- it has been worked around with r268376.
There are actually two bugs:
1. (Cause) rm -Rf is being run on a path and a subdirectory concurrently.
2. (Effect) rm -Rf is failing because fts_read isn't properly filtering out
certain errors like EACCES, ENOENT and EPERM.
imp@ resolved 2. (but there are other issues that were introduced with the
commit as it ignores all errors with fts_* according to the rm(1) manpage).
ian@ is looking into 1.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-toolchain
mailing list