Skip to content

Commit

Permalink
systemvm: remove config in /etc/pam.d/systemd-user to fix [email protected]
Browse files Browse the repository at this point in the history
the service `[email protected]` 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.
  • Loading branch information
weizhouapache committed Oct 6, 2023
1 parent 3d8cc63 commit 29cddc7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions systemvm/debian/opt/cloud/bin/setup/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 29cddc7

Please sign in to comment.