Ubuntu12.04 with dbus installed can not restart

Simon McVittie simon.mcvittie at collabora.co.uk
Tue May 26 03:31:46 PDT 2015


On 22/05/15 07:55, Licongjuan (Jane) wrote:
> One of my project needs to call dbus c code, so I installed dbus-1.9.4
> source code on the ubuntu12.04 server.

Ubuntu has historically depended on a patched version of dbus with
vendor changes for both Upstart and AppArmor support. Installing a local
version without those patches will not work.

Ubuntu 15.04 no longer has the Upstart patches, and dbus 1.9.12+
integrates a modified version of Ubuntu's AppArmor patches, so maybe one
day Ubuntu can stop patching it; but 12.04 is 3 years old by now, and
will likely continue to use their patched dbus 1.4.x for as long as it
is supported.

In general, dbus-daemon is an operating system component, and you should
use the version supplied by the OS vendor and not install your own
replacement. If you have a problem with that version, the first point of
contact should be the OS vendor. If you replace things as fundamental as
dbus, you are essentially making your own fork of the OS, in which case
you hopefully already know what you're doing; "if you break something,
you get to keep both pieces".

Additionally, regardless of whether your OS patches dbus, you should not
be using dbus 1.9.4. The latest stable version is the 1.8.x branch, and
OS vendors should normally either be using the latest release from that
branch (currently 1.8.18), or an older stable release with their own
backports of important security and bug fixes.

If you are directly contributing to D-Bus development or working on a
non-production OS variant with no change-control process (Debian
experimental, Fedora rawhide, etc.) then the dbus 1.9.x development
branch would be appropriate; but if you are using that branch, you are
expected to keep up with the latest version, currently 1.9.16. In
particular, 1.9.4 was vulnerable to CVE-2015-0245.

Regards,
    S



More information about the dbus mailing list