From unknown Wed Jun 18 23:16:45 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#31184 <31184@debbugs.gnu.org> To: bug#31184 <31184@debbugs.gnu.org> Subject: Status: tail -f on Network FS not refreshing as soon as the file is changed. Reply-To: bug#31184 <31184@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:16:45 +0000 retitle 31184 tail -f on Network FS not refreshing as soon as the file is c= hanged.=20 reassign 31184 coreutils submitter 31184 Jewsco Pius Jacquez severity 31184 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 16 13:25:21 2018 Received: (at submit) by debbugs.gnu.org; 16 Apr 2018 17:25:21 +0000 Received: from localhost ([127.0.0.1]:56175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f87sX-0004Yz-5t for submit@debbugs.gnu.org; Mon, 16 Apr 2018 13:25:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f87fG-0004CY-MC for submit@debbugs.gnu.org; Mon, 16 Apr 2018 13:11:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f87f9-0004o6-Gt for submit@debbugs.gnu.org; Mon, 16 Apr 2018 13:11:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45443) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f87f9-0004nD-Cy for submit@debbugs.gnu.org; Mon, 16 Apr 2018 13:11:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f87f7-000197-6n for bug-coreutils@gnu.org; Mon, 16 Apr 2018 13:11:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f87f3-0004SZ-Pc for bug-coreutils@gnu.org; Mon, 16 Apr 2018 13:11:29 -0400 Received: from stlmail1.amdocs.com ([69.150.27.74]:22356 helo=mx2.amdocs.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1f87f3-0004Ot-Fq for bug-coreutils@gnu.org; Mon, 16 Apr 2018 13:11:25 -0400 amddisc: amdocs_ Received: from unknown (HELO USCMIDAGFE2.corp.amdocs.com) ([10.26.49.50]) by stlmail1.corp.amdocs.com with ESMTP; 16 Apr 2018 12:11:22 -0500 Received: from USCMIDAGBE1.corp.amdocs.com ([fe80::786b:593d:d7c6:593e]) by USCMIDAGFE2.corp.amdocs.com ([fe80::d0ba:8b97:14c:21da%10]) with mapi id 14.03.0352.000; Mon, 16 Apr 2018 12:11:22 -0500 From: Jewsco Pius Jacquez To: "bug-coreutils@gnu.org" Subject: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Topic: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Index: AdPVpRWmwcOSEOLKQe2sixMEmAKnhQ== Date: Mon, 16 Apr 2018 17:11:21 +0000 Message-ID: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.120.120.6] Content-Type: multipart/alternative; boundary="_000_928383E97540B44CBDF7C869E109F72B019460DA60USCMIDAGBE1co_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 16 Apr 2018 13:25:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) --_000_928383E97540B44CBDF7C869E109F72B019460DA60USCMIDAGBE1co_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hello, We have a legacy application that is using tail -f command in the applicati= on 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. Thanks, Jewsco This message and the information contained herein is proprietary and confid= ential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer --_000_928383E97540B44CBDF7C869E109F72B019460DA60USCMIDAGBE1co_ Content-Type: text/html; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable

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 notic= ed that the tail –f command here is not refreshing as soon as the fil= e 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 workin= g as it was in Redhat 9? For this reason, we are not able to migrate our Le= gacy application.

 

Thanks,
Jewsco

