Red Hat Bugzilla – Bug 537664
tail -F will sometimes stop working upon rotation
Last modified: 2013-03-13 16:40:46 EDT
Description of problem: tail -F is not reliable
Version-Release number of selected component (if applicable):
coreutils-7.5 through coreutils-8.0
Steps to Reproduce:
1. run this repeatedly, each time in an empty directory:
:>k && :>x && timeout 1 ../tail -F k > out 2>/dev/null &
echo b >> k; sleep .01; env mv x k; sleep .01; echo ok >> k
sleep .01; grep ok out > /dev/null && ok=. || ok=X; printf $ok
Actual results: it outputs a mix of "X"s (failure) and "."s (success)
Expected results: all "."s
Additional info: see tests, and patch here:
Thanks for heads-up and patch, Jim.
coreutils-7.6-7.fc12 has been submitted as an update for Fedora 12.
coreutils-7.6-7.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update coreutils'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12163
coreutils-7.6-7.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.