mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
systemvm: remove config in /etc/pam.d/systemd-user to fix user@0.service (#8048)
the service `user@0.service` fails in system vms and virtual routers This PR removes a change to fix memory leak of SSH connections in the systemvm templates with old linux kernel.
This commit is contained in:
parent
c0128e2f9a
commit
e290ac5451
@ -209,8 +209,7 @@ setup_interface_sshd() {
|
||||
fi
|
||||
|
||||
systemctl restart systemd-journald
|
||||
# Patch known systemd/sshd memory leak - https://github.com/systemd/systemd/issues/8015#issuecomment-476160981
|
||||
echo '@include null' >> /etc/pam.d/systemd-user
|
||||
|
||||
# Enable and Start SSH
|
||||
systemctl enable --now --no-block ssh
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user