https://bugzilla.redhat.com/show_bug.cgi?id=1674045#c19
The comment is adjusted to clarify that on system upgrades, e.g. F29→F30,
when this package is installed for the first time, we do the change.
Also, remove stdout and stderr redirections. We expect no output from
systemctl, unless things are seriously wrong. Systemd macros made a change
like this too. Drop full paths to binaries, they make no difference and
are visually annoying.
A conditional was missing, we only want to forcibly enable dbus-broker
on the final uninstall of dbus-daemon. Eventually this should call into
presets, but for now use 'enable'.
This ends up disabling dbus-broker unless it is enblaed in the preset file,
we will hook up the presets eventually, but for now rely on the explicit
systemctl call.
Also drop some apostrophes that messes up the webui (at the cost of grammatical
correctness).
As approved for F30, dbus-broker will be the default bus
implementation. This changes the dbus-broker package to explicitly
enable dbus-broker over dbus-daemon when freshly installed. Existing
installs / updates are left untouched.
With this in, a simple install of dbus-broker will pull it in as
default backend for the system- and user-bus.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Make sure the 'dbus' user and group exist. They used to be created in
the 'dbus-common' package, but that is no longer the case. Instead, we
are supposed to create them in tail packages manually.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Also add triggerpostun hooks against dbus-daemon. In case both
dbus-broker and dbus-daemon are installed, and dbus-daemon is the one
that is enabled, make sure removing dbus-daemon enables dbus-broker.
Signed-off-by: Tom Gundersen <teg@jklm.no>
depend on dbus-common instead of dbus. Depending on dbus pulls in
dbus-daemon (and hence indirectly dbus-common), so that works, but
it is not what we want.