OpenVZ Forum


Home » General » Support » Minor issue with CentOS 8 and SSH connection delays (SSHd connection gets systemd connection timeout)
Minor issue with CentOS 8 and SSH connection delays [message #53717] Thu, 03 December 2020 19:11 Go to next message
wsap is currently offline  wsap
Messages: 61
Registered: March 2018
Location: Halifax, NS
Member
Hey there,

Wondering if anyone else has seen the problem using CentOS 8 containers on 3.10.0-1127.8.2.vz7.158.8

Upon first SSH login in some amount of time (not sure exactly what this threshold is), the login appears to hang for 25 seconds before then completes the login successfully. When this occurs, /var/log/secure shows:

sshd[509788]: pam_systemd(sshd:session): Failed to create session: Connection timed out


This issue appears to be well documented here and even has a patch already committed to systemd here. According to comments in the pull request for the patch it was merged into systemd version 236:

> Or in other words, this has been merged after v235, and hence will be included in v236 as soon as that's released

Yet within CentOS 8 we can see that systemd is version 239: systemd-239-31.el8_2.2.x86_64

We're left wondering if perhaps this only remains a problem on OpenVZ.

Has anyone else seen this?

[Updated on: Thu, 03 December 2020 19:12]

Report message to a moderator

Re: Minor issue with CentOS 8 and SSH connection delays [message #53733 is a reply to message #53717] Tue, 16 February 2021 16:31 Go to previous message
wsap is currently offline  wsap
Messages: 61
Registered: March 2018
Location: Halifax, NS
Member
In the event anyone else comes across this, it appears to be solved by updating the host node's packages to the latest release.

I had previous reported that installing the polkit RPM package solved it, however it was only temporarily resolved when doing that.

[Updated on: Fri, 02 April 2021 00:02]

Report message to a moderator

Previous Topic: Snap in OpenVZ/Virtuozzo containers
Next Topic: BUG? OVZ 7 + CentOS 8 + iptables v1.8.4 (nf_tables)
Goto Forum:
  


Current Time: Fri Apr 19 09:40:57 GMT 2024

Total time taken to generate the page: 0.01849 seconds