After bisecting util-linux, the problematic commit is:
54c6611d6f7b73609a5331f4d0bcf63c4af6429e is the first bad commit
commit 54c6611d6f7b73609a5331f4d0bcf63c4af6429e
Author: Karel Zak <email address hidden>
Date: Wed Jun 17 15:48:50 2015 +0200
script: fix EOF problems
* remove STDIN from poll() if:
* STDIN already closed -- poll returns POLLHUP, for example:
echo "date" | script
* detect EOF as returned by read(), for example:
script -c "echo Hello" < /dev/null
* don't write to master when there is still something to read from
slave (it means shell is not initialized yet or busy)
Signed-off-by: Karel Zak <email address hidden>
:040000 040000 2cc2b7f5d69f16775151517912dce6ff3a586847 b1a8465b2c3f23c0f41bfb7308af49b92963e77b M term-utils
When using v2.27.1 and reverting just this commit, all is fine.
After bisecting util-linux, the problematic commit is:
54c6611d6f7b736 09a5331f4d0bcf6 3c4af6429e is the first bad commit 09a5331f4d0bcf6 3c4af6429e
commit 54c6611d6f7b736
Author: Karel Zak <email address hidden>
Date: Wed Jun 17 15:48:50 2015 +0200
script: fix EOF problems
* remove STDIN from poll() if:
* STDIN already closed -- poll returns POLLHUP, for example:
echo "date" | script
* detect EOF as returned by read(), for example:
script -c "echo Hello" < /dev/null
* don't write to master when there is still something to read from
slave (it means shell is not initialized yet or busy)
Signed-off-by: Karel Zak <email address hidden>
:040000 040000 2cc2b7f5d69f167 75151517912dce6 ff3a586847 b1a8465b2c3f23c 0f41bfb7308af49 b92963e77b M term-utils
When using v2.27.1 and reverting just this commit, all is fine.