From f4d11ae07d92eb27aca479cf215086ae8c1d6f48 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/systemd-user/dbus.service.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bus/systemd-user/dbus.service.in b/bus/systemd-user/dbus.service.in index b291b923..d342eb79 100644 --- a/bus/systemd-user/dbus.service.in +++ b/bus/systemd-user/dbus.service.in @@ -2,6 +2,8 @@ Description=D-Bus User 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