mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02: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. (cherry picked from commit e290ac54514ab1868d775f18a3e783cb30d6d5d5) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
18e7276df0
commit
846cc2f26c
@ -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