Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Oct 2014 04:44:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 192490] [build] race condition with multiple instances of cleandir in subdirectories; results in failure like "rm: fts_read: No such file or directory"
Message-ID:  <bug-192490-29464-72T425domx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192490-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192490-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192490

Garrett Cooper <ngie@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Issue Resolved              |In Discussion
         Resolution|FIXED                       |---

--- Comment #8 from Garrett Cooper <ngie@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192490-29464-72T425domx>