From f5c96e4789410461e5e00f01b4922f49c890c16e Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Tue, 1 May 2018 14:01:26 -0400 Subject: [PATCH] bus: Mark service as requiring nss-user-lookup.target D-Bus needs to be able to resolve usernames when reading message bus configuration files. Thus, it should be ordered *after* the special `nss-user-lookup.target`, which is a synchronization point for units that provide/require lookup services. --- bus/dbus.service.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bus/dbus.service.in b/bus/dbus.service.in index 3713810b..0f49c9e2 100644 --- a/bus/dbus.service.in +++ b/bus/dbus.service.in @@ -2,6 +2,8 @@ Description=D-Bus System Message Bus Documentation=man:dbus-daemon(1) Requires=dbus.socket +After=nss-user-lookup.target +Wants=nss-user-lookup.target [Service] Type=notify -- 2.14.3