Bug 537664 - tail -F will sometimes stop working upon rotation
Summary: tail -F will sometimes stop working upon rotation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: 12
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL: http://marc.info/?l=coreutils-bug&m=1...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-15 15:30 UTC by Jim Meyering
Modified: 2013-03-13 20:40 UTC (History)
3 users (show)

Fixed In Version: 7.6-7.fc12
Clone Of:
Environment:
Last Closed: 2009-12-01 04:35:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jim Meyering 2009-11-15 15:30:41 UTC
Description of problem: tail -F is not reliable


Version-Release number of selected component (if applicable):
coreutils-7.5 through coreutils-8.0

How reproducible:


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

2.
3.
  
Actual results: it outputs a mix of "X"s (failure) and "."s (success)


Expected results: all "."s


Additional info: see tests, and patch here:
http://marc.info/?l=coreutils-bug&m=125829031916515

Comment 1 Ondrej Vasik 2009-11-15 17:52:29 UTC
Thanks for heads-up and patch, Jim.

Comment 2 Fedora Update System 2009-11-23 11:20:27 UTC
coreutils-7.6-7.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/coreutils-7.6-7.fc12

Comment 3 Fedora Update System 2009-11-25 15:28:49 UTC
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

Comment 4 Fedora Update System 2009-12-01 04:35:08 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.