Drop dbus activation stub service
authorMichael Biebl <biebl@debian.org>
Fri, 23 Aug 2019 21:34:45 +0000 (23:34 +0200)
committerMichael Biebl <biebl@debian.org>
Wed, 4 Sep 2019 17:34:17 +0000 (18:34 +0100)
commit67e8e1e921733df9d705ee9680827d27213aeaff
treecfb06a39b90260d66b103ea48b49c6586a2b680f
parent026f488f35aa952d0f86a700d4bdc097bc810508
Drop dbus activation stub service

This fixes the following problem:

> At the very end of the boot, just after the first user logs in
> (usually using sddm / X) I get the following messages in my logs:
> Nov 18 07:02:33 samd dbus-daemon[2879]: [session uid=1000 pid=2877] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
> Nov 18 07:02:33 samd dbus-daemon[2879]: [session uid=1000 pid=2877] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1

These messages are caused by the "stub" service files that systemd
installs. It installed them because early versions of systemd activation
required them to exist.

Since dbus 1.11.0, a dbus-daemon that is run with --systemd-activation
automatically assumes that o.fd.systemd1 is an activatable
service. As a result, with a new enough dbus version,
/usr/share/dbus-1/services/org.freedesktop.systemd1.service and
/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service should
become unnecessary, and they can be removed.

dbus 1.11.0 was released 2015-12-02.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914015
(cherry picked from commit 07125d24eedb71693b3bf2b1f0730cd01aaac2dd)

Gbp-Pq: Name Drop-dbus-activation-stub-service.patch
README
src/core/meson.build
src/core/org.freedesktop.systemd1.service [deleted file]
units/meson.build