27 lines
920 B
Diff
27 lines
920 B
Diff
|
From 2f9c8a3cacc7f6743925c8f8eb7fdffd1558c688 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)
|
||
|
---
|
||
|
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 0869e73991..c09c05d4d5 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
|