From owner-freebsd-questions@freebsd.org Wed Sep 27 22:20:19 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F9E7E10D67 for ; Wed, 27 Sep 2017 22:20:19 +0000 (UTC) (envelope-from list@museum.rain.com) Received: from g5.umpquanet.com (g5.umpquanet.com [98.158.10.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "g5.umpquanet.com", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E5EF63579 for ; Wed, 27 Sep 2017 22:20:18 +0000 (UTC) (envelope-from list@museum.rain.com) Received: from g5.umpquanet.com (localhost [127.0.0.1]) by g5.umpquanet.com (8.15.2/8.15.2) with ESMTPS id v8RMKHEq080764 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 27 Sep 2017 15:20:17 -0700 (PDT) (envelope-from list@museum.rain.com) Received: (from james@localhost) by g5.umpquanet.com (8.15.2/8.15.2/Submit) id v8RMKHnE080763 for freebsd-questions@freebsd.org; Wed, 27 Sep 2017 15:20:17 -0700 (PDT) (envelope-from list@museum.rain.com) X-Authentication-Warning: g5.umpquanet.com: james set sender to list@museum.rain.com using -f Date: Wed, 27 Sep 2017 15:20:17 -0700 From: list@museum.rain.com To: freebsd-questions@freebsd.org Subject: Re: Possible bug in tail(1) Message-ID: <20170927222017.GA80583@g5.umpquanet.com> References: <20170927195828.GA77592@g5.umpquanet.com> <20170927204526.GA78573@g5.umpquanet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170927204526.GA78573@g5.umpquanet.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2017 22:20:19 -0000 I agree with Matthias that the issue arises when 'tail -r' is reading from a pipe. I looked at the GitHub mirror and downloaded a few src tarballs around recent commits to tail. Building tail from: https://github.com/freebsd/freebsd/tree/97a2ca501c7e9f07a80339a88fbb5a46977ae428 does not manifest the bug. However, tail built from: https://github.com/freebsd/freebsd/tree/2fef72832029bcc228a527dd9c423ba34a7490e9 does. IANAE, but it appears the bug may have crept in during: https://reviews.freebsd.org/D9067 HTH, Jim