From 26d03d033ead389b883363328cd6c7b85db4e26b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 11 Mar 2011 03:03:03 +0100 Subject: [PATCH 3/4] activation: add /lib/dbus-1/system-services to the search path for services In order to allow D-Bus usage during early boot (where /usr is not accessible) also search for bus activation files in /lib/dbus-1/system-services/. This is only a first step in the right direction, before we really can boot without /usr we'd need to move all current activation files (or possibly replace /usr/dbus-1/system-services to a symlink to /lib/dbus-1/system-services). --- dbus/dbus-sysdeps-unix.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index 5461a08..3290081 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -3636,7 +3636,7 @@ _dbus_get_standard_system_servicedirs (DBusList **dirs) } else { - if (!_dbus_string_append (&servicedir_path, "/usr/local/share:/usr/share:")) + if (!_dbus_string_append (&servicedir_path, "/usr/local/share:/usr/share:/lib:")) goto oom; } -- 1.7.4.1