bug-findutils
[Top][All Lists]
Advanced

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

[bugs #12044] find still hangs on dead NFS filesystems on Solaris


From: Dmitry V. Levin
Subject: [bugs #12044] find still hangs on dead NFS filesystems on Solaris
Date: Tue, 1 Mar 2005 21:58:12 +0000
User-agent: ELinks (0.10pre3; Linux 2.4.29-std-up-alt3 i686; 124x53)

Follow-up Comment #13, bugs #12044 (project findutils):

Ouch, safely_chdir_lstat() gets too complicated to be sure it will work as
expected.

I see one potential minor issue with findutils-nostatmountpt-1.patch:

In safely_chdir_lstat(), if wd_sanity_check() call fails and
RETRY_IF_SANITY_CHECK_FAILS == isfatal, then if fchdir(dotfd) also fails,
then you cannot proceed with directory traversal, since you cannot return to
proper place from the "wrong" directory.
I don't know when fchdir(dotfd) may fail, though.

    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12044>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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