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
wsap is currently offline  wsap
Messages: 43
Registered: March 2018
Location: Halifax, NS
Member
From: *dhcp-dynamic.fibreop.ns.bellaliant.net
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

Previous Topic: Breaking OpenVZ7 on CentOS with latest update 7.0.14
Next Topic: BUG? OVZ 7 + CentOS 8 + iptables v1.8.4 (nf_tables)
Goto Forum:
  


Current Time: Mon Jan 25 23:35:16 GMT 2021