#!/bin/sh exec 2>&1 install -d -m 0755 -o messagebus -g messagebus /run/dbus rm -f /run/dbus/pid # BRINTOS-WORKAROUND: brintos/linux#19 remove -- setgid/setgroups return ENOSYS, so the bus cannot drop to messagebus; run it as root without sed -e "//d" -e "s|system.d<|/usr/share/dbus-1/system.d<|" /usr/share/dbus-1/system.conf > /run/dbus/system-nouser.conf exec /usr/bin/dbus-daemon --nofork --nopidfile --config-file=/run/dbus/system-nouser.conf