diff options
author | Jim Meyering <meyering@redhat.com> | 2009-11-15 09:25:29 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-11-16 09:30:43 +0100 |
commit | 3b997a9bcb05198c880e5d1605a3c96c1d7f9c5d (patch) | |
tree | 99d9c5b1943e2339986e78e8bfac2c6f506aa424 /src/groups.c | |
parent | 00f0cabaecdd490529d05230435671eb89a7b5c5 (diff) | |
download | coreutils-3b997a9bcb05198c880e5d1605a3c96c1d7f9c5d.tar.xz |
tail -F can fail to track a file after it's been rotated
Tailing forever and by-name (--follow=name, -F), tail would
sometimes fail to follow a file that had been removed via rename.
If you can't apply this patch and have tail 7.6 or newer, you can
work around the bug via the undocumented --disable-inotify option.
* src/tail.c (tail_forever_inotify): When tailing by name (-F),
do not un-watch a file upon receipt of the IN_MOVE_SELF event.
Reported by Arjan Opmeer in http://bugs.debian.org/548439.
* NEWS (Bug fixes): Mention it.
Also see http://marc.info/?l=coreutils-bug&m=125829031916515
* tests/Makefile.am (TESTS): Add tail-2/inotify-rotate.
* tests/tail-2/inotify-rotate: New test.
Diffstat (limited to 'src/groups.c')
0 files changed, 0 insertions, 0 deletions