Description of problem: When disconnecting a session, expect reports the following error write() failed to write anything - will sleep(1) and retry... it then waits 1 second and exits continues normally. Version-Release number of selected component (if applicable): RHEL 5 only - expect 5.43 How reproducible: 100% Steps to Reproduce: 1. Use the following expect script #!/usr/bin/expect -d spawn telnet <IP address> expect { -re "login:" { send "<dummy login>\r" } } expect { -re "Password:" { send "<dummy passwd>\r" } } interact 2. once expect has given you an interactive prompt on the remote server type "exit" Actual results: write() failed to write anything - will sleep(1) and retry... then 1 second later expect exits Expected results: expect exits immediately Additional info: Fixed in expect 5.45 Fixed in RHEL6 all versions
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux.
This Bugzilla has been reviewed by Red Hat and is not planned on being addressed in Red Hat Enterprise Linux 5, and therefore will be closed. If this bug is critical to production systems, please contact your Red Hat support representative and provide sufficient business justification.