GNU bug report logs - #10442
maybe a bug for "tail"

Previous Next

Package: coreutils;

Reported by: yukuan <yukuan <at> huawei.com>

Date: Fri, 6 Jan 2012 07:44:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10442 in the body.
You can then email your comments to 10442 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#10442; Package coreutils. (Fri, 06 Jan 2012 07:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to yukuan <yukuan <at> huawei.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Fri, 06 Jan 2012 07:44:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: yukuan <yukuan <at> huawei.com>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: maybe a bug for "tail"
Date: Fri, 06 Jan 2012 07:27:42 +0000
[Message part 1 (text/plain, inline)]
When I user "tail -f FILENAME" to follow a file, which is continually growing, the output sometimes stops. When I press ctrl-c to quit and right immediately follow the same file, output would continue. And I found the file is growing while the output stops.
(BTW, it's a log file with timestamp, so I am sure the file is growing. And while writing this mail, the file in another window stops, again.)
Maybe it is a bug, or not. Please explain this for me.
Thanks!
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#10442; Package coreutils. (Fri, 06 Jan 2012 10:25:01 GMT) Full text and rfc822 format available.

Message #8 received at 10442 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: yukuan <yukuan <at> huawei.com>
Cc: 10442 <at> debbugs.gnu.org
Subject: Re: bug#10442: maybe a bug for "tail"
Date: Fri, 06 Jan 2012 10:20:52 +0000
On 01/06/2012 07:27 AM, yukuan wrote:
> When I user "tail -f FILENAME" to follow a file, which is continually growing, the output sometimes stops. When I press ctrl-c to quit and right immediately follow the same file, output would continue. And I found the file is growing while the output stops.
> (BTW, it's a log file with timestamp, so I am sure the file is growing. And while writing this mail, the file in another window stops, again.)
> Maybe it is a bug, or not. Please explain this for me.
> Thanks!
> 

What version of tail?
What file system is the log file on (is it remote for example)?
What kernel version?
Does it work with the undocumented ---disable-inotify option?

cheers,
Pádraig.




Information forwarded to bug-coreutils <at> gnu.org:
bug#10442; Package coreutils. (Fri, 06 Jan 2012 11:02:01 GMT) Full text and rfc822 format available.

Message #11 received at 10442 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: yukuan <yukuan <at> huawei.com>
Cc: 10442 <at> debbugs.gnu.org
Subject: Re: bug#10442: maybe a bug for "tail"
Date: Fri, 06 Jan 2012 11:58:07 +0100
yukuan <yukuan <at> huawei.com> writes:

> When I user "tail -f FILENAME" to follow a file, which is continually growing, the output sometimes stops. When I press ctrl-c to quit and right immediately follow the same file, output would continue. And I found the file is growing while the output stops.

Does it also happen if you use "tail -F"?

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Mon, 09 Jan 2012 09:50:02 GMT) Full text and rfc822 format available.

Notification sent to yukuan <yukuan <at> huawei.com>:
bug acknowledged by developer. (Mon, 09 Jan 2012 09:50:02 GMT) Full text and rfc822 format available.

Message #16 received at 10442-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 10442-done <at> debbugs.gnu.org, yukuan <yukuan <at> huawei.com>
Subject: Re: bug#10442: maybe a bug for "tail"
Date: Mon, 09 Jan 2012 09:49:29 +0000
tags 10442 notabug

On 01/06/2012 10:58 AM, Andreas Schwab wrote:
> yukuan <yukuan <at> huawei.com> writes:
> 
>> When I user "tail -f FILENAME" to follow a file, which is continually growing, the output sometimes stops. When I press ctrl-c to quit and right immediately follow the same file, output would continue. And I found the file is growing while the output stops.
> 
> Does it also happen if you use "tail -F"?

In private mails, the user confirmed that
the file is being renamed, and thus -F is required.

cheers,
Pádraig.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 06 Feb 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 142 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.