teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0158-units-explicitly-order-systemd-user-sessions.service.patch

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