GNU bug report logs - #31184
tail -f on Network FS not refreshing as soon as the file is changed.

Previous Next

Package: coreutils;

Reported by: Jewsco Pius Jacquez <JewscoPius.Jacquez <at> Amdocs.com>

Date: Mon, 16 Apr 2018 17:26:02 UTC

Severity: normal

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Pádraig Brady <P <at> draigBrady.com>
To: Jewsco Pius Jacquez <JewscoPius.Jacquez <at> Amdocs.com>, 31184 <at> debbugs.gnu.org
Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the
 file is changed.
Date: Tue, 17 Apr 2018 00:29:18 -0700
On 16/04/18 10:11, Jewsco Pius Jacquez wrote:
> Hello,
> 
> We have a legacy application that is using tail -f command in the application and is running in Redhat 9 under a shared Samba filesystem.
> 
> We want to migrate the application to RHEL7 and we noticed that the tail -f command here is not refreshing as soon as the file get changed. In Redhat 9, it is working fine, every write on the file got reflected straight away(no waiting interval).
> 
> Is there a way that we can make the tail -f working as it was in Redhat 9? For this reason, we are not able to migrate our Legacy application.

To get around the issue, the undocumented ---disable-inotify option may help
(note the three dashes)

If that does help then there is an issue with the misdetection
of a known file system as local, when it should be treated as remote.
Can you show the file system type for the file you're trying to tail, using:

  stat -f -c '%t %T' /path/to/your/file

cheers,
Pádraig




This bug report was last modified 6 years and 204 days ago.

Previous Next


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