After bisecting util-linux, the problematic commit is: 54c6611d6f7b73609a5331f4d0bcf63c4af6429e is the first bad commit commit 54c6611d6f7b73609a5331f4d0bcf63c4af6429e Author: Karel Zak <k...@redhat.com> 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 <k...@redhat.com> :040000 040000 2cc2b7f5d69f16775151517912dce6ff3a586847 b1a8465b2c3f23c0f41bfb7308af49b92963e77b M term-utils When using v2.27.1 and reverting just this commit, all is fine. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1553353 Title: tail'ing a file in a script session hangs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1553353/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs