bug#33946: tail -f stops abruptly in AIX when piped.
From:
Bernhard Voelker
Subject:
bug#33946: tail -f stops abruptly in AIX when piped.
Date:
Thu, 3 Jan 2019 19:22:00 +0100
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3
On 1/3/19 6:39 PM, Ayappan P2 wrote:
>> On 01-Jan-2019, at 10:36 PM, Ayappan P2 <address@hidden> wrote:
>> Hi,
>>
>> I am running coreutils 8.30 in AIX machine and it seems like "tail -f" is
>> not working as it used to be when the output is piped.
>>
>> # ./tail -f test_file | grep 123
>>
>> (1) root @ aixoss-automation-3: 6.1.0.0: /
>>
>> It stops immediately and it seems like this commit
>>
>> https://github.com/coreutils/coreutils/commit/ce0415fda108b7ec35181118fd7a2c9ee70331ee
>>
>> has introduce this behavior.
>>
>> I checked in Linux with coreutils 8.30 where it works as like earlier
>> versions.
>>
>> Thanks
>> Ayappan P
> Anyone has any idea on this issue ?
>
> Thanks
> Ayappan P
Thanks for reporting.
It's hard (at least for me) to get hold on to an AIX system,
so would you post a trace file (from 'truss'), please?
Second, is this specific to a certain AIX version?
BTW: our tests should have caught this before the release.
Do you also get an error during 'make check'?
Have a nice day,
Berny