Description of problem: The client may return error after successfully reading all data available from the server. Depending on the time the client detects the server closed the channel, it may return an error. Version-Release number of selected component (if applicable): libssh-0.9.4-2 How reproducible: non-deterministic (depends on a race-condition) Steps to Reproduce: 1. Compile exec example application available in libssh upstream repository: https://gitlab.com/libssh/libssh-mirror/-/blob/master/examples/exec.c 2. Start sshd and run the exec example application Actual results: Sometimes the exec example exits returning 1 for error instead of zero for success. Expected results: The exec example always returns zero for success Additional info: When libssh client is configured to be verbose, the following error message is printed to the log: ssh_channel_read_timeout: Remote channel is closed. To configure libssh client to be verbose, run: $ echo "LogLevel VERBOSE" >> ~/.ssh/config
This bug was originally reported in https://bugs.libssh.org/T231
FEDORA-2020-cecb600a30 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-cecb600a30
FEDORA-2020-10ae0b41b9 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-10ae0b41b9
FEDORA-2020-cecb600a30 has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-cecb600a30` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-cecb600a30 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-10ae0b41b9 has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-10ae0b41b9` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-10ae0b41b9 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-10ae0b41b9 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2020-cecb600a30 has been pushed to the Fedora 31 stable repository. If problem still persists, please make note of it in this bug report.