GNU bug report logs -
#8544
tail bug - starting in 7.5 "tail --follow=name" behaves like "tail --follow=name --retry"
Previous Next
Reported by: Jim Meyering <jim <at> meyering.net>
Date: Sun, 24 Apr 2011 21:24:01 UTC
Severity: normal
Done: Jim Meyering <jim <at> meyering.net>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 8544-done <at> debbugs.gnu.org (full text, mbox):
Jim Meyering wrote:
> Tim Underwood wrote:
>> Going from Ubuntu 10.04 (coreutils 7.4) to Ubuntu 10.10 (coreutils 8.5) I
>> noticed that "tail --follow=name" started behaving like "tail --follow=name
>> --retry". It looks like the issue started in 7.5 and still exists in 8.9.
...
>
> Thanks again.
> Here's the fix I expect to use:
>
> Subject: [PATCH] tail --follow=name no longer implies --retry
>
> * src/tail.c (tail_forever_inotify): Just as without inotify,
> tail --follow=name now terminates when the last tailed-by-name file
> is unlinked or moved aside. This bug was introduced on 2009-06-15
> via commit ae494d4b, "tail: use inotify if it is available".
> Reported by Tim Underwood in
> http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/22286
> * NEWS (Bug fixes): Mention this.
> * tests/tail-2/follow-name: Test for this.
> * tests/Makefile.am (TESTS): Add it.
I've pushed that, and am closing this issue.
This bug report was last modified 14 years and 31 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.