Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558898 - =sys-apps/dbus-1.10.6 version bump
Summary: =sys-apps/dbus-1.10.6 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Freedesktop bugs
URL: http://lists.freedesktop.org/archives...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-27 09:31 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2015-12-28 16:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,539.97 KB, text/plain)
2015-08-27 09:31 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
dbus.initd-r1 (dbus.initd-r1,907 bytes, text/plain)
2015-11-04 08:21 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
dbus.initd-r1.diff (dbus.initd-r1.diff,1.11 KB, patch)
2015-11-04 08:22 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-08-27 09:31:14 UTC
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.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-10-27 09:08:20 UTC
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)
Comment 2 Mike Gilbert gentoo-dev 2015-10-27 20:03:18 UTC
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.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-11-04 08:21:29 UTC
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.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-11-04 08:22:47 UTC
Created attachment 416054 [details, diff]
dbus.initd-r1.diff

This is a diff showing the changes I did compared to the original init script.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-11-18 08:16:32 UTC
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)
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-12-02 08:01:28 UTC
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)
Comment 7 Mike Gilbert gentoo-dev 2015-12-06 17:41:48 UTC
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(+)
Comment 8 Mike Gilbert gentoo-dev 2015-12-28 16:55:15 UTC
I have removed the mask.