Skip to content

Commit e290ac5

Browse files
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.
1 parent c0128e2 commit e290ac5

File tree

1 file changed

+1
-2
lines changed
  • systemvm/debian/opt/cloud/bin/setup

1 file changed

+1
-2
lines changed

systemvm/debian/opt/cloud/bin/setup/init.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,7 @@ setup_interface_sshd() {
209209
fi
210210

211211
systemctl restart systemd-journald
212-
# Patch known systemd/sshd memory leak - https://github.com/systemd/systemd/issues/8015#issuecomment-476160981
213-
echo '@include null' >> /etc/pam.d/systemd-user
212+
214213
# Enable and Start SSH
215214
systemctl enable --now --no-block ssh
216215
}

0 commit comments

Comments
 (0)