xfsettingsd segfault because upower doesn't run because dbus_daemon isn't running
## Submitted by Daniel Jakots Assigned to **Nick Schermer** **[Link to original bug (#11773)](https://bugzilla.xfce.org/show_bug.cgi?id=11773)** ## Description Hi, I run OpenBSD -current amd64. I upgraded to xfce 4.12 and then xfsettingsd segfaulted. The trace was: ``` #0 0x00001959bf357ccd in up_client_glue_get_lid_is_closed () from /usr/local/lib/libupower-glib.so.1.0 ``` If I run upower -d I had (upower:13761): libupower-glib-WARNING **: Couldn't connect to proxy: Impossible de se connecter : No such file or directory (upower:13761): GLib-GIO-CRITICAL **: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed Segmentation fault (core dumped) (sorry for the mix of French message and UTF-8 garbage) I only had /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session and /usr/local/bin/dbus-launch --sh-syntax --exit-with-session xfce4-session running. Then I run sudo /etc/rc.d/dbus_daemon start && upower -d and it works, so I added to /etc/rc.conf.local dbus_daemon_flags= pkg_scripts="dbus_daemon" and after rebooting xfsettingsd worked correctly. Of course, all of this was found thanks to Landry :) Version: 4.12.0 ### See also * https://bugs.freedesktop.org/show_bug.cgi?id=89890
issue