[Touch-packages] [Bug 1986521] Re: ssh client spins if output fd closed

2023-01-10 Thread Launchpad Bug Tracker
This bug was fixed in the package openssh - 1:8.9p1-3ubuntu0.1 --- openssh (1:8.9p1-3ubuntu0.1) jammy; urgency=medium * d/p/fix-poll-spin.patch: Fix poll(2) spin when a channel's output fd closes without data in the channel buffer. (LP: #1986521) -- Bryce Harrington Tue,

[Touch-packages] [Bug 1986521] Re: ssh client spins if output fd closed

2022-12-16 Thread Bryce Harrington
I've verified the test case as written. I reproduced the issue, enabled the -proposed package and did apt-get full-upgrade to pull in the new openssh from -proposed. The CPU usage dropped from 100% to <1% as soon as the operation concluded. ** Tags removed: verification-needed verification-neede

[Touch-packages] [Bug 1986521] Re: ssh client spins if output fd closed

2022-12-12 Thread Michael Rutter
I can confirm that the updated package works in that the real use case which triggered the original bug (involving a script setting up an ssh tunnel) no longer does. Sorry for the delay in responding -- things have been busy, so I have also not tested the updated package much. I have not updated t

[Touch-packages] [Bug 1986521] Re: ssh client spins if output fd closed

2022-12-06 Thread Brian Murray
Hello Michael, or anyone else affected, Accepted openssh into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/openssh/1:8.9p1-3ubuntu0.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https

[Touch-packages] [Bug 1986521] Re: ssh client spins if output fd closed

2022-12-02 Thread Bryce Harrington
** Changed in: openssh (Ubuntu Jammy) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1986521 Title: ssh client spins if output fd clo

[Touch-packages] [Bug 1986521] Re: ssh client spins if output fd closed

2022-11-30 Thread Bryce Harrington
** Description changed: [Impact] - In certain edge cases where the terminal goes away while an ssh process is running, ssh can be left consuming 100% CPU. This increases processing costs for cloud users and wastes energy. + In certain edge cases where the terminal goes away while an ssh proce

[Touch-packages] [Bug 1986521] Re: ssh client spins if output fd closed

2022-11-30 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~bryce/ubuntu/+source/openssh/+git/openssh/+merge/433911 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1986521 Titl

[Touch-packages] [Bug 1986521] Re: ssh client spins if output fd closed

2022-11-30 Thread Bryce Harrington
** Description changed: + [Impact] + In certain edge cases where the terminal goes away while an ssh process is running, ssh can be left consuming 100% CPU. This increases processing costs for cloud users and wastes energy. + + This is a regression in jammy presumably due to change from select

[Touch-packages] [Bug 1986521] Re: ssh client spins if output fd closed

2022-11-30 Thread Bryce Harrington
I've reproduced the issue and confirmed the PPA fixes it, as expected. ** Description changed: + [Test Case] + $ lxc launch ubuntu-daily:jammy ssh-cpu + $ lxc shell ssh-cpu + + # passwd -d root + # ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa + + # cat << EOF >>/etc/ssh/ssh_config + StrictHostK

[Touch-packages] [Bug 1986521] Re: ssh client spins if output fd closed

2022-11-23 Thread Bryce Harrington
I've posted a PPA with the patch to fix this issue here: https://launchpad.net/~bryce/+archive/ubuntu/openssh-sru-lp1986521 This can be installed via: $ sudo add-apt-repository -yus ppa:bryce/openssh-sru-lp1986521 $ sudo apt-get install openssh Can you please upgrade to this and verify

[Touch-packages] [Bug 1986521] Re: ssh client spins if output fd closed

2022-11-09 Thread Christian Ehrhardt 
** Changed in: openssh (Ubuntu Jammy) Assignee: (unassigned) => Bryce Harrington (bryce) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1986521 Title: ssh client spin

[Touch-packages] [Bug 1986521] Re: ssh client spins if output fd closed

2022-10-17 Thread Bryce Harrington
** Tags added: server-todo -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1986521 Title: ssh client spins if output fd closed Status in portable OpenSSH: Unknown Status

[Touch-packages] [Bug 1986521] Re: ssh client spins if output fd closed

2022-08-17 Thread Sergio Durigan Junior
Thanks for taking the time to report the bug and make Ubuntu better. I can reproduce the bug using your testcase, but that requires a VM with a graphical environment installed. Another way to reproduce the bug is (from the upstream bug report): $ lxc launch ubuntu-daily:jammy ssh-cpu $ lxc shell

[Touch-packages] [Bug 1986521] Re: ssh client spins if output fd closed

2022-08-16 Thread Michael Rutter
And I can confirm that the patch at https://bugzilla.mindrot.org/attachment.cgi?id=3581 applies cleanly and fixes this issue. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1