On Fedora Kinoite, like I suppose on all Fedora desktop systems, there are a lot of services in /etc/xdg/autostart
that could be converted to systemd services.
I experimented with it and put a script in this repo. Most are KDE services and should be fixed upstream, but the others are afaik put there as part of the Fedora Distribution.
Correct me if I am wrong.
Problem
Having these services in this strange autostart directory is a pain. If you want to stop for example geoclue, or the XWaylandVideobridge (part of KDE), it will just startup again.
Even after neutering many services, the processes still started, so there are likely many other methods which are used as backup, or dependencies.
Benefit
Having these as systemd services, possibly even as systemd user services, would make this way easier.
User services can be enabled and disabled per-user and allow control.
This control is needed for fine tuning, and being able to restrict services is crucial for good administration.
- reducing the attack surface
- improving performance
- making run conditions more intelligent
- reduce complexity by just using systemd, no strange other detection or restart methods
Afaik the proposal has to be filed within one week as it is system-wide.
I need help and people with the knowledge on these services, to see if it makes sense and how it can be done.
The services are:
- at-spi-dbus-bus
- geoclue-demo-agent
- gnome-keyring-pkcs11
- gnome-keyring-secrets
- gnome-keyring-ssh (all these are on KDE as well)
- orca-autostart
- powerdevil ?
- spice-vdagent
- vboxclient
- vmware-user
- xdg-user-dirs
(Look at my script for ideas that I came up with, for example loading some services only under the right conditions)
I suppose there are tons of mechanisms already involved somewhere, for example for controlling when orca starts, or if the Virtualization guest services do something.
These would all need to be found out and removed, to allow this simpler implementation.