summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/nss-lookup.target2
-rw-r--r--units/nss-user-lookup.target15
-rw-r--r--units/remote-fs-pre.target2
-rw-r--r--units/systemd-logind.service.in1
4 files changed, 18 insertions, 2 deletions
diff --git a/units/nss-lookup.target b/units/nss-lookup.target
index bdca03cd88..f7b0b5c955 100644
--- a/units/nss-lookup.target
+++ b/units/nss-lookup.target
@@ -11,5 +11,5 @@
# implementations lacking socket/bus activation.
[Unit]
-Description=Name Lookups
+Description=Host and Network Name Lookups
After=network.target
diff --git a/units/nss-user-lookup.target b/units/nss-user-lookup.target
new file mode 100644
index 0000000000..40e214897c
--- /dev/null
+++ b/units/nss-user-lookup.target
@@ -0,0 +1,15 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+# This exists mostly for implementations lacking socket/bus
+# activation.
+
+[Unit]
+Description=User and Group Name Lookups
+After=network.target
diff --git a/units/remote-fs-pre.target b/units/remote-fs-pre.target
index 8aceb08b9d..eca271b3be 100644
--- a/units/remote-fs-pre.target
+++ b/units/remote-fs-pre.target
@@ -9,4 +9,4 @@
[Unit]
Description=Remote File Systems (Pre)
-After=network.target
+After=network.target nss-lookup.target
diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in
index 531b8f7e93..48c1f2c3f0 100644
--- a/units/systemd-logind.service.in
+++ b/units/systemd-logind.service.in
@@ -9,6 +9,7 @@
[Unit]
Description=Login Service
+After=nss-user-lookup.target
[Service]
ExecStart=@rootlibexecdir@/systemd-logind