From 770ec09557c7aef4b7642d1e9ed26791a8157c46 Mon Sep 17 00:00:00 2001 From: Veiko Aasa Date: Sat, 12 Oct 2024 20:28:38 +0300 Subject: [PATCH] ssh: Start server after nslcd service Fixes an issue where SSH server is available but users can't login because LDAP user services are not yet started. Tests performed: - Installed new ssh systemd override conf, rebooted, ensured that the sshd service starts after the nslcd service. Relates to #2452. Signed-off-by: Veiko Aasa Reviewed-by: Sunil Mohan Adapa --- .../data/usr/lib/systemd/system/ssh.service.d/freedombox.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 plinth/modules/ssh/data/usr/lib/systemd/system/ssh.service.d/freedombox.conf diff --git a/plinth/modules/ssh/data/usr/lib/systemd/system/ssh.service.d/freedombox.conf b/plinth/modules/ssh/data/usr/lib/systemd/system/ssh.service.d/freedombox.conf new file mode 100644 index 000000000..5a53f2118 --- /dev/null +++ b/plinth/modules/ssh/data/usr/lib/systemd/system/ssh.service.d/freedombox.conf @@ -0,0 +1,3 @@ +[Unit] +# The service depends on users and groups defined in LDAP +After=nslcd.service