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