mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 00:10:07 +01:00
In systemd, it's common that a D-Bus activatable service references
`SystemdService=dbus-$BUSNAME.service` instead the real service name.
Together with an `[Install].Alias=dbus-$BUSNAME.service` directive,
this allowed to enable/disable D-Bus activation without uninstalling the
service altogether ([1]).
Currently, when we install the RPM then `nm-priv-helper.service` is not
enabled, consequently the alias is not created, and D-Bus activation
does not work. I guess, we should fix that by enabling the service in
the %post section or via a systemd preset? Dunno.
Anyway. It seems that nm-priv-helper.service is more of an
implementation detail of NetworkManager. It makes not sense for the user
to interact directly, or to enable/disable D-Bus activation (because
that is how it works).
So, drop the alias.
See-also: [1] https://docs.fedoraproject.org/en-US/packaging-guidelines/Systemd/#activation_dbus
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| 84-nm-drivers.rules | ||
| 85-nm-unmanaged.rules | ||
| 90-nm-thunderbolt.rules | ||
| meson.build | ||
| NetworkManager-dispatcher.service.in | ||
| NetworkManager-ovs.conf | ||
| NetworkManager-wait-online-systemd-pre200.service.in | ||
| NetworkManager-wait-online.service.in | ||
| NetworkManager.service.in | ||
| nm-priv-helper.service.in | ||
| nm-shared.xml | ||
| org.freedesktop.NetworkManager.policy.in.in | ||
| server.conf.in | ||