Hi, Am Sonntag, 13. Mai 2018, 21:57:23 CEST schrieb Andrei Borzenkov:
13.05.2018 20:54, Matthias Bach пишет:
Hi,
I am having an issue with starting Systemd services with Type=dbus in Systemd's user mode on openSUSE Leap 42.3. Specifically I am trying to use GameMode [1] but the problem seems to be a generic one. E.g., I have found several services in /usr/lib/systemd/user/ that have Type=dbus, are shipped
with openSUSE, fand fail to start. E.g.:
systemctl --user start gvfs-daemon
Failed to start gvfs-daemon.service: Unit dbus.socket failed to load: No such file or directory.
There indeed is no dbus.socket file in /usr/lib/systemd/user/. Should there be? This is simply not implemented. Actually I do not think there is even common agreement how it should be implemented - D-Bus session bus is per session while systemd user instance is per user.
I'd assume that gvfs-daemon and glib-pacrunner are actually used in Gnome, so how can they be launched then?
Same as they were launched before systemd - via (GUI) session startup mechanism. Session D-Bus is usually started as part of X session so that all processes inherit socket address.
So those unit files placed in /usr/lib/systemd/user are actually unused? Kind Regards, Matthias -- Dr. Matthias Bach www.marix.org „Der einzige Weg, die Grenzen des Möglichen zu finden, ist ein klein wenig über diese hinaus in das Unmögliche vorzustoßen.“ - Arthur C. Clarke