Created attachment 6463 Add a corresponding systemd user service for the D-Bus session services When running under a systemd user session, this results in tumblerd being placed in in its own cgroup, whereas previously it would be a child of dbus-daemon in the dbus.service cgroup. It also avoids races between up to three separate instances of the same executable being started for its three names, which could result in spurious activation failures if they are used in quick succession, similar to <https://bugs.freedesktop.org/show_bug.cgi?id=53220> in telepathy-mission-control.
Comment on attachment 6463 Add a corresponding systemd user service for the D-Bus session services >+systemd_userdir = $(prefix)/lib/systemd/user Before someone asks: yes, "lib" is really the right place for user services, even on systems that normally set ${libdir} to /usr/lib64 (Red Hat derivatives) or /usr/lib/x86_64-linux-gnu (Debian derivatives).
See Bug #12238 for more information on the situations in which this user service can be used/tested.
Here a related bug with some more info about how "systemd-cgls" should look like : https://bugzilla.xfce.org/show_bug.cgi?id=12238
In my opinion, in an ideal world, this file should be added downstream and not upstream. Distro using systemd should patch their packages. Systemd is not universal/portable in any sense, for instance the added service file has no sense at all on the systemd-less Linux Distro and BSD*. You may tell me that it is just a file and it won't hurt, but it is really wrong to add it on our side "in principle".
I see it as an opt-in, such as ./autogen.sh, which only enables specific features when the according libraries are present. (as well possibly missing on some distros / BSD*)
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/tumbler/-/issues/14. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev