From andy@silverbrook.com.au  Wed Jul 19 22:19:47 2000
Return-Path: <andy@silverbrook.com.au>
Received: from entoo.connect.com.au (entoo.connect.com.au [192.189.54.8])
	by hub.freebsd.org (Postfix) with ESMTP id 16EF137BAC0
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Jul 2000 22:19:46 -0700 (PDT)
	(envelope-from andy@silverbrook.com.au)
Received: from bebop.silverbrook.com.au (CPE-144-132-228-195.nsw.bigpond.net.au [144.132.228.195])
	by entoo.connect.com.au (Postfix) with ESMTP id 74124DD48D
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Jul 2000 15:19:43 +1000 (EST)
Received: (from andy@localhost)
	by bebop.silverbrook.com.au (8.9.3/8.9.3) id PAA19069;
	Thu, 20 Jul 2000 15:19:43 +1000 (EST)
	(envelope-from andy)
Message-Id: <200007200519.PAA19069@bebop.silverbrook.com.au>
Date: Thu, 20 Jul 2000 15:19:43 +1000 (EST)
From: andy@silverbrook.com.au
Reply-To: andy@silverbrook.com.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: tail -f exits
X-Send-Pr-Version: 3.2

>Number:         20050
>Category:       bin
>Synopsis:       tail -f exits
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 19 22:20:03 PDT 2000
>Closed-Date:    Fri Jul 28 01:49:11 PDT 2000
>Last-Modified:  Fri Jul 28 01:52:22 PDT 2000
>Originator:     Andy Newman
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Silverbrook  Research
>Environment:

	FreeBSD 4.0-STABLE, build world from CVSup'd sources June 26 2000.

>Description:

	Tail -f on the output of a long running job is exiting.  Sometimes
	there is a message "Resource temporarily unavailable" (i.e, something
	returned EAGAIN) and other times there is no message but the exit status
	is 1.

>How-To-Repeat:

	Have a long running job with large amounts of output directing
	its output to a file, make buildworld is a good candidate. Then
	tail -f the file the output is being sent to. Wait for it to
	exit.



>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: sheldonh 
State-Changed-When: Thu Jul 20 00:13:48 PDT 2000 
State-Changed-Why:  
Could you update your source to some time after Jul 18 2000 
and try again?  The way tail detects changes in a file has 
been changed by jlemon. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20050 

From: Andy Newman <andy@silverbrook.com.au>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/20050: tail -f exits
Date: Fri, 28 Jul 2000 15:37:01 +1000

 Switching to 4.1-STABLE appears to have "fixed" the problem, or at least
 it's harder to reproduce.  This PR can be closed I guess.
 -- 
 Andy Newman
 
State-Changed-From-To: feedback->closed 
State-Changed-By: sheldonh 
State-Changed-When: Fri Jul 28 01:49:11 PDT 2000 
State-Changed-Why:  
Originator requested a close, since 4.1-STABLE seems to have 
fixed the problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20050 
>Unformatted:
