]> git.ipfire.org Git - thirdparty/systemd.git/commit
Drop dbus activation stub service
authorMichael Biebl <biebl@debian.org>
Fri, 23 Aug 2019 21:34:45 +0000 (23:34 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 30 Aug 2019 16:26:43 +0000 (18:26 +0200)
commit07125d24eedb71693b3bf2b1f0730cd01aaac2dd
tree18b27a563784c1ac107ab7d2392d2d814cccc61c
parenta86cbb0fa3ab5b0d87e62b0f59fe4cdd023b9587
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
README
src/core/meson.build
src/core/org.freedesktop.systemd1.service [deleted file]
units/meson.build