diff --git a/systemd-dbus-system-bus-address.patch b/systemd-dbus-system-bus-address.patch new file mode 100644 index 00000000..8ebd5f75 --- /dev/null +++ b/systemd-dbus-system-bus-address.patch @@ -0,0 +1,11 @@ +--- systemd-210/src/shared/def.h ++++ systemd-210/src/shared/def.h 2014-03-12 13:11:06.502235254 +0000 +@@ -61,7 +61,7 @@ + "/usr/lib/kbd/keymaps/\0" + #endif + +-#define UNIX_SYSTEM_BUS_PATH "unix:path=/var/run/dbus/system_bus_socket" ++#define UNIX_SYSTEM_BUS_PATH "unix:path=/run/dbus/system_bus_socket" + #define KERNEL_SYSTEM_BUS_PATH "kernel:path=/dev/kdbus/0-system/bus" + + #ifdef ENABLE_KDBUS diff --git a/systemd-mini.spec b/systemd-mini.spec index 6ce765ea..2be3d2b5 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -308,6 +308,8 @@ Patch1020: 0001-add-network-device-after-NFS-mount-units.patch Patch1022: 1022-systemd-tmpfiles-ownerkeep.patch # PATCH-FIX-SUSE systemd-install-compat_pkgconfig-always.patch Patch1999: systemd-install-compat_pkgconfig-always.patch +# PATCH-FIX-OPENSUSE systemd-dbus-system-bus-address.patch always use /run/dbus not /var/run +Patch2000: systemd-dbus-system-bus-address.patch # udev patches # PATCH-FIX-USTREAM added at 2014/03/03 Patch1034: 0013-cdrom_id-use-the-old-MMC-fallback.patch @@ -627,6 +629,7 @@ cp %{SOURCE7} m4/ %patch1020 -p1 %patch1022 -p1 %patch1999 -p1 +%patch2000 -p1 # udev patches %patch1034 -p0 %patch1035 -p0 diff --git a/systemd.spec b/systemd.spec index 4e7314e3..56da69a1 100644 --- a/systemd.spec +++ b/systemd.spec @@ -303,6 +303,8 @@ Patch1020: 0001-add-network-device-after-NFS-mount-units.patch Patch1022: 1022-systemd-tmpfiles-ownerkeep.patch # PATCH-FIX-SUSE systemd-install-compat_pkgconfig-always.patch Patch1999: systemd-install-compat_pkgconfig-always.patch +# PATCH-FIX-OPENSUSE systemd-dbus-system-bus-address.patch always use /run/dbus not /var/run +Patch2000: systemd-dbus-system-bus-address.patch # udev patches # PATCH-FIX-USTREAM added at 2014/03/03 Patch1034: 0013-cdrom_id-use-the-old-MMC-fallback.patch @@ -622,6 +624,7 @@ cp %{SOURCE7} m4/ %patch1020 -p1 %patch1022 -p1 %patch1999 -p1 +%patch2000 -p1 # udev patches %patch1034 -p0 %patch1035 -p0