Created attachment 410390 [details] build.log See URL for a list of changes. Unfortunately it seems like test suite might be broken (or I didn't install all necessary deps, haven't investigated much). I've attached the build.log file of my test build with the error.
The “worst pies in London” release. git tag: dbus-1.10.2 Fixes: • Correct error handling for activation: if there are multiple attempts to activate the same service and it fails immediately, the first attempt would get the correct reply, but the rest would time out. We now send the same error reply to each attempt. (fd.o #92200, Simon McVittie) • If BecomeMonitor is called with a syntactically invalid match rule, don't crash with an assertion failure, fixing a regression in 1.9.10. This was not exploitable as a denial of service, because the check for a privileged user is done first. (fd.o #92298, Simon McVittie) • On Linux with --enable-user-session, add the bus address to the environment of systemd services for better backwards compatibility (fd.o #92612, Jan Alexander Steffens) • On Windows, fix the logic for replacing the installation prefix in service files' Exec lines (fd.o #83539; Milan Crha, Simon McVittie) • On Windows, if installed in the conventional layout with ${prefix}/etc and ${prefix}/share, use relative paths between bus configuration files to allow the tree to be relocated (fd.o #92028, Simon McVittie) • Make more of the regression tests pass in Windows builds (fd.o #92538, Simon McVittie)
If anyone gets around to bumping this, please sync up with me on the systemd interaction (especially with the --enable-user-session option). I haven't quite wrapped my head around how that is supposed to work.
Created attachment 416052 [details] dbus.initd-r1 While I added dbus-1.10 to my personal overlay I also took the liberty to simplify the openrc init script a bit. Please find attached the script I am already using for the last two months without any problems.
Created attachment 416054 [details, diff] dbus.initd-r1.diff This is a diff showing the changes I did compared to the original init script.
D-Bus 1.10.4 (2015-11-17) == The “Frostburn Canyon” release. Enhancements: GetConnectionCredentials, GetConnectionUnixUser and GetConnectionUnixProcessID with argument "org.freedesktop.DBus" will now return details of the dbus-daemon itself. This is required to be able to call SetEnvironment on systemd. (fd.o #92857, Jan Alexander Steffens) Fixes: Make UpdateActivationEnvironment always fail with AccessDenied on the system bus. Previously, it was possible to configure it so root could call it, but the environment variables were not actually used, because the launch helper would discard them. (fd.o #92857, Jan Alexander Steffens) On Unix with --systemd-activation on a user bus, make UpdateActivationEnvironment pass on its arguments to systemd's SetEnvironment method, solving inconsistency between the environments used for traditional activation and systemd user-service activation. (fd.o #92857, Jan Alexander Steffens) On Windows, don't crash if <syslog/> or --syslog is used (fd.o #92538, Ralf Habacker) On Windows, fix a memory leak when setting a DBusError from a Windows error (fd.o #92721, Ralf Habacker) On Windows, don't go into infinite recursion if we abort the process with backtraces enabled (fd.o #92721, Ralf Habacker) Fix various failing tests, variously on Windows and cross-platform: · don't test system.conf features (users, groups) that only make sense on the system bus, which is not supported on Windows · don't call _dbus_warn() when we skip a test, since it is fatal · fix computation of expected <standard_session_servicedirs/> · when running TAP tests, translate newlines to Unix format, fixing cross-compiled tests under Wine on Linux · don't stress-test refcounting under Wine, where it's really slow · stop assuming that a message looped-back to the test will be received immediately · skip some system bus tests on Windows since they make no sense there (fd.o #92538, fd.o #92721; Ralf Habacker, Simon McVittie)
D-Bus 1.10.6 (2015-12-01) == The “marzipan beetles” release. Fixes: On Unix when running tests as root, don't assert that root and the dbus-daemon user can still call UpdateActivationEnvironment; assert that those privileged users can call BecomeMonitor instead (fd.o #93036, Simon McVittie) On Windows, fix a memory leak in the autolaunch transport (fd.o #92899, Simon McVittie) On Windows Autotools builds, don't run tests that rely on dbus-run-session and other Unix-specifics (fd.o #92899, Simon McVittie)
commit 86785cf34413a9de72c2f882888e4ff21a113c49 Author: Mike Gilbert <floppym@gentoo.org> Date: Sun Dec 6 12:22:23 2015 -0500 sys-apps/dbus: Bump to 1.10.6 Enables systemd user sessions. init script rewrite by Polynomial-C, tweaked by me. Package-Manager: portage-2.2.26_p10 sys-apps/dbus/Manifest | 1 + sys-apps/dbus/dbus-1.10.6.ebuild | 255 ++++++++++++++++++++++++++++++++++++++ sys-apps/dbus/files/dbus.initd-r1 | 37 ++++++ 3 files changed, 293 insertions(+) commit e1b7ef1d7039fbeed23860b46ff6f6751117b22c Author: Mike Gilbert <floppym@gentoo.org> Date: Sun Dec 6 12:16:32 2015 -0500 package.mask: Mask dbus-1.10 for testing profiles/package.mask | 4 ++++ 1 file changed, 4 insertions(+)
I have removed the mask.