Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 10420 - tail -f crashes on directories
tail -f crashes on directories
Product: Red Hat Linux
Classification: Retired
Component: textutils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Depends On:
  Show dependency treegraph
Reported: 2000-03-29 14:34 EST by Joshua Jensen
Modified: 2008-05-01 11:37 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-04-06 10:21:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joshua Jensen 2000-03-29 14:34:43 EST
tail -f /etc/sysctl.conf /etc/sysconfig/*

==> /etc/sysconfig/static-routes <==

tail: tail.c:718: recheck: Assertion `valid_file_spec (f)' failed.
Aborted (core

[root@localhost /root]# file /etc/sysconfig/static-routes
/etc/sysconfig/static-routes: EMPTY file

Then I used pico to put one blank line into the file

/etc/sysconfig/static-routes:   ASCII text

tail still crashes.  It shouldn't do this for an emtpy file, esp. after
I tell it that it is an ASCII text file with a blank line.

Comment 1 Tim Waugh 2000-04-06 09:58:59 EDT
Here's a smaller test case that demonstrates the real problem:

tail -f /
Comment 2 Tim Waugh 2000-04-06 10:21:59 EDT
This is fixed in <URL:ftp://alpha.gnu.org/gnu/fetish/textutils-2.0e.tar.gz>.

Note You need to log in before you can comment on or make changes to this bug.