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, r...@armlinux.org.uk 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 c...@case.edu http://cnswww.cns.cwru.edu/~chet/