There is no need to have them as systemd correctly handles reloading
depending on the transaction ordering (even if systemd is installed
_after_ the package that installs the unit file).
Additionally, this also drops hard requires on /usr/bin/systemctl and
just makes the scriptlets that call systemctl conditional on systemctl
being present.
All of this helps avoid pulling in full systemd for container setups.
Apply a fix from upstream for an incorrect at_console range assertion
possibly affecting some of our users.
Signed-off-by: David Rheinsberg <david.rheinsberg@gmail.com>
Drop previous patch-files which are no longer applied. They are now part
of the upstream release.
Signed-off-by: David Rheinsberg <david.rheinsberg@gmail.com>
Update to newest upstream release. This includes a bunch of bug-fixes
for the new activation-tracking.
Signed-off-by: David Rheinsberg <david.rheinsberg@gmail.com>
Pull in upstream updates from v24 and prepare dbus-broker-24-1.rpm
release. This update includes only minor fixes to diagnostic messages
and auditing events.
Signed-off-by: David Rheinsberg <david.rheinsberg@gmail.com>
With F33 released, we now have 4 Fedora releases (F30-F33) that contain
a live-upgrade of `dbus-daemon` to `dbus-broker`. This allowed us to
convert existing machines out there to the new bus implementation.
However, the live-conversion is fragile, since it requires relinking
systemd services at runtime, tricking it into believing they did not
change. This is not guaranteed to work forever, nor do we want to rely
on it. Hence, this drops this code-path.
This effectively means that if you update pre-F29 machines to post-F34,
you will continue using `dbus-daemon`. This is completely fine and a
consistent *and* supported system setup. However, you no longer get the
benefits of dbus-broker automatically. Instead, you must explicitly
switch from dbus-daemon to dbus-broker. The easiest way to do that is
to install dbus-broker and uninstall dbus-daemon. This will
automatically convert the services to the new daemon.
Lastly, any fresh Fedora install will now always pick up dbus-broker,
since the `fedora-release` presets are merged and correctly configure
dbus-broker. Hence, this change only affects old installs.
Signed-off-by: David Rheinsberg <david.rheinsberg@gmail.com>
This fixes#1717925. The scriptlet in %pre is taken from dbus-daemon and tested with Fedora Rawhide on the OpenBuildService.
Signed-off-by: Jonathan Brielmaier <jbrielmaier@suse.de>
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.