This message and the information contained herein is proprietary and c= onfidential and subject to the Amdocs policy statement,
--_000_928383E97540B44CBDF7C869E109F72B019460DA60USCMIDAGBE1co_-- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 17 03:29:24 2018 Received: (at 31184) by debbugs.gnu.org; 17 Apr 2018 07:29:24 +0000 Received: from localhost ([127.0.0.1]:56613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8L3L-00009n-U2 for submit@debbugs.gnu.org; Tue, 17 Apr 2018 03:29:24 -0400 Received: from mail.magicbluesmoke.com ([82.195.144.49]:35782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8L3K-00009e-8p for 31184@debbugs.gnu.org; Tue, 17 Apr 2018 03:29:22 -0400 Received: from localhost.localdomain (unknown [76.21.115.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 74B379D22; Tue, 17 Apr 2018 08:29:20 +0100 (IST) Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. To: Jewsco Pius Jacquez , 31184@debbugs.gnu.org References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> Date: Tue, 17 Apr 2018 00:29:18 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 17 11:46:35 2018 Received: (at 31184) by debbugs.gnu.org; 17 Apr 2018 15:46:35 +0000 Received: from localhost ([127.0.0.1]:57678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8SoV-00031T-6s for submit@debbugs.gnu.org; Tue, 17 Apr 2018 11:46:35 -0400 Received: from stlmail1.amdocs.com ([69.150.27.74]:65032 helo=mx2.amdocs.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8SoU-00031H-43 for 31184@debbugs.gnu.org; Tue, 17 Apr 2018 11:46:34 -0400 amddisc: amdocs_ Received: from unknown (HELO USCMIDAGFE2.corp.amdocs.com) ([10.26.49.50]) by stlmail1.corp.amdocs.com with ESMTP; 17 Apr 2018 10:46:27 -0500 Received: from USCMIDAGBE1.corp.amdocs.com ([fe80::786b:593d:d7c6:593e]) by USCMIDAGFE2.corp.amdocs.com ([fe80::d0ba:8b97:14c:21da%10]) with mapi id 14.03.0352.000; Tue, 17 Apr 2018 10:46:27 -0500 From: Jewsco Pius Jacquez To: =?iso-8859-1?Q?P=E1draig_Brady?= , "31184@debbugs.gnu.org" <31184@debbugs.gnu.org> Subject: RE: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Topic: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Index: AQHT1h3tUOzJzcz97Uu6+lftaMS0h6QFGS6A Date: Tue, 17 Apr 2018 15:46:27 +0000 Message-ID: <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> In-Reply-To: <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.120.123.80] Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Padraig, thanks for your response, The ---disable-inotify didn't refresh either. [root@cmilsbtest03 ~]# stat -f -c '%t %T' /media/samba/test.file ff534d42 cifs [root@cmilsbtest03 ~]# df -h /media/samba/test.file Filesystem Size Used Avail Use% Mounted on //10.124.61.52/finance 14G 13G 1.6G 89% /media/samba [root@cmilsbtest03 ~]# grep /media/samba /proc/mounts //10.124.61.52/finance/ /media/samba cifs rw,relatime,sec=3Dntlm,cache=3Dlo= ose,unc=3D\134\13410.124.61.52\134finance,username=3D,uid=3D0,noforceuid,gi= d=3D0,noforcegid,addr=3D10.124.61.52,unix,posixpaths,serverino,acl,rsize=3D= 1048576,wsize=3D65536,echo_interval=3D60,actimeo=3D1 0 0 [root@cmilsbtest03 ~]# Thanks, Jewsco -----Original Message----- From: P=E1draig Brady [mailto:P@draigBrady.com] = Sent: Tuesday, April 17, 2018 2:29 AM To: Jewsco Pius Jacquez ; 31184@debbugs.gnu.= org Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the= file is changed. On 16/04/18 10:11, Jewsco Pius Jacquez wrote: > Hello, > = > We have a legacy application that is using tail -f command in the applica= tion 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 Redha= t 9, it is working fine, every write on the file got reflected straight awa= y(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 hel= p (note the three dashes) If that does help then there is an issue with the misdetection of a known f= ile 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=E1draig This message and the information contained herein is proprietary and confid= ential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 17 12:06:35 2018 Received: (at 31184) by debbugs.gnu.org; 17 Apr 2018 16:06:35 +0000 Received: from localhost ([127.0.0.1]:57695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8T7q-0003Vh-O5 for submit@debbugs.gnu.org; Tue, 17 Apr 2018 12:06:34 -0400 Received: from mailgw1.uni-kl.de ([131.246.120.220]:54335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8T7p-0003VZ-Cf for 31184@debbugs.gnu.org; Tue, 17 Apr 2018 12:06:34 -0400 Received: from sushi.unix-ag.uni-kl.de (sushi.unix-ag.uni-kl.de [IPv6:2001:638:208:ef34:0:ff:fe00:65]) by mailgw1.uni-kl.de (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id w3HG6Ipi010307 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 17 Apr 2018 18:06:19 +0200 Received: from sushi.unix-ag.uni-kl.de (ip6-localhost [IPv6:::1]) by sushi.unix-ag.uni-kl.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w3HG6LIt006563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 17 Apr 2018 18:06:21 +0200 Received: (from auerswal@localhost) by sushi.unix-ag.uni-kl.de (8.14.4/8.14.4/Submit) id w3HG6LxS006562; Tue, 17 Apr 2018 18:06:21 +0200 Date: Tue, 17 Apr 2018 18:06:21 +0200 From: Erik Auerswald To: Jewsco Pius Jacquez Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Message-ID: <20180417160621.GA6282@unix-ag.uni-kl.de> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, hits=-0.999, tests=ALL_TRUSTED=-1,URIBL_BLOCKED=0.001 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 31184 Cc: "31184@debbugs.gnu.org" <31184@debbugs.gnu.org>, =?iso-8859-1?Q?P=E1draig?= Brady X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Jewsco, did you already try the -F option instead of -f? Thanks, Erik On Tue, Apr 17, 2018 at 03:46:27PM +0000, Jewsco Pius Jacquez wrote: > Padraig, thanks for your response, > > The ---disable-inotify didn't refresh either. > > [root@cmilsbtest03 ~]# stat -f -c '%t %T' /media/samba/test.file > ff534d42 cifs > [root@cmilsbtest03 ~]# df -h /media/samba/test.file > Filesystem Size Used Avail Use% Mounted on > //10.124.61.52/finance > 14G 13G 1.6G 89% /media/samba > [root@cmilsbtest03 ~]# grep /media/samba /proc/mounts > //10.124.61.52/finance/ /media/samba cifs rw,relatime,sec=ntlm,cache=loose,unc=\134\13410.124.61.52\134finance,username=,uid=0,noforceuid,gid=0,noforcegid,addr=10.124.61.52,unix,posixpaths,serverino,acl,rsize=1048576,wsize=65536,echo_interval=60,actimeo=1 0 0 > [root@cmilsbtest03 ~]# > > > Thanks, > Jewsco > > > -----Original Message----- > From: Pádraig Brady [mailto:P@draigBrady.com] > Sent: Tuesday, April 17, 2018 2:29 AM > To: Jewsco Pius Jacquez ; 31184@debbugs.gnu.org > Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. > > 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 message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, > > you may review at https://www.amdocs.com/about/email-disclaimer > > > > From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 17 14:18:49 2018 Received: (at 31184) by debbugs.gnu.org; 17 Apr 2018 18:18:49 +0000 Received: from localhost ([127.0.0.1]:57803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8VBp-00027g-3S for submit@debbugs.gnu.org; Tue, 17 Apr 2018 14:18:49 -0400 Received: from stlmail1.amdocs.com ([69.150.27.74]:13969 helo=mx2.amdocs.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8VBm-00027P-Pi for 31184@debbugs.gnu.org; Tue, 17 Apr 2018 14:18:47 -0400 amddisc: amdocs_ Received: from unknown (HELO USCMIDAGFE1.corp.amdocs.com) ([10.26.49.50]) by stlmail1.corp.amdocs.com with ESMTP; 17 Apr 2018 13:18:40 -0500 Received: from USCMIDAGBE1.corp.amdocs.com ([fe80::786b:593d:d7c6:593e]) by USCMIDAGFE1.corp.amdocs.com ([fe80::c0c3:17ea:beb:65a7%10]) with mapi id 14.03.0352.000; Tue, 17 Apr 2018 13:18:40 -0500 From: Jewsco Pius Jacquez To: Erik Auerswald Subject: RE: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Topic: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Index: AQHT1h3tUOzJzcz97Uu6+lftaMS0h6QFGS6AgABadYD//9CesA== Date: Tue, 17 Apr 2018 18:18:39 +0000 Message-ID: <928383E97540B44CBDF7C869E109F72B0194612DF9@USCMIDAGBE1.corp.amdocs.com> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> <20180417160621.GA6282@unix-ag.uni-kl.de> In-Reply-To: <20180417160621.GA6282@unix-ag.uni-kl.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.120.123.80] Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 Cc: "31184@debbugs.gnu.org" <31184@debbugs.gnu.org>, =?iso-8859-1?Q?P=E1draig_Brady?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Yes, it didn't work either. The closest is this one(below), but still the update is every second only. # tail --follow=3Dname --max-unchanged-stats=3D1 --sleep-interval=3D1 /med= ia/samba/test.file Thanks, Jewsco -----Original Message----- From: Erik Auerswald [mailto:auerswal@unix-ag.uni-kl.de] = Sent: Tuesday, April 17, 2018 11:06 AM To: Jewsco Pius Jacquez Cc: P=E1draig Brady ; 31184@debbugs.gnu.org Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the= file is changed. Hi Jewsco, did you already try the -F option instead of -f? Thanks, Erik On Tue, Apr 17, 2018 at 03:46:27PM +0000, Jewsco Pius Jacquez wrote: > Padraig, thanks for your response, > = > The ---disable-inotify didn't refresh either. > = > [root@cmilsbtest03 ~]# stat -f -c '%t %T' /media/samba/test.file > ff534d42 cifs > [root@cmilsbtest03 ~]# df -h /media/samba/test.file > Filesystem Size Used Avail Use% Mounted on > //10.124.61.52/finance > 14G 13G 1.6G 89% /media/samba > [root@cmilsbtest03 ~]# grep /media/samba /proc/mounts = > //10.124.61.52/finance/ /media/samba cifs = > rw,relatime,sec=3Dntlm,cache=3Dloose,unc=3D\134\13410.124.61.52\134financ= e,u > sername=3D,uid=3D0,noforceuid,gid=3D0,noforcegid,addr=3D10.124.61.52,unix= ,posi > xpaths,serverino,acl,rsize=3D1048576,wsize=3D65536,echo_interval=3D60,act= ime > o=3D1 0 0 > [root@cmilsbtest03 ~]# > = > = > Thanks, > Jewsco > = > = > -----Original Message----- > From: P=E1draig Brady [mailto:P@draigBrady.com] > Sent: Tuesday, April 17, 2018 2:29 AM > To: Jewsco Pius Jacquez ; = > 31184@debbugs.gnu.org > Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as t= he file is changed. > = > On 16/04/18 10:11, Jewsco Pius Jacquez wrote: > > Hello, > > = > > We have a legacy application that is using tail -f command in the appli= cation and is running in Redhat 9 under a shared Samba filesystem. > > = > > We want to migrate the application to RHEL7 and we noticed that the tai= l -f command here is not refreshing as soon as the file get changed. In Red= hat 9, it is working fine, every write on the file got reflected straight a= way(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, usi= ng: > = > stat -f -c '%t %T' /path/to/your/file > = > cheers, > P=E1draig > This message and the information contained herein is proprietary and = > confidential and subject to the Amdocs policy statement, > = > you may review at https://www.amdocs.com/about/email-disclaimer = > > = > = > = > = This message and the information contained herein is proprietary and confid= ential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 18 02:39:42 2018 Received: (at 31184) by debbugs.gnu.org; 18 Apr 2018 06:39:42 +0000 Received: from localhost ([127.0.0.1]:58400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8gko-0007JM-JX for submit@debbugs.gnu.org; Wed, 18 Apr 2018 02:39:42 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:59759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8gkm-0007J8-1T for 31184@debbugs.gnu.org; Wed, 18 Apr 2018 02:39:40 -0400 Received: from [192.168.101.10] ([91.12.167.57]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MIe7s-1fAsbZ2MBM-002FxB; Wed, 18 Apr 2018 08:39:21 +0200 Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. To: Jewsco Pius Jacquez , Erik Auerswald References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> <20180417160621.GA6282@unix-ag.uni-kl.de> <928383E97540B44CBDF7C869E109F72B0194612DF9@USCMIDAGBE1.corp.amdocs.com> From: Bernhard Voelker Openpgp: preference=signencrypt Autocrypt: addr=mail@bernhard-voelker.de; prefer-encrypt=mutual; keydata= xsBNBFPirzMBCACyzYldTjQ4ufFOkByY5Nn5USb5GFoL48nWBwNHjd9KUbtRRNlQiPNKd6hK Gvd3BGi5aoFKA4ytfRk6jbAbW3jVb3R8wYaV08mOy4KVEKxqN4bxsXlMjNChXVR+rtKDmfI+ oPTL+cPH2X6gW4W02IRbVw0uUhNm6zEedC/gNrY/mTlf1enZ46jxZ7BTUZaG+kx38UMISIMB zSzLRtdkwgmHj4jS3p1fF2cwRqLclIfMjKGpbNFPEXeXKWrCLcqHw78795eAR9q0YvrDkfIn GdDBwfb3VM4NdulwIFzvYZMSXvSbbyPLB5YkHU5aAWQHUse4WlfT5ccDpbzUYldRAvF9ABEB AAHNK0Jlcm5oYXJkIFZvZWxrZXIgPG1haWxAYmVybmhhcmQtdm9lbGtlci5kZT7CwHkEEwEC ACMFAlPirzMCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRBGUC73lpFxle5wCACC dbs0QaJ0vR3Sff2cKdTk41rUq3YfWngsR///IOU0C5DdkePmCnJE/lUsUy0LRTxcUDLxQR+x QHU8ssRT0JUO9726dI3miy36UdsgmBYaOtLvQcidGmW1R7o0PYYf04+TFtyqKgngOUBPpMgR 6o4UsQxy/OD4bN1WDqOgIjL+D/qJpkKmgp6L6+hhaBCpiOFKRmmV7YyQ3SqVlfQNiHs5ZtkR nXpIjgZARV+GllKucI17bO0CGmTJZ1tstVy0+W3DQT1lbBkTTc++5LONM99D3jjn23l1ocOp folR53F7I4cb2RNfT23v1I59RH37lB9wMOqrKj0UjYAC2YoPGQ3BzsBNBFPirzMBCADXLWWp QihBldY6reca8ZKdc3T9qXEOa3akE3DWKztIBmNJhtYOjmpLYajQTkGa7UoJTnbmZE2Rn6ZE oNnvb0gcFNAIcY95KOI+bjOR8HEgh4cx2REXh6L6olIgyXqt/KFusE4wtVZAFxZl+30HzN6n D+1HvrjXxPJRX6MsIYOYyyX9/6OofwJK6QHODYGp8WL2olHDnmsXg4AT6Wlr7qKpKrQELlcF R4xkvdmgL/Ghw/tK0yJTxMIcewCCZWLPOXRmFRbvAadZWPAgVsJ63siNyUlVnVMSzDgTJl+s l/DMabXpqrJQx3/1Yy6mTaDs3XZT/wmBKaTLXx/LByaPxQQ7ABEBAAHCwF8EGAECAAkFAlPi rzMCGwwACgkQRlAu95aRcZWVPwgAqZT6iTXkoP37wYb41323RzhBcJ8JSk4cyBDBUXX0lMrM 3qhiClKG7phpxVdu817Gwc6Hsecg7FfjQAV8MHQ0ZFeEFdk3b2rKBqfsStc+h49/xF3Fb+if CzR9qeQF82fMSxkg18++7hMcHCMO/hPZ/Q0xRi+lrSr2QKDJQuLzSyVU14TxrCkevZjEhtma VNvcJlJzCbiBXee9Fpc5jITUXPFG8E8dxqo1n+duOyIMgozrAnzP7X5V/Ob/Ozf/aGGX9+Jd inyfCX18nWcHALKMU/36Eua/ylalf/2c2YkBp9KCLVmGgPkUgW52EeRPgroIsiwu+rwCSV6Z UyCJ+OymCg== Message-ID: <758aa6a5-a1d6-d8ad-b0ec-1f4c134281ce@bernhard-voelker.de> Date: Wed, 18 Apr 2018 08:39:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <928383E97540B44CBDF7C869E109F72B0194612DF9@USCMIDAGBE1.corp.amdocs.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:WGgRAyCp98+8qqqkdk27RphnBixKWQ8XvV+/5Czaz6T5/LJEnwY S6VlKQ6EKLmS6z/BOK33cnSu1Iw9jDGSJTcj0Dyjt6ZzjKQQx9ODxjqTAlIRVWlWvA92BEp AMcKBsWXwyfRbw2WcSlSgbMoO1XbR8tb7ihgtUQgvewfrxqY2u70bsb/UMwXl4nP+3MezXL NqgqZYoeeYxQcQe4W24tw== X-UI-Out-Filterresults: notjunk:1;V01:K0:iNuFBrOjbrI=:OypkJNWUkmdFzfCocT1VGR UeANwiWZtkyjJfQZoogxJg6HmGBG4+A9+z5ZuMipo+AAxBfllhPnMpzVTBQGIEG3DvX1KQ9Ts IZwGzD9PRDg5wNJFG24mUDHjWPwt+upM2h2gUKb7sxHH0Ku+OovqT8iaX6UBOftzV907pH6uI wq/3uUhHSWlwAsrWncGuM1DheAdY45C16Cx9PsBr7eVEA0Wh8GccF1m7U0LKaHSu1wMS+NloM 6XhQQBpA4p5QPI/yRNHRRzuQ6AaVCQ0wfn2Fyh6NSMtzR19qju8J+pfi0Z85VLTsw6Fw6JPrY 5XAGZ2PlHmRioDP+S05rU222H8ENhzJ6wVVwMvvRkJghr15q6G9QQ3BWwW8omQe2uMPMp0xte VKkTB/Wr8p2r4Oys0jaIVoq9y1ZHg0bAo7+7nQ8fjjpf0gvuf70UqZvhxlJgTYj9iikVmdubB GIgow9xU4QTuRodckZOp+UBm7eBScO1hv06wo/CA5hfJhW2ry0owhTVF13kXnz/kwUdVfNSR0 ZyDBKzSAS4TO0SvZM7t+ZAXaKepXPWvnDEQJ/LtvC07woonnYzgNXdr3H2nZLpnWrpOprJBrQ RkFlHIT/AIAGyhGVllRE8/QL8cv+QKg0QV1D7r49glMdPkT2fMW5MesV2/c0XDzAC++naad0L dPbJLSHHkmd8HTwutYZ8NaSAHqY4Xu6z/BhHgq7PW/DUKoZij5WKS0nJYJ5bwNSHLXXiv/pii GHGfZ/wGYKxBmTMAKkBxJy9ikgjg2AWFxFEosfpJbCDiT9vuKzBxL8eZgYY= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 Cc: "31184@debbugs.gnu.org" <31184@debbugs.gnu.org>, =?UTF-8?Q?P=c3=a1draig_Brady?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 04/17/2018 08:18 PM, Jewsco Pius Jacquez wrote: > Yes, it didn't work either. > > The closest is this one(below), but still the update is every second only. > # tail --follow=name --max-unchanged-stats=1 --sleep-interval=1 /media/samba/test.file The --sleep-interval option not only accepts integers: see info: When using tail without inotify support, you can make it more responsive by using a sub-second sleep interval, e.g., via an alias like this: alias tail='tail -s.1' >> On 04/17/2018 05:46 PM, Jewsco Pius Jacquez wrote: >>> [root@cmilsbtest03 ~]# stat -f -c '%t %T' /media/samba/test.file >>> ff534d42 cifs But as tail(1) treats CIFS as "remote" [1], there may be some other effect, e.g. buffering on the CIFS server or on the server writing to that file. Are you sure data is available more often? [1] https://git.sv.gnu.org/cgit/coreutils.git/tree/src/stat.c?id=e6017741e9#n301 Have a nice day, Berny From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 18 23:03:57 2018 Received: (at 31184) by debbugs.gnu.org; 19 Apr 2018 03:03:57 +0000 Received: from localhost ([127.0.0.1]:59937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8zrZ-0001Au-8Q for submit@debbugs.gnu.org; Wed, 18 Apr 2018 23:03:57 -0400 Received: from mail.magicbluesmoke.com ([82.195.144.49]:47948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8zrY-0001An-6L for 31184@debbugs.gnu.org; Wed, 18 Apr 2018 23:03:56 -0400 Received: from localhost.localdomain (unknown [76.21.115.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 40D8F98B5; Thu, 19 Apr 2018 04:03:55 +0100 (IST) Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. To: Jewsco Pius Jacquez , "31184@debbugs.gnu.org" <31184@debbugs.gnu.org> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: Date: Wed, 18 Apr 2018 20:03:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Could you clarify whether the rhel7 version of tail is too slow when showing updates to the file, or misses updates to the file entirely. There have been various fixes to tail, so it would be worth verifying how the latest behaves, like: wget https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz tar -xf coreutils-8.29.tar.xz cd coreutils-8.29 ./configure --quiet && make -j$(nproc) src/tail -f /media/samba/test.file cheers, Pádraig From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 19 10:43:19 2018 Received: (at 31184) by debbugs.gnu.org; 19 Apr 2018 14:43:19 +0000 Received: from localhost ([127.0.0.1]:33052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9AmN-0000Du-9b for submit@debbugs.gnu.org; Thu, 19 Apr 2018 10:43:19 -0400 Received: from stlmail1.amdocs.com ([69.150.27.74]:4087 helo=mx2.amdocs.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9AmL-0000De-Ef for 31184@debbugs.gnu.org; Thu, 19 Apr 2018 10:43:17 -0400 amddisc: amdocs_ Received: from unknown (HELO USCMIDAGFE1.corp.amdocs.com) ([10.26.49.50]) by stlmail1.corp.amdocs.com with ESMTP; 19 Apr 2018 09:43:08 -0500 Received: from USCMIDAGBE1.corp.amdocs.com ([fe80::786b:593d:d7c6:593e]) by USCMIDAGFE1.corp.amdocs.com ([fe80::c0c3:17ea:beb:65a7%10]) with mapi id 14.03.0352.000; Thu, 19 Apr 2018 09:43:07 -0500 From: Jewsco Pius Jacquez To: =?iso-8859-1?Q?P=E1draig_Brady?= , "31184@debbugs.gnu.org" <31184@debbugs.gnu.org> Subject: RE: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Topic: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Index: AQHT1h3tUOzJzcz97Uu6+lftaMS0h6QFGS6AgAKkgICAAG67AA== Date: Thu, 19 Apr 2018 14:43:07 +0000 Message-ID: <928383E97540B44CBDF7C869E109F72B019461D638@USCMIDAGBE1.corp.amdocs.com> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.120.123.51] Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) P=E1draig, thanks for your response. In my reproducer environment, it doesn't totally update. RHEL7 Samba server= , RHEL6 Samba client. Unless I provided the extra interval parameter. = When I run it in Redhat9, I don't need any extra, it refresh automatically. [jjacquez@cmilsbtest03 src]$ ./tail --version tail (GNU coreutils) 8.29 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. [jjacquez@cmilsbtest03 src]$ date; time ./tail -f /media/samba/test.file Thu Apr 19 09:28:48 CDT 2018 Thu Apr 19 09:28:47 CDT 2018 Thu Apr 19 09:28:48 CDT 2018 Thu Apr 19 09:28:48 CDT 2018 Thu Apr 19 09:28:48 CDT 2018 Thu Apr 19 09:28:48 CDT 2018 Thu Apr 19 09:28:48 CDT 2018 Thu Apr 19 09:28:48 CDT 2018 Thu Apr 19 09:28:48 CDT 2018 Thu Apr 19 09:28:48 CDT 2018 Thu Apr 19 09:28:48 CDT 2018 ^C real 10m51.467s user 0m0.009s sys 0m0.006s [jjacquez@cmilsbtest03 src]$ date; time ./tail -f /media/samba/test.file Thu Apr 19 09:39:42 CDT 2018 Thu Apr 19 09:39:38 CDT 2018 Thu Apr 19 09:39:38 CDT 2018 Thu Apr 19 09:39:38 CDT 2018 Thu Apr 19 09:39:38 CDT 2018 Thu Apr 19 09:39:38 CDT 2018 Thu Apr 19 09:39:38 CDT 2018 Thu Apr 19 09:39:38 CDT 2018 Thu Apr 19 09:39:38 CDT 2018 Thu Apr 19 09:39:39 CDT 2018 Thu Apr 19 09:39:39 CDT 2018 ^C real 0m3.908s user 0m0.000s sys 0m0.001s [jjacquez@cmilsbtest03 src]$ -----Original Message----- From: P=E1draig Brady [mailto:P@draigBrady.com] = Sent: Wednesday, April 18, 2018 10:04 PM To: Jewsco Pius Jacquez ; 31184@debbugs.gnu.= org Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the= file is changed. Could you clarify whether the rhel7 version of tail is too slow when showin= g updates to the file, or misses updates to the file entirely. There have been various fixes to tail, so it would be worth verifying how t= he latest behaves, like: wget https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz tar -xf coreutils-8.29.tar.xz cd coreutils-8.29 ./configure --quiet && make -j$(nproc) src/tail -f /media/samba/test.file cheers, P=E1draig This message and the information contained herein is proprietary and confid= ential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 30 17:09:48 2018 Received: (at 31184) by debbugs.gnu.org; 30 Apr 2018 21:09:48 +0000 Received: from localhost ([127.0.0.1]:44378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDG3Q-0000hN-3H for submit@debbugs.gnu.org; Mon, 30 Apr 2018 17:09:48 -0400 Received: from stlmail1.amdocs.com ([69.150.27.74]:3292 helo=mx2.amdocs.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDG3O-0000h9-G5 for 31184@debbugs.gnu.org; Mon, 30 Apr 2018 17:09:47 -0400 amddisc: amdocs_ Received: from unknown (HELO USCMIDAGFE1.corp.amdocs.com) ([10.26.49.50]) by stlmail1.corp.amdocs.com with ESMTP; 30 Apr 2018 16:09:39 -0500 Received: from USCMIDAGBE1.corp.amdocs.com ([fe80::786b:593d:d7c6:593e]) by USCMIDAGFE1.corp.amdocs.com ([fe80::c0c3:17ea:beb:65a7%10]) with mapi id 14.03.0352.000; Mon, 30 Apr 2018 16:09:39 -0500 From: Jewsco Pius Jacquez To: =?iso-8859-1?Q?P=E1draig_Brady?= , "31184@debbugs.gnu.org" <31184@debbugs.gnu.org> Subject: RE: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Topic: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Index: AQHT1h3tUOzJzcz97Uu6+lftaMS0h6QFGS6AgAKkgICAAG67AIARtlBg Date: Mon, 30 Apr 2018 21:09:38 +0000 Message-ID: <928383E97540B44CBDF7C869E109F72B019466CB4C@USCMIDAGBE1.corp.amdocs.com> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.120.123.221] Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) P=E1draig, did you get a chance to look into this? Thanks, Jewsco -----Original Message----- From: Jewsco Pius Jacquez = Sent: Thursday, April 19, 2018 9:43 AM To: 'P=E1draig Brady' ; 31184@debbugs.gnu.org Subject: RE: bug#31184: tail -f on Network FS not refreshing as soon as the= file is changed. P=E1draig, thanks for your response. In my reproducer environment, it doesn't totally update. RHEL7 Samba server= , RHEL6 Samba client. Unless I provided the extra interval parameter. = When I run it in Redhat9, I don't need any extra, it refresh automatically. [jjacquez@cmilsbtest03 src]$ ./tail --version tail (GNU coreutils) 8.29 Cop= yright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. [jjacquez@cmilsbtest03 src]$ date; time ./tail -f /media/samba/test.file Th= u Apr 19 09:28:48 CDT 2018 Thu Apr 19 09:28:47 CDT 2018 Thu Apr 19 09:28:48= CDT 2018 Thu Apr 19 09:28:48 CDT 2018 Thu Apr 19 09:28:48 CDT 2018 Thu Apr= 19 09:28:48 CDT 2018 Thu Apr 19 09:28:48 CDT 2018 Thu Apr 19 09:28:48 CDT = 2018 Thu Apr 19 09:28:48 CDT 2018 Thu Apr 19 09:28:48 CDT 2018 Thu Apr 19 0= 9:28:48 CDT 2018 ^C real 10m51.467s user 0m0.009s sys 0m0.006s [jjacquez@cmilsbtest03 src]$ date; time ./tail -f /media/samba/test.file Th= u Apr 19 09:39:42 CDT 2018 Thu Apr 19 09:39:38 CDT 2018 Thu Apr 19 09:39:38= CDT 2018 Thu Apr 19 09:39:38 CDT 2018 Thu Apr 19 09:39:38 CDT 2018 Thu Apr= 19 09:39:38 CDT 2018 Thu Apr 19 09:39:38 CDT 2018 Thu Apr 19 09:39:38 CDT = 2018 Thu Apr 19 09:39:38 CDT 2018 Thu Apr 19 09:39:39 CDT 2018 Thu Apr 19 0= 9:39:39 CDT 2018 ^C real 0m3.908s user 0m0.000s sys 0m0.001s [jjacquez@cmilsbtest03 src]$ -----Original Message----- From: P=E1draig Brady [mailto:P@draigBrady.com] Sent: Wednesday, April 18, 2018 10:04 PM To: Jewsco Pius Jacquez ; 31184@debbugs.gnu.= org Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the= file is changed. Could you clarify whether the rhel7 version of tail is too slow when showin= g updates to the file, or misses updates to the file entirely. There have been various fixes to tail, so it would be worth verifying how t= he latest behaves, like: wget https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz tar -xf coreutils-8.29.tar.xz cd coreutils-8.29 ./configure --quiet && make -j$(nproc) src/tail -f /media/samba/test.file cheers, P=E1draig This message and the information contained herein is proprietary and confid= ential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer From debbugs-submit-bounces@debbugs.gnu.org Wed May 02 03:45:57 2018 Received: (at 31184) by debbugs.gnu.org; 2 May 2018 07:45:57 +0000 Received: from localhost ([127.0.0.1]:46363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDmSb-0007RS-26 for submit@debbugs.gnu.org; Wed, 02 May 2018 03:45:57 -0400 Received: from mail.magicbluesmoke.com ([82.195.144.49]:41266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDmSX-0007RH-JH for 31184@debbugs.gnu.org; Wed, 02 May 2018 03:45:54 -0400 Received: from localhost.localdomain (unknown [76.21.115.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id A6BBCAF4C; Wed, 2 May 2018 08:45:51 +0100 (IST) Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. To: Jewsco Pius Jacquez , "31184@debbugs.gnu.org" <31184@debbugs.gnu.org> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> <928383E97540B44CBDF7C869E109F72B019461D638@USCMIDAGBE1.corp.amdocs.com> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <8b5767e5-dd4b-e977-9e89-7322646f6f63@draigBrady.com> Date: Wed, 2 May 2018 00:45:49 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <928383E97540B44CBDF7C869E109F72B019461D638@USCMIDAGBE1.corp.amdocs.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 19/04/18 07:43, Jewsco Pius Jacquez wrote: > Pádraig, thanks for your response. > > In my reproducer environment, it doesn't totally update. RHEL7 Samba server, RHEL6 Samba client. > > Unless I provided the extra interval parameter. You said you used: tail --follow=name --max-unchanged-stats=1 --sleep-interval=1 The --sleep-interval=1 having a difference is confusing as that already defaults to one second. Also --max-unchanged-stats=1 should only make things more responsive. I would have expected only --follow=name to have a significant difference to the data that is eventually output. Anyway there may be an issue with st_size updating on your system. I.E. if stat() didn't update st_size on this remote file then a new change that protects against a related issue on glusterfs may be impacting here. One could check that by reverting the patch and rebuilding in your previous build dir like: cd coreutils-8.29 && wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | patch -R -p1 && make One might also check this externally to tail(1) by repeatedly running the following and seeing does the number correlate with remote changes: stat -c '%s' /media/samba/test.file cheers, Pádraig From debbugs-submit-bounces@debbugs.gnu.org Wed May 02 09:39:35 2018 Received: (at 31184) by debbugs.gnu.org; 2 May 2018 13:39:35 +0000 Received: from localhost ([127.0.0.1]:46486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDryp-00010O-FH for submit@debbugs.gnu.org; Wed, 02 May 2018 09:39:35 -0400 Received: from stlmail1.amdocs.com ([69.150.27.74]:65394 helo=mx2.amdocs.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDrym-000108-CE for 31184@debbugs.gnu.org; Wed, 02 May 2018 09:39:34 -0400 amddisc: amdocs_ Received: from unknown (HELO USCMIDAGFE1.corp.amdocs.com) ([10.26.49.50]) by stlmail1.corp.amdocs.com with ESMTP; 02 May 2018 08:39:24 -0500 Received: from USCMIDAGBE1.corp.amdocs.com ([fe80::786b:593d:d7c6:593e]) by USCMIDAGFE1.corp.amdocs.com ([fe80::c0c3:17ea:beb:65a7%10]) with mapi id 14.03.0352.000; Wed, 2 May 2018 08:39:24 -0500 From: Jewsco Pius Jacquez To: =?iso-8859-1?Q?P=E1draig_Brady?= , "31184@debbugs.gnu.org" <31184@debbugs.gnu.org> Subject: RE: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Topic: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Index: AQHT1h3tUOzJzcz97Uu6+lftaMS0h6QFGS6AgAKkgICAFGlLJ4AAYV+g Date: Wed, 2 May 2018 13:39:23 +0000 Message-ID: <928383E97540B44CBDF7C869E109F72B01946777C1@USCMIDAGBE1.corp.amdocs.com> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> <928383E97540B44CBDF7C869E109F72B019461D638@USCMIDAGBE1.corp.amdocs.com> <8b5767e5-dd4b-e977-9e89-7322646f6f63@draigBrady.com> In-Reply-To: <8b5767e5-dd4b-e977-9e89-7322646f6f63@draigBrady.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.120.122.226] Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I tried and the --follow=3Dname doesn't refresh either. The stat output is = changing. [jjacquez@cmilsbtest03 ~]$ tail --follow=3Dname /media/samba/test.file append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:55 CDT 2018 ^C [jjacquez@cmilsbtest03 ~]$ tail --follow=3Dname /media/samba/test.file append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 ^C [jjacquez@cmilsbtest03 ~]$ while :; do stat -c '%s' /media/samba/test.file;= sleep 1; done 1649717 1650077 1650401 1650761 1651121 1651445 1651769 1652093 1652417 About the reverting the patch, so I need to download the source and patch i= t? cd coreutils-8.29 && wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | patch -R -p1 && make Thanks, Jewsco -----Original Message----- From: P=E1draig Brady [mailto:P@draigBrady.com] = Sent: Wednesday, May 2, 2018 2:46 AM To: Jewsco Pius Jacquez ; 31184@debbugs.gnu.= org Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the= file is changed. On 19/04/18 07:43, Jewsco Pius Jacquez wrote: > P=E1draig, thanks for your response. > = > In my reproducer environment, it doesn't totally update. RHEL7 Samba serv= er, RHEL6 Samba client. > = > Unless I provided the extra interval parameter. = You said you used: tail --follow=3Dname --max-unchanged-stats=3D1 --sleep-i= nterval=3D1 The --sleep-interval=3D1 having a difference is confusing as that already d= efaults to one second. Also --max-unchanged-stats=3D1 should only make things more responsive. I would have expected only --follow=3Dname to have a significant difference= to the data that is eventually output. Anyway there may be an issue with st_size updating on your system. I.E. if stat() didn't update st_size on this remote file then a new change = that protects against a related issue on glusterfs may be impacting here. O= ne could check that by reverting the patch and rebuilding in your previous = build dir like: cd coreutils-8.29 && wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | patch -R -p1 && make One might also check this externally to tail(1) by repeatedly running the f= ollowing and seeing does the number correlate with remote changes: stat -c '%s' /media/samba/test.file cheers, P=E1draig This message and the information contained herein is proprietary and confid= ential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer From debbugs-submit-bounces@debbugs.gnu.org Thu May 03 21:47:27 2018 Received: (at 31184) by debbugs.gnu.org; 4 May 2018 01:47:27 +0000 Received: from localhost ([127.0.0.1]:48757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEPol-0004q7-5H for submit@debbugs.gnu.org; Thu, 03 May 2018 21:47:27 -0400 Received: from mail.magicbluesmoke.com ([82.195.144.49]:43640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEPoj-0004py-99 for 31184@debbugs.gnu.org; Thu, 03 May 2018 21:47:25 -0400 Received: from localhost.localdomain (unknown [76.21.115.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 601E89E40; Fri, 4 May 2018 02:47:23 +0100 (IST) Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. To: Jewsco Pius Jacquez , "31184@debbugs.gnu.org" <31184@debbugs.gnu.org> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> <928383E97540B44CBDF7C869E109F72B019461D638@USCMIDAGBE1.corp.amdocs.com> <8b5767e5-dd4b-e977-9e89-7322646f6f63@draigBrady.com> <928383E97540B44CBDF7C869E109F72B01946777C1@USCMIDAGBE1.corp.amdocs.com> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <2f2ba861-274b-0f4e-8692-51e4da6aaee7@draigBrady.com> Date: Thu, 3 May 2018 18:47:21 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <928383E97540B44CBDF7C869E109F72B01946777C1@USCMIDAGBE1.corp.amdocs.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 02/05/18 06:39, Jewsco Pius Jacquez wrote: > I tried and the --follow=name doesn't refresh either. The stat output is changing. > > [jjacquez@cmilsbtest03 ~]$ tail --follow=name /media/samba/test.file > append Wed May 2 08:35:54 CDT 2018 > append Wed May 2 08:35:54 CDT 2018 > append Wed May 2 08:35:54 CDT 2018 > append Wed May 2 08:35:54 CDT 2018 > append Wed May 2 08:35:54 CDT 2018 > append Wed May 2 08:35:54 CDT 2018 > append Wed May 2 08:35:54 CDT 2018 > append Wed May 2 08:35:54 CDT 2018 > append Wed May 2 08:35:54 CDT 2018 > append Wed May 2 08:35:55 CDT 2018 > ^C > [jjacquez@cmilsbtest03 ~]$ tail --follow=name /media/samba/test.file > append Wed May 2 08:36:01 CDT 2018 > append Wed May 2 08:36:01 CDT 2018 > append Wed May 2 08:36:01 CDT 2018 > append Wed May 2 08:36:02 CDT 2018 > append Wed May 2 08:36:02 CDT 2018 > append Wed May 2 08:36:02 CDT 2018 > append Wed May 2 08:36:02 CDT 2018 > append Wed May 2 08:36:02 CDT 2018 > append Wed May 2 08:36:02 CDT 2018 > append Wed May 2 08:36:02 CDT 2018 > ^C > [jjacquez@cmilsbtest03 ~]$ while :; do stat -c '%s' /media/samba/test.file; sleep 1; done > 1649717 > 1650077 > 1650401 > 1650761 > 1651121 > 1651445 > 1651769 > 1652093 > 1652417 > > > About the reverting the patch, so I need to download the source and patch it? > > cd coreutils-8.29 && > wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | > patch -R -p1 && > make You'd done that previously, for for completeness yes you need to download the source first like: wget https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz tar -xf coreutils-8.29.tar.xz thanks, Pádraig From debbugs-submit-bounces@debbugs.gnu.org Fri May 04 11:12:15 2018 Received: (at 31184) by debbugs.gnu.org; 4 May 2018 15:12:15 +0000 Received: from localhost ([127.0.0.1]:49895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEcNa-0006Dp-N7 for submit@debbugs.gnu.org; Fri, 04 May 2018 11:12:14 -0400 Received: from stlmail1.amdocs.com ([69.150.27.74]:52956 helo=mx2.amdocs.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEcNY-0006Da-Nk for 31184@debbugs.gnu.org; Fri, 04 May 2018 11:12:13 -0400 amddisc: amdocs_ Received: from unknown (HELO USCMIDAGFE2.corp.amdocs.com) ([10.26.49.50]) by stlmail1.corp.amdocs.com with ESMTP; 04 May 2018 10:12:06 -0500 Received: from USCMIDAGBE1.corp.amdocs.com ([fe80::786b:593d:d7c6:593e]) by USCMIDAGFE2.corp.amdocs.com ([fe80::d0ba:8b97:14c:21da%10]) with mapi id 14.03.0352.000; Fri, 4 May 2018 10:12:05 -0500 From: Jewsco Pius Jacquez To: =?iso-8859-1?Q?P=E1draig_Brady?= , "31184@debbugs.gnu.org" <31184@debbugs.gnu.org> Subject: RE: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Topic: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Index: AQHT1h3tUOzJzcz97Uu6+lftaMS0h6QFGS6AgAKkgICAFGlLJ4AAYV+ggAKy7ICAAIxfUA== Date: Fri, 4 May 2018 15:12:04 +0000 Message-ID: <928383E97540B44CBDF7C869E109F72B01946891E9@USCMIDAGBE1.corp.amdocs.com> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> <928383E97540B44CBDF7C869E109F72B019461D638@USCMIDAGBE1.corp.amdocs.com> <8b5767e5-dd4b-e977-9e89-7322646f6f63@draigBrady.com> <928383E97540B44CBDF7C869E109F72B01946777C1@USCMIDAGBE1.corp.amdocs.com> <2f2ba861-274b-0f4e-8692-51e4da6aaee7@draigBrady.com> In-Reply-To: <2f2ba861-274b-0f4e-8692-51e4da6aaee7@draigBrady.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.120.120.169] Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thanks, did I missed anything? [jjacquez@cmilsbtest02 ~]$ wget --quiet https://ftpmirror.gnu.org/coreutils= /coreutils-8.29.tar.xz [jjacquez@cmilsbtest02 ~]$ cksum coreutils-8.29.tar.xz 926393761 5286588 coreutils-8.29.tar.xz [jjacquez@cmilsbtest02 ~]$ tar -xf coreutils-8.29.tar.xz [jjacquez@cmilsbtest02 ~]$ cd coreutils-8.29/ [jjacquez@cmilsbtest02 coreutils-8.29]$ wget --quiet 'https://github.com/co= reutils/coreutils/commit/7fc7206.patch' -O- | patch -R -p1 && make patching file NEWS Unreversed patch detected! Ignore -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file NEWS.rej patching file src/tail.c Hunk #1 FAILED at 1220. 1 out of 1 hunk FAILED -- saving rejects to file src/tail.c.rej [jjacquez@cmilsbtest02 coreutils-8.29]$ Thanks, Jewsco -----Original Message----- From: P=E1draig Brady [mailto:P@draigBrady.com] = Sent: Thursday, May 3, 2018 8:47 PM To: Jewsco Pius Jacquez ; 31184@debbugs.gnu.= org Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the= file is changed. On 02/05/18 06:39, Jewsco Pius Jacquez wrote: > I tried and the --follow=3Dname doesn't refresh either. The stat output i= s changing. > = > [jjacquez@cmilsbtest03 ~]$ tail --follow=3Dname /media/samba/test.file = > append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT = > 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 = > CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 = > 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May = > 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May = > 2 08:35:55 CDT 2018 ^C > [jjacquez@cmilsbtest03 ~]$ tail --follow=3Dname /media/samba/test.file = > append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:01 CDT = > 2018 append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:02 = > CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May 2 = > 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May = > 2 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May = > 2 08:36:02 CDT 2018 ^C > [jjacquez@cmilsbtest03 ~]$ while :; do stat -c '%s' = > /media/samba/test.file; sleep 1; done > 1649717 > 1650077 > 1650401 > 1650761 > 1651121 > 1651445 > 1651769 > 1652093 > 1652417 > = > = > About the reverting the patch, so I need to download the source and patch= it? > = > cd coreutils-8.29 && > wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | > patch -R -p1 && > make You'd done that previously, for for completeness yes you need to download t= he source first like: wget https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz tar -xf coreutils-8.29.tar.xz thanks, P=E1draig This message and the information contained herein is proprietary and confid= ential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer From debbugs-submit-bounces@debbugs.gnu.org Sat May 05 18:52:25 2018 Received: (at 31184) by debbugs.gnu.org; 5 May 2018 22:52:25 +0000 Received: from localhost ([127.0.0.1]:50897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fF62T-0005ov-39 for submit@debbugs.gnu.org; Sat, 05 May 2018 18:52:25 -0400 Received: from mail.magicbluesmoke.com ([82.195.144.49]:42634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fF62R-0005on-PH for 31184@debbugs.gnu.org; Sat, 05 May 2018 18:52:24 -0400 Received: from localhost.localdomain (unknown [76.21.115.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 1AA11A194; Sat, 5 May 2018 23:52:21 +0100 (IST) Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. To: Jewsco Pius Jacquez , "31184@debbugs.gnu.org" <31184@debbugs.gnu.org> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> <928383E97540B44CBDF7C869E109F72B019461D638@USCMIDAGBE1.corp.amdocs.com> <8b5767e5-dd4b-e977-9e89-7322646f6f63@draigBrady.com> <928383E97540B44CBDF7C869E109F72B01946777C1@USCMIDAGBE1.corp.amdocs.com> <2f2ba861-274b-0f4e-8692-51e4da6aaee7@draigBrady.com> <928383E97540B44CBDF7C869E109F72B01946891E9@USCMIDAGBE1.corp.amdocs.com> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <6a3ca1b3-e1b6-826d-65c6-3f71149cda2d@draigBrady.com> Date: Sat, 5 May 2018 15:52:19 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <928383E97540B44CBDF7C869E109F72B01946891E9@USCMIDAGBE1.corp.amdocs.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 04/05/18 08:12, Jewsco Pius Jacquez wrote: > Thanks, did I missed anything? > > [jjacquez@cmilsbtest02 ~]$ wget --quiet https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz > [jjacquez@cmilsbtest02 ~]$ cksum coreutils-8.29.tar.xz > 926393761 5286588 coreutils-8.29.tar.xz > [jjacquez@cmilsbtest02 ~]$ tar -xf coreutils-8.29.tar.xz > [jjacquez@cmilsbtest02 ~]$ cd coreutils-8.29/ > [jjacquez@cmilsbtest02 coreutils-8.29]$ wget --quiet 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | patch -R -p1 && make > patching file NEWS > Unreversed patch detected! Ignore -R? [n] > Apply anyway? [n] > Skipping patch. > 1 out of 1 hunk ignored -- saving rejects to file NEWS.rej > patching file src/tail.c > Hunk #1 FAILED at 1220. > 1 out of 1 hunk FAILED -- saving rejects to file src/tail.c.rej > [jjacquez@cmilsbtest02 coreutils-8.29]$ > > > > Thanks, > Jewsco > > > > > > -----Original Message----- > From: Pádraig Brady [mailto:P@draigBrady.com] > Sent: Thursday, May 3, 2018 8:47 PM > To: Jewsco Pius Jacquez ; 31184@debbugs.gnu.org > Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. > > On 02/05/18 06:39, Jewsco Pius Jacquez wrote: >> I tried and the --follow=name doesn't refresh either. The stat output is changing. >> >> [jjacquez@cmilsbtest03 ~]$ tail --follow=name /media/samba/test.file >> append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT >> 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 >> CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 >> 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May >> 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May >> 2 08:35:55 CDT 2018 ^C >> [jjacquez@cmilsbtest03 ~]$ tail --follow=name /media/samba/test.file >> append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:01 CDT >> 2018 append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:02 >> CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May 2 >> 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May >> 2 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May >> 2 08:36:02 CDT 2018 ^C >> [jjacquez@cmilsbtest03 ~]$ while :; do stat -c '%s' >> /media/samba/test.file; sleep 1; done >> 1649717 >> 1650077 >> 1650401 >> 1650761 >> 1651121 >> 1651445 >> 1651769 >> 1652093 >> 1652417 >> >> >> About the reverting the patch, so I need to download the source and patch it? >> >> cd coreutils-8.29 && >> wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | >> patch -R -p1 && >> make > > You'd done that previously, for for completeness yes you need to download the source first like: > > wget https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz > tar -xf coreutils-8.29.tar.xz Drats sorry. There were conflicting patches in the meantime. You can tweak it like: cd coreutils-8.29 && wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | sed 's/name,/false, name,/' | patch -p1 -R -t && make cheers, Pádraig From debbugs-submit-bounces@debbugs.gnu.org Tue May 08 09:56:07 2018 Received: (at 31184) by debbugs.gnu.org; 8 May 2018 13:56:07 +0000 Received: from localhost ([127.0.0.1]:54364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fG366-0005oX-NR for submit@debbugs.gnu.org; Tue, 08 May 2018 09:56:07 -0400 Received: from stlmail1.amdocs.com ([69.150.27.74]:13422 helo=mx2.amdocs.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fG361-0005oA-CG for 31184@debbugs.gnu.org; Tue, 08 May 2018 09:56:04 -0400 amddisc: amdocs_ Received: from unknown (HELO USCMIDAGFE1.corp.amdocs.com) ([10.26.49.50]) by stlmail1.corp.amdocs.com with ESMTP; 08 May 2018 08:55:41 -0500 Received: from USCMIDAGBE1.corp.amdocs.com ([fe80::786b:593d:d7c6:593e]) by USCMIDAGFE1.corp.amdocs.com ([fe80::c0c3:17ea:beb:65a7%10]) with mapi id 14.03.0352.000; Tue, 8 May 2018 08:55:41 -0500 From: Jewsco Pius Jacquez To: =?iso-8859-1?Q?P=E1draig_Brady?= , "31184@debbugs.gnu.org" <31184@debbugs.gnu.org> Subject: RE: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Topic: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Index: AQHT1h3tUOzJzcz97Uu6+lftaMS0h6QFGS6AgAKkgICAFGlLJ4AAYV+ggAKy7ICAAIxfUIACZ2OAgAPM+qA= Date: Tue, 8 May 2018 13:55:40 +0000 Message-ID: <928383E97540B44CBDF7C869E109F72B01946ABA82@USCMIDAGBE1.corp.amdocs.com> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> <928383E97540B44CBDF7C869E109F72B019461D638@USCMIDAGBE1.corp.amdocs.com> <8b5767e5-dd4b-e977-9e89-7322646f6f63@draigBrady.com> <928383E97540B44CBDF7C869E109F72B01946777C1@USCMIDAGBE1.corp.amdocs.com> <2f2ba861-274b-0f4e-8692-51e4da6aaee7@draigBrady.com> <928383E97540B44CBDF7C869E109F72B01946891E9@USCMIDAGBE1.corp.amdocs.com> <6a3ca1b3-e1b6-826d-65c6-3f71149cda2d@draigBrady.com> In-Reply-To: <6a3ca1b3-e1b6-826d-65c6-3f71149cda2d@draigBrady.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.120.123.64] Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thanks Still the same, the -f doesn't refresh. it applies to CIFS and NFS filesyst= em. Is it something related on how the network filesystem was designed? Thanks, Jewsco -----Original Message----- From: P=E1draig Brady [mailto:P@draigBrady.com] = Sent: Saturday, May 5, 2018 5:52 PM To: Jewsco Pius Jacquez ; 31184@debbugs.gnu.= org Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the= file is changed. On 04/05/18 08:12, Jewsco Pius Jacquez wrote: > Thanks, did I missed anything? > = > [jjacquez@cmilsbtest02 ~]$ wget --quiet = > https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz > [jjacquez@cmilsbtest02 ~]$ cksum coreutils-8.29.tar.xz > 926393761 5286588 coreutils-8.29.tar.xz > [jjacquez@cmilsbtest02 ~]$ tar -xf coreutils-8.29.tar.xz > [jjacquez@cmilsbtest02 ~]$ cd coreutils-8.29/ > [jjacquez@cmilsbtest02 coreutils-8.29]$ wget --quiet = > 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | = > patch -R -p1 && make patching file NEWS Unreversed patch detected! = > Ignore -R? [n] Apply anyway? [n] Skipping patch. > 1 out of 1 hunk ignored -- saving rejects to file NEWS.rej patching = > file src/tail.c Hunk #1 FAILED at 1220. > 1 out of 1 hunk FAILED -- saving rejects to file src/tail.c.rej > [jjacquez@cmilsbtest02 coreutils-8.29]$ > = > = > = > Thanks, > Jewsco > = > = > = > = > = > -----Original Message----- > From: P=E1draig Brady [mailto:P@draigBrady.com] > Sent: Thursday, May 3, 2018 8:47 PM > To: Jewsco Pius Jacquez ; = > 31184@debbugs.gnu.org > Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as t= he file is changed. > = > On 02/05/18 06:39, Jewsco Pius Jacquez wrote: >> I tried and the --follow=3Dname doesn't refresh either. The stat output = is changing. >> >> [jjacquez@cmilsbtest03 ~]$ tail --follow=3Dname /media/samba/test.file = >> append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT >> 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 = >> CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 >> 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May >> 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed = >> May >> 2 08:35:55 CDT 2018 ^C >> [jjacquez@cmilsbtest03 ~]$ tail --follow=3Dname /media/samba/test.file = >> append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:01 CDT >> 2018 append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:02 = >> CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May 2 >> 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May >> 2 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed = >> May >> 2 08:36:02 CDT 2018 ^C >> [jjacquez@cmilsbtest03 ~]$ while :; do stat -c '%s' = >> /media/samba/test.file; sleep 1; done >> 1649717 >> 1650077 >> 1650401 >> 1650761 >> 1651121 >> 1651445 >> 1651769 >> 1652093 >> 1652417 >> >> >> About the reverting the patch, so I need to download the source and patc= h it? >> >> cd coreutils-8.29 && >> wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O-= | >> patch -R -p1 && >> make > = > You'd done that previously, for for completeness yes you need to download= the source first like: > = > wget https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz > tar -xf coreutils-8.29.tar.xz Drats sorry. There were conflicting patches in the meantime. You can tweak it like: cd coreutils-8.29 && wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | = sed 's/name,/false, name,/' | patch -p1 -R -t && make cheers, P=E1draig This message and the information contained herein is proprietary and confid= ential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer From debbugs-submit-bounces@debbugs.gnu.org Tue May 22 17:23:27 2018 Received: (at 31184) by debbugs.gnu.org; 22 May 2018 21:23:27 +0000 Received: from localhost ([127.0.0.1]:44553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fLEkh-00057Q-7M for submit@debbugs.gnu.org; Tue, 22 May 2018 17:23:27 -0400 Received: from stlmail1.amdocs.com ([69.150.27.74]:60868 helo=mx2.amdocs.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fLEkf-000576-A4 for 31184@debbugs.gnu.org; Tue, 22 May 2018 17:23:26 -0400 amddisc: amdocs_ Received: from unknown (HELO USCMIDAGFE2.corp.amdocs.com) ([10.26.49.50]) by stlmail1.corp.amdocs.com with ESMTP; 22 May 2018 16:23:11 -0500 Received: from USCMIDAGBE1.corp.amdocs.com ([fe80::786b:593d:d7c6:593e]) by USCMIDAGFE2.corp.amdocs.com ([fe80::d0ba:8b97:14c:21da%10]) with mapi id 14.03.0352.000; Tue, 22 May 2018 16:23:11 -0500 From: Jewsco Pius Jacquez To: =?iso-8859-1?Q?P=E1draig_Brady?= , "31184@debbugs.gnu.org" <31184@debbugs.gnu.org> Subject: RE: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Topic: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Index: AQHT1h3tUOzJzcz97Uu6+lftaMS0h6QFGS6AgAKkgICAFGlLJ4AAYV+ggAKy7ICAAIxfUIACZ2OAgAPM+qCAFn3okA== Date: Tue, 22 May 2018 21:23:11 +0000 Message-ID: <928383E97540B44CBDF7C869E109F72B0194751E24@USCMIDAGBE1.corp.amdocs.com> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> <928383E97540B44CBDF7C869E109F72B019461D638@USCMIDAGBE1.corp.amdocs.com> <8b5767e5-dd4b-e977-9e89-7322646f6f63@draigBrady.com> <928383E97540B44CBDF7C869E109F72B01946777C1@USCMIDAGBE1.corp.amdocs.com> <2f2ba861-274b-0f4e-8692-51e4da6aaee7@draigBrady.com> <928383E97540B44CBDF7C869E109F72B01946891E9@USCMIDAGBE1.corp.amdocs.com> <6a3ca1b3-e1b6-826d-65c6-3f71149cda2d@draigBrady.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.25.144.115] Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Any more ideas? Thanks, Jewsco -----Original Message----- From: Jewsco Pius Jacquez = Sent: Tuesday, May 8, 2018 8:56 AM To: 'P=E1draig Brady' ; 31184@debbugs.gnu.org Subject: RE: bug#31184: tail -f on Network FS not refreshing as soon as the= file is changed. Thanks Still the same, the -f doesn't refresh. it applies to CIFS and NFS filesyst= em. Is it something related on how the network filesystem was designed? Thanks, Jewsco -----Original Message----- From: P=E1draig Brady [mailto:P@draigBrady.com] Sent: Saturday, May 5, 2018 5:52 PM To: Jewsco Pius Jacquez ; 31184@debbugs.gnu.= org Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the= file is changed. On 04/05/18 08:12, Jewsco Pius Jacquez wrote: > Thanks, did I missed anything? > = > [jjacquez@cmilsbtest02 ~]$ wget --quiet = > https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz > [jjacquez@cmilsbtest02 ~]$ cksum coreutils-8.29.tar.xz > 926393761 5286588 coreutils-8.29.tar.xz > [jjacquez@cmilsbtest02 ~]$ tar -xf coreutils-8.29.tar.xz > [jjacquez@cmilsbtest02 ~]$ cd coreutils-8.29/ > [jjacquez@cmilsbtest02 coreutils-8.29]$ wget --quiet = > 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | = > patch -R -p1 && make patching file NEWS Unreversed patch detected! > Ignore -R? [n] Apply anyway? [n] Skipping patch. > 1 out of 1 hunk ignored -- saving rejects to file NEWS.rej patching = > file src/tail.c Hunk #1 FAILED at 1220. > 1 out of 1 hunk FAILED -- saving rejects to file src/tail.c.rej > [jjacquez@cmilsbtest02 coreutils-8.29]$ > = > = > = > Thanks, > Jewsco > = > = > = > = > = > -----Original Message----- > From: P=E1draig Brady [mailto:P@draigBrady.com] > Sent: Thursday, May 3, 2018 8:47 PM > To: Jewsco Pius Jacquez ; = > 31184@debbugs.gnu.org > Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as t= he file is changed. > = > On 02/05/18 06:39, Jewsco Pius Jacquez wrote: >> I tried and the --follow=3Dname doesn't refresh either. The stat output = is changing. >> >> [jjacquez@cmilsbtest03 ~]$ tail --follow=3Dname /media/samba/test.file = >> append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT >> 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 = >> CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 >> 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May >> 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed = >> May >> 2 08:35:55 CDT 2018 ^C >> [jjacquez@cmilsbtest03 ~]$ tail --follow=3Dname /media/samba/test.file = >> append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:01 CDT >> 2018 append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:02 = >> CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May 2 >> 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May >> 2 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed = >> May >> 2 08:36:02 CDT 2018 ^C >> [jjacquez@cmilsbtest03 ~]$ while :; do stat -c '%s' = >> /media/samba/test.file; sleep 1; done >> 1649717 >> 1650077 >> 1650401 >> 1650761 >> 1651121 >> 1651445 >> 1651769 >> 1652093 >> 1652417 >> >> >> About the reverting the patch, so I need to download the source and patc= h it? >> >> cd coreutils-8.29 && >> wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O-= | >> patch -R -p1 && >> make > = > You'd done that previously, for for completeness yes you need to download= the source first like: > = > wget https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz > tar -xf coreutils-8.29.tar.xz Drats sorry. There were conflicting patches in the meantime. You can tweak it like: cd coreutils-8.29 && wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | = sed 's/name,/false, name,/' | patch -p1 -R -t && make cheers, P=E1draig This message and the information contained herein is proprietary and confid= ential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer From debbugs-submit-bounces@debbugs.gnu.org Wed May 23 01:10:33 2018 Received: (at 31184) by debbugs.gnu.org; 23 May 2018 05:10:33 +0000 Received: from localhost ([127.0.0.1]:44650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fLM2j-00012b-AA for submit@debbugs.gnu.org; Wed, 23 May 2018 01:10:33 -0400 Received: from mail.magicbluesmoke.com ([82.195.144.49]:57774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fLM2g-00012Q-BY for 31184@debbugs.gnu.org; Wed, 23 May 2018 01:10:31 -0400 Received: from localhost.localdomain (unknown [76.21.115.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id B05A09EB0; Wed, 23 May 2018 06:10:28 +0100 (IST) Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. To: Jewsco Pius Jacquez , "31184@debbugs.gnu.org" <31184@debbugs.gnu.org> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> <928383E97540B44CBDF7C869E109F72B019461D638@USCMIDAGBE1.corp.amdocs.com> <8b5767e5-dd4b-e977-9e89-7322646f6f63@draigBrady.com> <928383E97540B44CBDF7C869E109F72B01946777C1@USCMIDAGBE1.corp.amdocs.com> <2f2ba861-274b-0f4e-8692-51e4da6aaee7@draigBrady.com> <928383E97540B44CBDF7C869E109F72B01946891E9@USCMIDAGBE1.corp.amdocs.com> <6a3ca1b3-e1b6-826d-65c6-3f71149cda2d@draigBrady.com> <928383E97540B44CBDF7C869E109F72B0194751E24@USCMIDAGBE1.corp.amdocs.com> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: Date: Tue, 22 May 2018 22:10:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <928383E97540B44CBDF7C869E109F72B0194751E24@USCMIDAGBE1.corp.amdocs.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 22/05/18 14:23, Jewsco Pius Jacquez wrote: > Any more ideas? > > Thanks, > Jewsco > > -----Original Message----- > From: Jewsco Pius Jacquez > Sent: Tuesday, May 8, 2018 8:56 AM > To: 'Pádraig Brady' ; 31184@debbugs.gnu.org > Subject: RE: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. > > Thanks > > Still the same, the -f doesn't refresh. it applies to CIFS and NFS filesystem. Is it something related on how the network filesystem was designed? > > Thanks, > Jewsco > > -----Original Message----- > From: Pádraig Brady [mailto:P@draigBrady.com] > Sent: Saturday, May 5, 2018 5:52 PM > To: Jewsco Pius Jacquez ; 31184@debbugs.gnu.org > Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. > > On 04/05/18 08:12, Jewsco Pius Jacquez wrote: >> Thanks, did I missed anything? >> >> [jjacquez@cmilsbtest02 ~]$ wget --quiet >> https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz >> [jjacquez@cmilsbtest02 ~]$ cksum coreutils-8.29.tar.xz >> 926393761 5286588 coreutils-8.29.tar.xz >> [jjacquez@cmilsbtest02 ~]$ tar -xf coreutils-8.29.tar.xz >> [jjacquez@cmilsbtest02 ~]$ cd coreutils-8.29/ >> [jjacquez@cmilsbtest02 coreutils-8.29]$ wget --quiet >> 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | >> patch -R -p1 && make patching file NEWS Unreversed patch detected! >> Ignore -R? [n] Apply anyway? [n] Skipping patch. >> 1 out of 1 hunk ignored -- saving rejects to file NEWS.rej patching >> file src/tail.c Hunk #1 FAILED at 1220. >> 1 out of 1 hunk FAILED -- saving rejects to file src/tail.c.rej >> [jjacquez@cmilsbtest02 coreutils-8.29]$ >> >> >> >> Thanks, >> Jewsco >> >> >> >> >> >> -----Original Message----- >> From: Pádraig Brady [mailto:P@draigBrady.com] >> Sent: Thursday, May 3, 2018 8:47 PM >> To: Jewsco Pius Jacquez ; >> 31184@debbugs.gnu.org >> Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. >> >> On 02/05/18 06:39, Jewsco Pius Jacquez wrote: >>> I tried and the --follow=name doesn't refresh either. The stat output is changing. >>> >>> [jjacquez@cmilsbtest03 ~]$ tail --follow=name /media/samba/test.file >>> append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT >>> 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 >>> CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 >>> 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May >>> 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed >>> May >>> 2 08:35:55 CDT 2018 ^C >>> [jjacquez@cmilsbtest03 ~]$ tail --follow=name /media/samba/test.file >>> append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:01 CDT >>> 2018 append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:02 >>> CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May 2 >>> 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May >>> 2 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed >>> May >>> 2 08:36:02 CDT 2018 ^C >>> [jjacquez@cmilsbtest03 ~]$ while :; do stat -c '%s' >>> /media/samba/test.file; sleep 1; done >>> 1649717 >>> 1650077 >>> 1650401 >>> 1650761 >>> 1651121 >>> 1651445 >>> 1651769 >>> 1652093 >>> 1652417 >>> >>> >>> About the reverting the patch, so I need to download the source and patch it? >>> >>> cd coreutils-8.29 && >>> wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | >>> patch -R -p1 && >>> make >> >> You'd done that previously, for for completeness yes you need to download the source first like: >> >> wget https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz >> tar -xf coreutils-8.29.tar.xz > > Drats sorry. There were conflicting patches in the meantime. > You can tweak it like: > > cd coreutils-8.29 && > wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | sed 's/name,/false, name,/' | patch -p1 -R -t && make > > cheers, > Pádraig > This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, Well I can't repro with 8.29 on nfs here. Perhaps the read() is blocking or something. It would be useful to get the output of: strace -o tail.strace tail -f /media/samba/test.file Also for completeness, it would be good to give the command used to write to the file on the remote end. thanks, Pádraig From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 12 11:10:51 2018 Received: (at 31184) by debbugs.gnu.org; 12 Jun 2018 15:10:51 +0000 Received: from localhost ([127.0.0.1]:45258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSkwd-0002pe-0M for submit@debbugs.gnu.org; Tue, 12 Jun 2018 11:10:51 -0400 Received: from stlmail1.amdocs.com ([69.150.27.74]:47123 helo=mx2.amdocs.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSkwb-0002pR-Mu for 31184@debbugs.gnu.org; Tue, 12 Jun 2018 11:10:50 -0400 amddisc: amdocs_ Received: from unknown (HELO USCMIDAGFE1.corp.amdocs.com) ([10.26.49.50]) by stlmail1.corp.amdocs.com with ESMTP; 12 Jun 2018 10:10:36 -0500 Received: from USCMIDAGBE1.corp.amdocs.com ([fe80::786b:593d:d7c6:593e]) by USCMIDAGFE1.corp.amdocs.com ([fe80::c0c3:17ea:beb:65a7%10]) with mapi id 14.03.0352.000; Tue, 12 Jun 2018 10:10:36 -0500 From: Jewsco Pius Jacquez To: =?iso-8859-1?Q?P=E1draig_Brady?= , "31184@debbugs.gnu.org" <31184@debbugs.gnu.org> Subject: RE: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Topic: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. Thread-Index: AQHT1h3tUOzJzcz97Uu6+lftaMS0h6QFGS6AgAKkgICAFGlLJ4AAYV+ggAKy7ICAAIxfUIACZ2OAgAPM+qCAFn3okIAA1mUAgB/CP4A= Date: Tue, 12 Jun 2018 15:10:35 +0000 Message-ID: <928383E97540B44CBDF7C869E109F72B01947E01E7@USCMIDAGBE1.corp.amdocs.com> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> <928383E97540B44CBDF7C869E109F72B019461D638@USCMIDAGBE1.corp.amdocs.com> <8b5767e5-dd4b-e977-9e89-7322646f6f63@draigBrady.com> <928383E97540B44CBDF7C869E109F72B01946777C1@USCMIDAGBE1.corp.amdocs.com> <2f2ba861-274b-0f4e-8692-51e4da6aaee7@draigBrady.com> <928383E97540B44CBDF7C869E109F72B01946891E9@USCMIDAGBE1.corp.amdocs.com> <6a3ca1b3-e1b6-826d-65c6-3f71149cda2d@draigBrady.com> <928383E97540B44CBDF7C869E109F72B0194751E24@USCMIDAGBE1.corp.amdocs.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.120.120.183] Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Padraig, thanks a lot for your help on this. We found a workaround combined with cache=3Dnone mount option and it works = for our customer. You can close this case. tail --follow=3Dname --max-unchanged-stats=3D1 --sleep-interval=3D.01 thanks, jewsco -----Original Message----- From: P=E1draig Brady [mailto:P@draigBrady.com] = Sent: Wednesday, May 23, 2018 12:10 AM To: Jewsco Pius Jacquez ; 31184@debbugs.gnu.= org Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the= file is changed. On 22/05/18 14:23, Jewsco Pius Jacquez wrote: > Any more ideas? > = > Thanks, > Jewsco > = > -----Original Message----- > From: Jewsco Pius Jacquez > Sent: Tuesday, May 8, 2018 8:56 AM > To: 'P=E1draig Brady' ; 31184@debbugs.gnu.org > Subject: RE: bug#31184: tail -f on Network FS not refreshing as soon as t= he file is changed. > = > Thanks > = > Still the same, the -f doesn't refresh. it applies to CIFS and NFS filesy= stem. Is it something related on how the network filesystem was designed? > = > Thanks, > Jewsco > = > -----Original Message----- > From: P=E1draig Brady [mailto:P@draigBrady.com] > Sent: Saturday, May 5, 2018 5:52 PM > To: Jewsco Pius Jacquez ; = > 31184@debbugs.gnu.org > Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as t= he file is changed. > = > On 04/05/18 08:12, Jewsco Pius Jacquez wrote: >> Thanks, did I missed anything? >> >> [jjacquez@cmilsbtest02 ~]$ wget --quiet = >> https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz >> [jjacquez@cmilsbtest02 ~]$ cksum coreutils-8.29.tar.xz >> 926393761 5286588 coreutils-8.29.tar.xz >> [jjacquez@cmilsbtest02 ~]$ tar -xf coreutils-8.29.tar.xz >> [jjacquez@cmilsbtest02 ~]$ cd coreutils-8.29/ >> [jjacquez@cmilsbtest02 coreutils-8.29]$ wget --quiet = >> 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- | = >> patch -R -p1 && make patching file NEWS Unreversed patch detected! >> Ignore -R? [n] Apply anyway? [n] Skipping patch. >> 1 out of 1 hunk ignored -- saving rejects to file NEWS.rej patching = >> file src/tail.c Hunk #1 FAILED at 1220. >> 1 out of 1 hunk FAILED -- saving rejects to file src/tail.c.rej >> [jjacquez@cmilsbtest02 coreutils-8.29]$ >> >> >> >> Thanks, >> Jewsco >> >> >> >> >> >> -----Original Message----- >> From: P=E1draig Brady [mailto:P@draigBrady.com] >> Sent: Thursday, May 3, 2018 8:47 PM >> To: Jewsco Pius Jacquez ; = >> 31184@debbugs.gnu.org >> Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as = the file is changed. >> >> On 02/05/18 06:39, Jewsco Pius Jacquez wrote: >>> I tried and the --follow=3Dname doesn't refresh either. The stat output= is changing. >>> >>> [jjacquez@cmilsbtest03 ~]$ tail --follow=3Dname /media/samba/test.file = >>> append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT >>> 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 = >>> CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May 2 >>> 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed May >>> 2 08:35:54 CDT 2018 append Wed May 2 08:35:54 CDT 2018 append Wed = >>> May >>> 2 08:35:55 CDT 2018 ^C >>> [jjacquez@cmilsbtest03 ~]$ tail --follow=3Dname /media/samba/test.file = >>> append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:01 CDT >>> 2018 append Wed May 2 08:36:01 CDT 2018 append Wed May 2 08:36:02 = >>> CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May 2 >>> 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed May >>> 2 08:36:02 CDT 2018 append Wed May 2 08:36:02 CDT 2018 append Wed = >>> May >>> 2 08:36:02 CDT 2018 ^C >>> [jjacquez@cmilsbtest03 ~]$ while :; do stat -c '%s' = >>> /media/samba/test.file; sleep 1; done >>> 1649717 >>> 1650077 >>> 1650401 >>> 1650761 >>> 1651121 >>> 1651445 >>> 1651769 >>> 1652093 >>> 1652417 >>> >>> >>> About the reverting the patch, so I need to download the source and pat= ch it? >>> >>> cd coreutils-8.29 && >>> wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O= - | >>> patch -R -p1 && >>> make >> >> You'd done that previously, for for completeness yes you need to downloa= d the source first like: >> >> wget https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz >> tar -xf coreutils-8.29.tar.xz > = > Drats sorry. There were conflicting patches in the meantime. > You can tweak it like: > = > cd coreutils-8.29 && > wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' = > -O- | sed 's/name,/false, name,/' | patch -p1 -R -t && make > = > cheers, > P=E1draig > This message and the information contained herein is proprietary and = > confidential and subject to the Amdocs policy statement, Well I can't repro with 8.29 on nfs here. Perhaps the read() is blocking or something. It would be useful to get the output of: strace -o tail.strace tail -f /media/samba/test.file Also for completeness, it would be good to give the command used to write t= o the file on the remote end. thanks, P=E1draig This message and the information contained herein is proprietary and confid= ential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 29 23:07:34 2018 Received: (at 31184) by debbugs.gnu.org; 30 Oct 2018 03:07:34 +0000 Received: from localhost ([127.0.0.1]:52759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHKNS-0002g3-9f for submit@debbugs.gnu.org; Mon, 29 Oct 2018 23:07:34 -0400 Received: from mail-pf1-f180.google.com ([209.85.210.180]:40657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHKNQ-0002fm-V6; Mon, 29 Oct 2018 23:07:33 -0400 Received: by mail-pf1-f180.google.com with SMTP id g21-v6so5042944pfi.7; Mon, 29 Oct 2018 20:07:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=3DknCmcju2Kw+q9Il4DcFZ1OGj/jUoQptswTt34YPdc=; b=M5T+0xmDjaQjzOtJisO2EgToYhRIa6Lrt4OZul1Plm+no6b75MVJ8tF61l/wrPo9xF su5Vhy0ZJgtpxXVE5a2Lrjd5orNjPFTvfBITNmPEDhMk26100ymh5WCsWur43EHapHlJ C8q3cnOPDoBSdFo8jzMGrdR0tU56VxDy5JTFX01ynf+W8kSHaWXoRielMI+r0BU3ad3r Cx9KWuInTHbgZ192Ab55KMKPBOgdfjFFgVnWfZ0x6h8q0saq/xyifw6fOByv9T+8ayGZ C+BZxKRlFyXZZW0M5HHiDEcZWFB+6r9WdLHKbtuNuJBECS6BwwA4LJDftfFdE4JQ8nim IRdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3DknCmcju2Kw+q9Il4DcFZ1OGj/jUoQptswTt34YPdc=; b=dWZNXq3aaPwO9pQxuLXVvMkr1BNr38zz6Kl9VnJllP+vG50Ql4ZuQRKlcaNnFthExM mA899TnJ6YxVw+Z/u12r3eH6dxLGx5DkdLtgJ5/J/MCwQ5Kx0gYoGIHkXhFgsuL42jRN ivUUBSx4E/IEfgZJCyZaC4YmcZ+sTPHfDkyLd4ifE2Zk5wkXCWASJvOl6rH+xjgm2kZv CVJxD4pg+vW/gXd9cPFii+u+73a2GiDf898P0ZnQM7ZaJ0g/zWG1OmW1FNGnOSu6n2XU q/rlO2jG+9lJZfQmJBOrryJFuQwknDGzLugClcFWaQLvjnOysV4Ia3dvKsw8rC6nasyE BOHw== X-Gm-Message-State: AGRZ1gKPAshwRE7POyzsixKG7r9zcSrfJHlBO6yuY+TvviwjdNSYjoIy 2o60ksnrnI0ViCYk8qvr1DF40FXeuyE= X-Google-Smtp-Source: AJdET5fZ8PCnPL/0OQ9oZrXPtZtLwpFQuc4LVZ8V4Cr63SIII2ME3Wk6oOzQ2KEAPfpYMwsitUPPdQ== X-Received: by 2002:a63:608f:: with SMTP id u137mr16358253pgb.203.1540868846472; Mon, 29 Oct 2018 20:07:26 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id t85-v6sm29480275pfi.73.2018.10.29.20.07.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 20:07:24 -0700 (PDT) Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. To: "31184@debbugs.gnu.org" <31184@debbugs.gnu.org> References: <928383E97540B44CBDF7C869E109F72B019460DA60@USCMIDAGBE1.corp.amdocs.com> <0b58114b-6ae6-8542-75a6-5910e5dda74b@draigBrady.com> <928383E97540B44CBDF7C869E109F72B019461277D@USCMIDAGBE1.corp.amdocs.com> <928383E97540B44CBDF7C869E109F72B019461D638@USCMIDAGBE1.corp.amdocs.com> <8b5767e5-dd4b-e977-9e89-7322646f6f63@draigBrady.com> <928383E97540B44CBDF7C869E109F72B01946777C1@USCMIDAGBE1.corp.amdocs.com> <2f2ba861-274b-0f4e-8692-51e4da6aaee7@draigBrady.com> <928383E97540B44CBDF7C869E109F72B01946891E9@USCMIDAGBE1.corp.amdocs.com> <6a3ca1b3-e1b6-826d-65c6-3f71149cda2d@draigBrady.com> <928383E97540B44CBDF7C869E109F72B0194751E24@USCMIDAGBE1.corp.amdocs.com> <928383E97540B44CBDF7C869E109F72B01947E01E7@USCMIDAGBE1.corp.amdocs.com> From: Assaf Gordon Message-ID: Date: Mon, 29 Oct 2018 21:07:19 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <928383E97540B44CBDF7C869E109F72B01947E01E7@USCMIDAGBE1.corp.amdocs.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31184 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 31184 stop On 2018-06-12 9:10 a.m., Jewsco Pius Jacquez wrote: > Padraig, thanks a lot for your help on this. > > We found a workaround combined with cache=none mount option and it works for our customer. You can close this case. > > tail --follow=name --max-unchanged-stats=1 --sleep-interval=.01 > Given the above, I'm closing this bug. -assaf From unknown Wed Jun 18 23:16:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 27 Nov 2018 12:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator