OpenVZ Forum


Today's Messages (off)  | Unanswered Messages (on)

Forum: Support
 Topic: Minor issue with CentOS 8 and SSH connection delays
Minor issue with CentOS 8 and SSH connection delays [message #53717] Thu, 03 December 2020 19:11
wsap is currently offline  wsap
Messages: 42
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




Current Time: Fri Dec 04 20:43:53 GMT 2020