fixed 364273 6.10-1 thanks On 23/04/06 at 11:30 -0600, Bob Proulx wrote: > Laurent CARON wrote: > > Package: coreutils > > Version: 5.2.1-2.1 > > Severity: important > > That would be a testing version uploaded on 2005-09-04 but should > mostly be the same as the stable Sarge version. Not having 5.2.1-2.1 > handy I tested using 5.2.1-2 from Sarge.
Hi Laurent, Can you still reproduce the problem? If you can, can you try Bob's testcase below: > I cannot recreate this behavior. Here is what I tried: > > mkdir /var/tmp/tail-test > cd /var/tmp/tail-test > touch real-foo > ln -s real-foo foo > ls -log > total 0 > lrwxrwxrwx 1 8 2006-04-23 11:13 foo -> real-foo > -rw-r--r-- 1 0 2006-04-23 11:13 real-foo > > In another terminal I ran: > > tail -F /var/tmp/tail-test/foo > > In the first terminal I ran several occurrances of this: > > date -R >> real-foo > savelog -t real-foo > > date -R >> real-foo > savelog -t real-foo > > In the tail'ing terminal all worked as expected. > > tail -F /var/tmp/tail-test/foo > Sun, 23 Apr 2006 11:21:23 -0600 > tail: `/var/tmp/tail-test/foo' has been replaced; following end of new file > Sun, 23 Apr 2006 11:21:31 -0600 > tail: `/var/tmp/tail-test/foo' has been replaced; following end of new file > > ls -log > total 24 > lrwxrwxrwx 1 8 2006-04-23 11:13 foo -> real-foo > -rw-r--r-- 1 0 2006-04-23 11:21 real-foo > -rw-r--r-- 1 96 2006-04-23 11:21 real-foo.0 > -rw-r--r-- 1 66 2006-04-23 11:21 real-foo.1.gz > -rw-r--r-- 1 64 2006-04-23 11:21 real-foo.2.gz > -rw-r--r-- 1 64 2006-04-23 11:21 real-foo.3.gz > -rw-r--r-- 1 63 2006-04-23 11:14 real-foo.4.gz > -rw-r--r-- 1 72 2006-04-23 11:14 real-foo.5.gz > > As you can see the tail command follows the file even after the target > of the symlink is rotated. > > If I remove and recreate real-foo this is also detected. > > rm real-foo > date -R >> real-foo > > rm real-foo > date -R >> real-foo > > tail: cannot open `/var/tmp/tail-test/foo' for reading: No such file or > directory > tail: `/var/tmp/tail-test/foo' has appeared; following end of new file > Sun, 23 Apr 2006 11:24:57 -0600 > tail: `/var/tmp/tail-test/foo' has become inaccessible: No such file or > directory > Sun, 23 Apr 2006 11:25:05 -0600 I'm marking this as fixed in 6.10-1, but please prove me wrong ;) -- | Lucas Nussbaum | [EMAIL PROTECTED] http://www.lucas-nussbaum.net/ | | jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]