summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2019-08-23 23:34:45 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-08-30 18:26:43 +0200
commit07125d24eedb71693b3bf2b1f0730cd01aaac2dd (patch)
tree18b27a563784c1ac107ab7d2392d2d814cccc61c /units
parenta86cbb0fa3ab5b0d87e62b0f59fe4cdd023b9587 (diff)
downloadsystemd-07125d24eedb71693b3bf2b1f0730cd01aaac2dd.tar.gz
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
Diffstat (limited to 'units')
-rw-r--r--units/meson.build3
1 files changed, 0 insertions, 3 deletions
diff --git a/units/meson.build b/units/meson.build
index cf4fe2e7bf..e1ee9f86c3 100644
--- a/units/meson.build
+++ b/units/meson.build
@@ -309,9 +309,6 @@ install_data('user-.slice.d/10-defaults.conf',
meson.add_install_script(meson_make_symlink,
join_paths(pkgsysconfdir, 'user'),
join_paths(sysconfdir, 'xdg/systemd/user'))
-meson.add_install_script(meson_make_symlink,
- join_paths(dbussystemservicedir, 'org.freedesktop.systemd1.service'),
- join_paths(dbussessionservicedir, 'org.freedesktop.systemd1.service'))
if conf.get('HAVE_SYSV_COMPAT') == 1
foreach i : [1, 2, 3, 4, 5]
meson.add_install_script(