Skip to content

Commit

Permalink
launcher: allow searching for system-services in /etc/ and /run/
Browse files Browse the repository at this point in the history
This is useful when an asset manager wants to install a system
service while /usr/ is read-only (e.g.: local system services
running on a different namespaced image). dbus-daemon also will
search in /run/, so do the same for consistency, for ephemeral
services.

For the spec changes see:

https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/467

Signed-off-by: Luca Boccassi <[email protected]>
  • Loading branch information
bluca authored and dvdhrm committed Oct 3, 2024
1 parent 4fa73fd commit be28751
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/launch/launcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,8 @@ static int launcher_load_standard_session_services(Launcher *launcher, NSSCache

static int launcher_load_standard_system_services(Launcher *launcher, NSSCache *nss_cache) {
static const char *default_data_dirs[] = {
"/etc",
"/run",
"/usr/local/share",
"/usr/share",
"/lib",
Expand Down

0 comments on commit be28751

Please sign in to comment.