Commit Graph

292 Commits

Author SHA1 Message Date
David Herrmann
5a8f8e63cb Move 'useradd' dependency to daemon subpackage
The 'useradd' invocation is now on the 'daemon' subpackage, so move the
useradd dependency as well.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-10-24 08:08:44 +01:00
David King
f312051bb4 Remove unnecessary ldconfig calls
https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
2018-10-19 09:16:25 +01:00
David King
f087b7cb37 Move systemd to Requires of common subpackage (#1638910) 2018-10-19 09:16:03 +01:00
David King
dbd50d1961 Move user and group creation to daemon subpackage 2018-10-19 07:53:56 +01:00
Tom Gundersen
4372ca36ca dbus: apply presets on update
The systemd RPM macros only apply presets on first install, we need
to also apply them on the initial upgrade that starts depending on
them.

Signed-off-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-08-31 16:38:09 +02:00
David Herrmann
27eb7993d2 dbus: change 'system-release' dependency to 'fedora-release'
As it turns out, 'fedora-release' only has:

    'Provides: system-release'

rather than:

    'Provides: system-release = %{version}-%{release}'

This means, any explicit dependencies on 'system-release' ignore
versioning completely. This is unfortunate, and breaks our reliance on
'system-release'.

Fortunately, unlike recommended on the wiki, it is safe to depend on
'fedora-release' explicitly. Other fedora flavors have this package as
well, so there is no reason not to.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-08-31 16:37:38 +02:00
David Herrmann
235a81bfa5 dbus: move systemd-hooks for dbus.socket to 'dbus-common'
The systemd_{post,postun,preun,..} hooks should be called in the package
that actually provides the given files. There is no harm in calling
these in the dbus-daemon package, but preferably we don't. Move this to
'dbus-common' for dbus.socket, since dbus.socket is provided by it. This
makes sure the unit is properly enabled/disabled even without the
dbus-daemon package installed.

Note that it is safe to enable/disable dbus.socket even without a
dbus.service around. systemd can deal with this just fine, and only ever
actually pulls in the socket if an activatable service is around.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-08-30 12:03:25 +02:00
David Herrmann
b8679ce6a8 dbus: move generic units into 'dbus-common'
Make sure the generic unit files are provided by 'dbus-common', so
alternative dbus implementations can use them as well.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-08-29 11:44:38 +02:00
David Herrmann
896fb4a918 dbus: make use of [Install] unit sections
Rather than installing symlinks during the installation manually, put
in [Install] sections into the units. This has the same effect, but
allows changing the installation conditions via systemd-presets, which
are provided by the 'fedora-release' package.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-08-29 11:44:36 +02:00
David Herrmann
2fe9ed5df9 dbus: provide custom units
Rather than using the upstream units, use custom units tailored for
Fedora. For now, we mirror what upstream does, but rename the service
to 'dbus-daemon.service', with an alias on 'dbus.service'.

Follow-up patches will then introduce some changes to the units for
better integration of alternative D-Bus implementations.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-08-29 11:42:43 +02:00
David King
b4e92b3dec Update to 1.12.10 2018-08-03 07:05:51 +01:00
Colin Walters
9afcd0abee Add patch to port example to python3 2018-07-31 16:43:42 +00:00
Colin Walters
5f4342f1b7 Use python3-dbus to drop python2 deps 2018-07-31 16:19:09 +00:00
Colin Walters
180ea84df0 build: Use python3-dbus
As part of the super exciting and rewarding port to Python 3.
2018-07-31 16:08:54 +00:00
Fedora Release Engineering
2046326cce - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 22:36:54 +00:00
David Herrmann
a2190325da dbus: extract 'dbus-tools' from 'dbus-daemon'
Create a new sub-package called 'dbus-tools', which includes all the
independent command-line utilities provided by the reference
implementation. They are valid to be used with independent bus
implementations, so no reason to make them pull in dbus-daemon.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-05-23 10:06:52 +02:00
David Herrmann
b3696e58df dbus: extract 'dbus-common' sub-package
Create a new sub-package called 'dbus-common', extracting the XML
configuration and setup files from 'dbus-daemon'. These files might be
used by alternative D-Bus Messages Bus implementations, hence we want
them as a separate package.

This also pulls in the 'dbus' sysuser.d setup file, since this uid is
referenced from the xml-configuration of the system bus. Hence, it is
part of the configuration and required to be used by any compatible
implementation using the official XML configurations.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-05-23 10:06:18 +02:00
David Herrmann
1adc79b70a dbus: extract 'dbus' package into 'dbus-daemon'
This extracts all the contents of the 'dbus' package into a new
'dbus-daemon' package. All internal sub-package dependencies are
updated to point to the new sub-package. The original 'dbus' package is
kept around as empty meta-package that simply pulls in 'dbus-daemon'.
This is meant for compatibility so other packages continue working for
now. Dependencies on 'dbus' will be reviewed and updated before this
meta-package gets removed.

This package rename prepares Fedora to allow alternative
implementations of D-Bus System and Session buses. The 'dbus' package
name is freed from dependencies on any particular implementation.
Instead, the reference implementation is now called 'dbus-daemon' as a
package, with the intent to re-use the 'dbus' package name in the
future as a meta-name provided by 'dbus-daemon' as well alternative
implementations like 'dbus-broker'. It will serve as dependency of
dbus-only services to clearly tell rpm that a dbus system or user bus
implementation is required for a given package.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2018-05-23 10:05:28 +02:00
David King
8655952f6f Update to 1.12.8 (#1556590) 2018-04-30 18:51:27 +01:00
Adam Jackson
0493b27318 Don't Require: xorg-x11-xinit. We don't actually need it, and newer
filesystem packages own the directory for us.
2018-02-20 12:28:42 -05:00
Fedora Release Engineering
26b7e3336a - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 06:24:15 +00:00
David King
18cb0092d0 Update to 1.12.0 2017-10-30 15:01:15 +00:00
David King
95841a1a0e Update to 1.11.22 2017-10-23 17:01:28 +01:00
David King
c2ca577ff2 Allow cmake support to be disabled (#1497257) 2017-10-03 16:41:30 +01:00
David King
a1c6e0d5b1 Update to 1.11.20 2017-10-03 13:32:29 +01:00
David King
a7c2f970c9 Update to 1.11.18 2017-09-27 14:59:09 +01:00
Björn Esser
45f8889632 Rebuilt for AutoReq cmake-filesystem 2017-08-06 17:14:52 +02:00
Fedora Release Engineering
72ab942c8e - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 19:28:32 +00:00
Florian Weimer
bcf077adce Rebuild with binutils fix for ppc64le (#1475636) 2017-07-29 20:49:54 +02:00
David King
7112bea0da Update to 1.11.16 2017-07-28 14:30:22 +01:00
Fedora Release Engineering
51e8b882c1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 05:59:30 +00:00
David King
105660ead9 Update to 1.11.14 2017-06-29 22:54:00 +01:00
David King
d750f7d4a5 Update to 1.11.12 2017-04-07 20:15:13 +01:00
David King
18ec4d4d89 Own session.d and system.d directories (#1285033) 2017-03-02 09:43:25 +00:00
David King
39c334f982 Update to 1.11.10 2017-02-17 08:17:08 +00:00
Fedora Release Engineering
0efef172db - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 08:12:06 +00:00
David King
59d19b547f Update to 1.11.8 2016-11-29 13:55:22 +00:00
David King
18c422a071 Use systemd user unit macros 2016-10-11 20:38:12 +02:00
David King
ebb587f8e1 Update to 1.11.6 2016-10-11 20:35:13 +02:00
David King
3f6735273b Update to 1.11.4 2016-08-16 09:53:47 +02:00
David King
48d0df14b3 Update to 1.11.2 2016-03-16 11:16:30 +00:00
Dennis Gilmore
462be28213 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 18:29:50 +00:00
David King
e5cc59a40d Update to 1.11.0
Fix sending of audit events (#1278602)
2015-12-03 11:00:32 +00:00
David King
2819ba413f Update to 1.10.6 2015-12-02 08:44:07 +00:00
David King
261a5a023b Update to 1.10.4 2015-11-21 12:39:25 +01:00
David King
9f42e63793 Update to 1.10.2 2015-11-02 19:29:06 +00:00
David King
b7293f6907 Inject session bus address into user bus environment (#1274700) 2015-10-25 08:57:52 +00:00
David King
3de9b4dcf0 Enable Ducktype documentation 2015-09-10 10:51:08 +01:00
Kay Sievers
ffb87c8076 Ship systemd user bus units 2015-08-31 17:10:09 +02:00
David King
82fe6063f1 Update to 1.10.0 2015-08-26 14:24:38 +01:00