Red Hat Bugzilla – Bug 102873
rm hangs while deleting symlinks
Last modified: 2007-04-18 12:57:03 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030716
Description of problem:
The rm command hangs when trying to delete a symlink on localdisk,
which points to a file on a hang NFS mount.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ln -s /some_junk .
2. strace /bin/rm ./some_junk
3. Observe the calls:
access("./some_junk", W_OK) = -1 ENOENT (No such file or directory)
stat64("./some_junk", 0xbfffdcd0) = -1 ENOENT (No such file or directory)
Presently rm gets stuck in access(), but the stat64() call is just as bad.
WHY did they appear in rm in the first place???
Actual Results: rm symlink_on_local_filesystem hangs
Expected Results: operations on local filesystem should never hang.
I think this should be fixed in rawhide; it is very similar to another problem
that was fixed.