From a76026bb27a9e1951b3184e14d3ae22fedd98b76 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 points 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..5f05de19 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 +Requires=nss-user-lookup.target [Service] Type=notify -- 2.14.3