You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
966 B

From d7087b71c5b31bae35cb32a4b87e83d578a2d694 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Fri, 3 Apr 2015 14:31:35 +0200
Subject: [PATCH] units: explicitly order systemd-user-sessions.service after
nss-user-lookup.target
We should not allow logins before NIS/LDAP users are available.
(cherry picked from commit efb3e19be9c568974b221990b9e84fb5304c5537)
Cherry-picked from: 6446de5
Resolves: #1222517
---
units/systemd-user-sessions.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/units/systemd-user-sessions.service.in b/units/systemd-user-sessions.service.in
index 0869e7399..c09c05d4d 100644
--- a/units/systemd-user-sessions.service.in
+++ b/units/systemd-user-sessions.service.in
@@ -8,7 +8,7 @@
[Unit]
Description=Permit User Sessions
Documentation=man:systemd-user-sessions.service(8)
-After=remote-fs.target
+After=remote-fs.target nss-user-lookup.target
[Service]
Type=oneshot