aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/dbus-helper-search-path.patch
blob: 30c142312b9076ed92aa8dbb125808e7b616ce94 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
The setuid helper of D-Bus is responsible for "service activation".
It looks for '.service' files in fixed locations, but the default locations
make no sense (see below), so replace them with /etc/dbus-1/system-services.

--- dbus-1.10.0/dbus/dbus-sysdeps-util-unix.c	2015-10-22 00:07:03.829251854 +0200
+++ dbus-1.10.0/dbus/dbus-sysdeps-util-unix.c	2015-10-22 00:07:14.893445175 +0200
@@ -1410,10 +1410,7 @@ _dbus_get_standard_system_servicedirs (D
    * be available.
    */
   static const char standard_search_path[] =
-    "/usr/local/share:"
-    "/usr/share:"
-    DBUS_DATADIR ":"
-    "/lib";
+    "/etc";
   DBusString servicedir_path;
 
   _dbus_string_init_const (&servicedir_path, standard_search_path);
s/services?id=97cb43e732a38758c95b7caf3963507188d011cf'>tests: configuration: Add a test to cover 'unset regression....Maxim Cournoyer 2022-08-01services: configuration: Step back from *unspecified*....Maxim Cournoyer 2022-07-07tests: telephony: Remove obsolete parsing tests....Maxim Cournoyer 2022-06-24services: configuration: Report the location of field type errors....Ludovic Courtès 2022-06-15services: configuration: Use *unspecified* instead of 'disabled....Attila Lendvai 2022-06-15services: configuration: Support (field1 maybe-number "") format....Attila Lendvai 2021-08-02Reinstate "services: Add a service for Jami."...Maxim Cournoyer 2021-08-02Revert "services: Add a service for Jami."...Maxim Cournoyer 2021-08-02services: Add a service for Jami....Maxim Cournoyer 2021-06-29services: configuration: Allow specifying prefix for serializer names....Xinglu Chen ts: Replace texlive importer tests....Ricardo Wurmus 2021-03-06tests: do not hard code HTTP ports...Maxime Devos