From e39b94b26ca51bf7c48f67d56b21f17f21beda6c Mon Sep 17 00:00:00 2001 From: Tomasz Kontusz Date: Fri, 4 Sep 2020 18:27:21 +0200 Subject: Fix DBUS_*_BUS_ADDRESS in flatpak enter Fixes #3820. --- app/flatpak-builtins-enter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/flatpak-builtins-enter.c b/app/flatpak-builtins-enter.c index d479b5c5..3470d0be 100644 --- a/app/flatpak-builtins-enter.c +++ b/app/flatpak-builtins-enter.c @@ -271,10 +271,10 @@ flatpak_builtin_enter (int argc, session_bus_path = g_strdup_printf ("/run/user/%d/bus", uid); if (g_file_test (session_bus_path, G_FILE_TEST_EXISTS)) - g_ptr_array_add (envp_array, g_strdup_printf ("DBUS_SESSION_BUS_ADDRESS=unix:%s", session_bus_path)); + g_ptr_array_add (envp_array, g_strdup_printf ("DBUS_SESSION_BUS_ADDRESS=unix:path=%s", session_bus_path)); if (g_file_test ("/run/dbus/system_bus_socket", G_FILE_TEST_EXISTS)) - g_ptr_array_add (envp_array, g_strdup ("DBUS_SYSTEM_BUS_ADDRESS=unix:/run/dbus/system_bus_socket")); + g_ptr_array_add (envp_array, g_strdup ("DBUS_SYSTEM_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket")); g_ptr_array_add (envp_array, NULL); -- cgit v1.2.1