bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash randomly logs out on VT / serial console


From: Chet Ramey
Subject: Re: bash randomly logs out on VT / serial console
Date: Mon, 2 Jan 2017 14:06:01 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

On 1/2/17 6:09 AM, Russell King wrote:
> On Sun, Jan 01, 2017 at 09:14:45PM -0500, Chet Ramey wrote:
>> On 1/1/17 4:01 PM, address@hidden wrote:
>>> Bash Version: 4.3
>>> Patch Level: 30
>>> Release Status: release
>>>
>>> Description:
>>>     Running:
>>>             while :; do s=$(sleep .005 | cat); echo $s; done | uniq
>>>     in a login shell on a virtual terminal or serial console results
>>>     in the shell randomly logging out after ^C.
>>
>> I believe this is fixed in bash-4.4.
> 
> Thank you for your reply.
> 
> However, while testing bash-4.4 with the five additional patches (bringing
> it to 4.4.5) shows that it is not fixed in bash-4.4 - see below.  The line
> from __tty_check_change() is from the debug I added to the kernel, which
> shows that the reason for the EIO error is because the tty pgrp doesn't
> match the process' pgrp.

OK.  I can't reproduce it on Fedora 25.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]