| 1 |
D-Bus 1.11.22 (2017-10-23) |
| 2 |
========================== |
| 3 |
|
| 4 |
The “fire surface” release. |
| 5 |
|
| 6 |
This is the first release-candidate for the 1.12.0 stable release. |
| 7 |
|
| 8 |
Build-time configuration changes: |
| 9 |
|
| 10 |
• When building for Windows with Autotools, setting the WINDRES variable |
| 11 |
no longer works to select a non-standard resource compiler. Use |
| 12 |
libtool's standard RC variable instead, for example |
| 13 |
"./configure RC=i686-w64-mingw32-windres" |
| 14 |
|
| 15 |
Dependencies: |
| 16 |
|
| 17 |
• Builds done using CMake now require CMake 3.0.2. |
| 18 |
|
| 19 |
Enhancements: |
| 20 |
|
| 21 |
• When building for Windows, improve quality of metadata in |
| 22 |
libdbus-1-3.dll (fd.o #103015, Ralf Habacker) |
| 23 |
|
| 24 |
Fixes: |
| 25 |
|
| 26 |
• Fix a typo "uint 16" in dbus-send(1) man page |
| 27 |
(fd.o #103075, David King) |
| 28 |
|
| 29 |
• When building for Windows, libdbus-1-3.dll always includes version |
| 30 |
information. Previously, this was missing if using CMake and any |
| 31 |
non-MSVC compiler. (fd.o #103015, Ralf Habacker) |
| 32 |
|
| 33 |
• Fix the build with MSVC, which regressed with the #102558 fix in |
| 34 |
1.11.20. (fd.o #102558, Ralf Habacker) |
| 35 |
|
| 36 |
Internal changes: |
| 37 |
|
| 38 |
• Simplify Windows resource embedding |
| 39 |
(fd.o #103015, Simon McVittie) |
| 40 |
|
| 41 |
D-Bus 1.11.20 (2017-10-03) |
| 42 |
== |
| 43 |
|
| 44 |
The “wraith stun” release. |
| 45 |
|
| 46 |
Build-time configuration changes: |
| 47 |
|
| 48 |
• The --enable-abstract-sockets and --disable-abstract-sockets options |
| 49 |
no longer exist. Support for Linux's abstract AF_UNIX sockets is now |
| 50 |
unconditionally enabled on Linux and disabled everywhere else. |
| 51 |
(fd.o #34905, Simon McVittie) |
| 52 |
|
| 53 |
Enhancements: |
| 54 |
|
| 55 |
• Make slower tests less likely to time out, and improve diagnostics if |
| 56 |
tests do time out (fd.o #103009, Simon McVittie) |
| 57 |
|
| 58 |
• On Windows, don't compile an unused stub implementation of |
| 59 |
_dbus_set_signal_handler() (fd.o #103010, Simon McVittie) |
| 60 |
|
| 61 |
Fixes: |
| 62 |
|
| 63 |
• Be more careful to save and restore errno in POSIX async signal |
| 64 |
handlers (fd.o #103010, Simon McVittie) |
| 65 |
|
| 66 |
• On Windows, embed a manifest in dbus-update-activation-environment.exe |
| 67 |
so that the heuristics used for UAC do not assume it needs elevated |
| 68 |
privileges due to its name containing "update" |
| 69 |
(fd.o #102558, Ralf Habacker) |
| 70 |
|
| 71 |
• On Windows with Automake, embed version information in libdbus-1, |
| 72 |
as was meant to happen in all versions since 2009 |
| 73 |
(fd.o #103015, Simon McVittie) |
| 74 |
|
| 75 |
D-Bus 1.11.18 (2017-09-25) |
| 76 |
== |
| 77 |
|
| 78 |
The “vampire conquistador” release. |
| 79 |
|
| 80 |
Build-time configuration changes: |
| 81 |
|
| 82 |
• By default, dbus-daemon on Unix no longer checks for flag files |
| 83 |
/var/run/console/${username} created by the obsolete pam_console and |
| 84 |
pam_foreground PAM modules when deciding whether ${username} is |
| 85 |
currently at the console. The old default behaviour can be restored |
| 86 |
by specifying --with-console-auth-dir=/var/run/console in the |
| 87 |
recommended Autotools build system, or |
| 88 |
-DDBUS_CONSOLE_AUTH_DIR=/var/run/console in CMake. This feature is |
| 89 |
now deprecated, and will be removed in dbus 1.13 unless feedback via |
| 90 |
fd.o #101629 indicates that this would be problematic. |
| 91 |
(fd.o #101629, Simon McVittie) |
| 92 |
|
| 93 |
• LSB-style init scripts for Red Hat and Slackware, and a non-LSB init |
| 94 |
script for Cygwin, are no longer provided in the upstream dbus |
| 95 |
source. We recommend that distributors who support non-systemd service |
| 96 |
management should maintain their own init scripts or other service |
| 97 |
manager integration as part of their downstream packaging, similar to |
| 98 |
the way Debian distributes a Debian-specific LSB init script for dbus. |
| 99 |
|
| 100 |
The systemd unit continues to be maintained as part of the upstream |
| 101 |
dbus source, because it receives regular testing and maintenance. |
| 102 |
|
| 103 |
(fd.o #101706, Simon McVittie) |
| 104 |
|
| 105 |
• The process ID file created by the system bus is no longer influenced |
| 106 |
by the --with-init-scripts=redhat configure option or the presence of |
| 107 |
/etc/redhat-release at build time. If your OS's init script or other |
| 108 |
service management relies on the Red Hat-style pid file, it can be |
| 109 |
restored by specifying --with-system-pid-file=/run/messagebus.pid at |
| 110 |
configure time or using the <pidfile> directive in bus configuration. |
| 111 |
|
| 112 |
Note that the upstream-supplied systemd unit runs dbus-daemon with |
| 113 |
the --nopidfile option, so it does not normally write a pid file, |
| 114 |
regardless of whether the OS is Red-Hat-derived or not. |
| 115 |
|
| 116 |
(fd.o #101706, Simon McVittie) |
| 117 |
|
| 118 |
Enhancements: |
| 119 |
|
| 120 |
• <allow> and <deny> rules in dbus-daemon configuration can now |
| 121 |
include send_broadcast="true" or send_broadcast="false", which make |
| 122 |
the rule only match broadcast signals, or only match messages that |
| 123 |
are not broadcast signals, respectively. |
| 124 |
(fd.o #29853, Simon McVittie) |
| 125 |
|
| 126 |
• <allow> and <deny> rules can now be configured to apply only to |
| 127 |
messages with or without Unix file descriptors attached. This would |
| 128 |
typically be used in rules like these: |
| 129 |
<allow send_destination="..." max_unix_fds="0"/> |
| 130 |
<deny send_destination="..." min_unix_fds="1"/> |
| 131 |
<deny receive_sender="..." min_unix_fds="1"/> |
| 132 |
but can also be used to set a nonzero upper limit on the number of |
| 133 |
file descriptors: |
| 134 |
<allow send_destination="..." max_unix_fds="4"/> |
| 135 |
(fd.o #101848, Simon McVittie) |
| 136 |
|
| 137 |
• On Unix platforms, the DBUS_COOKIE_SHA1 authentication mechanism |
| 138 |
now respects the HOME environment variable on the client side, and |
| 139 |
on the server side when the uid attempting to connect is the same |
| 140 |
as the uid of the server. This allows the automated tests to pass in |
| 141 |
environments where the user's "official" home directory in /etc/passwd |
| 142 |
is nonexistent, such as Debian autobuilders. |
| 143 |
(fd.o #101960, Simon McVittie) |
| 144 |
|
| 145 |
Fixes: |
| 146 |
|
| 147 |
• When parsing dbus-daemon configuration, tell Expat not to use |
| 148 |
cryptographic-quality entropy as a salt for its hash tables: we trust |
| 149 |
the configuration files, so we are not concerned about algorithmic |
| 150 |
complexity attacks via hash table collisions. This prevents |
| 151 |
dbus-daemon --system from holding up the boot process (and causing |
| 152 |
early-boot system services like systemd, logind, networkd to time |
| 153 |
out) on entropy-starved embedded systems. |
| 154 |
(fd.o #101858, Simon McVittie) |
| 155 |
|
| 156 |
• Avoid a -Werror=declaration-after-statement build failure on Solaris |
| 157 |
(fd.o #102145, Alan Coopersmith) |
| 158 |
|
| 159 |
• On Unix platform, drop DBUS_SYSTEM_LOG_INFO messages from LOG_NOTICE |
| 160 |
to LOG_INFO, matching how we use this log level in practice |
| 161 |
(fd.o #102686, Simon McVittie) |
| 162 |
|
| 163 |
D-Bus 1.11.16 (2017-07-27) |
| 164 |
== |
| 165 |
|
| 166 |
The “south facing garden” release. |
| 167 |
|
| 168 |
Build-time configuration changes: |
| 169 |
|
| 170 |
• The Autotools build system now supports varying ${runstatedir} |
| 171 |
independently of ${localstatedir}, if using an Autoconf version |
| 172 |
that has that feature; version 2.70 will eventually have this, but |
| 173 |
many Linux distributions add it to version 2.69 as a patch. |
| 174 |
A typical use is to set prefix=/usr, sysconfdir=/etc, localstatedir=/var |
| 175 |
and runstatedir=/run. (fd.o #101569, Simon McVittie) |
| 176 |
|
| 177 |
Enhancements: |
| 178 |
|
| 179 |
• New APIs DBUS_MESSAGE_ITER_INIT_CLOSED, dbus_message_iter_init_closed() |
| 180 |
and dbus_message_iter_abandon_container_if_open() simplify the |
| 181 |
single-exit-point ("goto out") style of resource cleanup. The API |
| 182 |
documentation around DBusMessageIter and containers has also been |
| 183 |
clarified. (fd.o #101568, Simon McVittie) |
| 184 |
|
| 185 |
Fixes: |
| 186 |
|
| 187 |
• Fix the implementation of re-enabling a timeout (again) so that its |
| 188 |
countdown is always restarted as intended. (fd.o #95619, |
| 189 |
Michal Koutný) |
| 190 |
|
| 191 |
• Make the dbus-daemon's Properties interface, as introduced in 1.11.14, |
| 192 |
available to all users on the system bus (fd.o #101700, Simon McVittie) |
| 193 |
|
| 194 |
• dbus_message_iter_append_basic() no longer leaks memory if it fails to |
| 195 |
append a file descriptor to a message. (fd.o #101568, Simon McVittie) |
| 196 |
|
| 197 |
• dbus_message_iter_open_container() no longer leaks memory if it runs out |
| 198 |
of memory. (fd.o #101568, Simon McVittie) |
| 199 |
|
| 200 |
• dbus_message_append_args_valist() no longer leaks memory if given an |
| 201 |
unsupported type. This situation is still considered to be a programming |
| 202 |
error which needs to be corrected by the user of libdbus. |
| 203 |
(fd.o #101568, Simon McVittie) |
| 204 |
|
| 205 |
• dbus_message_iter_append_basic() and dbus_message_iter_open_container() |
| 206 |
will no longer report that their arguments were invalid if they run out |
| 207 |
of memory at exactly the wrong time. (fd.o #101568, Simon McVittie) |
| 208 |
|
| 209 |
• Ensure that tests fail if they would otherwise have tried to connect to |
| 210 |
the real session bus (fd.o #101698, Simon McVittie) |
| 211 |
|
| 212 |
• Make build-time tests cope with finding Python 3, but not Python 2 |
| 213 |
(fd.o #101716, Simon McVittie) |
| 214 |
|
| 215 |
Internal changes relevant to dbus developers: |
| 216 |
|
| 217 |
• DBusVariant is a new mechanism to copy single values from a message into |
| 218 |
a buffer without copying the entire message (fd.o #101568, Simon McVittie) |
| 219 |
|
| 220 |
• DBUS_SYSTEM_LOG_FATAL has been replaced by DBUS_SYSTEM_LOG_ERROR. |
| 221 |
Logging an ERROR message does not make the process exit; the caller |
| 222 |
is responsible for calling abort() or exit(), whichever is more appropriate. |
| 223 |
(fd.o #101568, Simon McVittie) |
| 224 |
|
| 225 |
• Better test coverage (fd.o #101568, Simon McVittie) |
| 226 |
|
| 227 |
D-Bus 1.11.14 (2017-06-29) |
| 228 |
== |
| 229 |
|
| 230 |
The “irrational fear of bees” release. |
| 231 |
|
| 232 |
Dependencies: |
| 233 |
|
| 234 |
• Expat >= 2.1.0 is always required |
| 235 |
• libselinux >= 2.0.86 is required if SELinux support is enabled |
| 236 |
• GLib >= 2.40 is required if full test coverage is enabled |
| 237 |
|
| 238 |
Build-time configuration changes: |
| 239 |
|
| 240 |
• We now use pkg-config to find libexpat in Autotools builds. This requires |
| 241 |
Expat 2.1.0 (March 2012) or later. In particular, this should remove the |
| 242 |
need to configure with LDFLAGS=-L/usr/local/lib on OpenBSD, which can |
| 243 |
itself cause compilation failures. |
| 244 |
|
| 245 |
As with all pkg-config-based configure checks, you can use |
| 246 |
PKG_CONFIG_PATH=/whatever/lib/pkgconfig to find expat.pc in a |
| 247 |
non-standard prefix, or EXPAT_CFLAGS="-I/whatever/include" and |
| 248 |
EXPAT_LIBS="-L/whatever/lib -lexpat" to avoid needing a .pc file |
| 249 |
at all. |
| 250 |
|
| 251 |
(fd.o #69801, Simon McVittie) |
| 252 |
|
| 253 |
• Similarly, we now use pkg-config to find libselinux. Version 2.0.86 |
| 254 |
is required due to the removal of explicit refcounting for SIDs. |
| 255 |
(fd.o #100912, Laurent Bigonville) |
| 256 |
|
| 257 |
Behaviour changes: |
| 258 |
|
| 259 |
• Previously, /etc/machine-id could be copied to /var/lib/dbus/machine-id |
| 260 |
as a side-effect of a sufficiently privileged process merely reading the |
| 261 |
machine ID. It is no longer copied as a side-effect of reading. |
| 262 |
Running dbus-uuidgen --ensure, which should be done after installing dbus, |
| 263 |
continues to copy /etc/machine-id to /var/lib/dbus/machine-id if the |
| 264 |
former exists and the latter does not. |
| 265 |
(fd.o #101257, Simon McVittie) |
| 266 |
|
| 267 |
• The undocumented Verbose interface, and the GetAllMatchRules method on |
| 268 |
the undocumented Stats interface, must now be used via the object path |
| 269 |
/org/freedesktop/DBus. Previously, they existed on all object paths. |
| 270 |
(fd.o #101257, Simon McVittie) |
| 271 |
|
| 272 |
• AddMatch() with a match rule containing eavesdrop='true' will now fail |
| 273 |
unless called by either the same user as the dbus-daemon, or Unix uid 0 |
| 274 |
(root), matching the restrictions applied to the newer BecomeMonitor() |
| 275 |
method. On the session bus this has no practical effect. On the system |
| 276 |
bus this will prevent certain configurations that already did not |
| 277 |
work well in practice. (fd.o #101567, Simon McVittie) |
| 278 |
|
| 279 |
Enhancements: |
| 280 |
|
| 281 |
• D-Bus Specification version 0.31 |
| 282 |
· Don't require implementation-specific search paths to be lowest |
| 283 |
priority |
| 284 |
· Correct regex syntax for optionally-escaped bytes in addresses so it |
| 285 |
includes hyphen-minus, forward slash and underscore as intended |
| 286 |
· Describe all message bus methods in the same section |
| 287 |
· Clarify the correct object path for method calls to the message bus |
| 288 |
(/org/freedesktop/DBus, DBUS_PATH_DBUS in the reference implementation) |
| 289 |
· Document that the message bus implements Introspectable, Peer and |
| 290 |
Properties |
| 291 |
· Add new Features and Interfaces properties for message bus |
| 292 |
feature-discovery |
| 293 |
· Add unix:dir=..., which resembles unix:tmpdir=... but never uses |
| 294 |
abstract sockets |
| 295 |
· Don't require eavesdrop='true' to be accepted from connections not |
| 296 |
sufficiently privileged to use it successfully |
| 297 |
· Formally deprecate eavesdropping in favour of BecomeMonitor |
| 298 |
(fd.o #99825, #100686, #100795, #101256, #101257, #101567; |
| 299 |
Simon McVittie, Tom Gundersen) |
| 300 |
|
| 301 |
• Implement the Properties and Peer interfaces in dbus-daemon |
| 302 |
(fd.o #101257, Simon McVittie) |
| 303 |
|
| 304 |
• New function dbus_try_get_local_machine_id() is like |
| 305 |
dbus_get_local_machine_id(), but returning a DBusError. Other code |
| 306 |
that needs the machine ID will now report a recoverable error (instead |
| 307 |
of logging to stderr and aborting) if no machine ID is available. |
| 308 |
Generating a machine ID is still considered to be a required part of |
| 309 |
installing dbus correctly. (fd.o #13194, Simon McVittie) |
| 310 |
|
| 311 |
• Implement GetConnectionSELinuxSecurityContext("org.freedesktop.DBus") |
| 312 |
(fd.o #101315, Laurent Bigonville) |
| 313 |
|
| 314 |
• Avoid deprecated API calls when using SELinux |
| 315 |
(fd.o #100912, Laurent Bigonville) |
| 316 |
|
| 317 |
• Switch a test from the deprecated g_test_trap_fork() to |
| 318 |
g_test_trap_subprocess(), for Windows support and better robustness |
| 319 |
on Unix (fd.o #101362, Simon McVittie) |
| 320 |
|
| 321 |
• On systemd systems, if ${localstatedir}/lib/dbus/machine-id doesn't exist, |
| 322 |
instruct systemd-tmpfiles to make it a symbolic link to /etc/machine-id. |
| 323 |
This prevents the two files from going out of sync on stateless or live |
| 324 |
images without needing to run dbus-uuidgen, and supports older D-Bus |
| 325 |
implementations that do not necessarily read /etc/machine-id themselves. |
| 326 |
(fd.o #101570, Simon McVittie) |
| 327 |
|
| 328 |
• Implement unix:dir=..., which resembles unix:tmpdir=... but never uses |
| 329 |
abstract sockets. This is preferable when used with Linux containers. |
| 330 |
(fd.o #101567, Simon McVittie) |
| 331 |
|
| 332 |
Fixes: |
| 333 |
|
| 334 |
• Fix a reference leak when blocking on a pending call on a connection |
| 335 |
that has been disconnected (fd.o #101481, Shin-ichi MORITA) |
| 336 |
|
| 337 |
• Don't put timestamps in the Doxygen-generated documentation, |
| 338 |
or hard-code the build directory into builds with embedded tests, |
| 339 |
for reproducible builds (fd.o #100692, Simon McVittie) |
| 340 |
|
| 341 |
• Fix some integration test issues (fd.o #100686, Simon McVittie) |
| 342 |
|
| 343 |
• Fix memory leaks in the tests (fd.o #101257, Simon McVittie) |
| 344 |
|
| 345 |
• If we somehow get an autolaunch address with multiple semicolon-separated |
| 346 |
components, and they don't work, don't invalidly "pile up" errors |
| 347 |
(fd.o #101257, Simon McVittie) |
| 348 |
|
| 349 |
Documentation: |
| 350 |
|
| 351 |
• Update git URIs in HACKING document to sync up with cgit.freedesktop.org |
| 352 |
(fd.o #100715, Simon McVittie) |
| 353 |
|
| 354 |
D-Bus 1.11.12 (2017-04-07) |
| 355 |
== |
| 356 |
|
| 357 |
The “it's something humans do” release. |
| 358 |
|
| 359 |
Enhancements: |
| 360 |
|
| 361 |
• The session dbus-daemon now supports transient .service files |
| 362 |
in $XDG_RUNTIME_DIR/dbus-1/services. Unlike the other standard |
| 363 |
service directories, this directory is not monitored with inotify |
| 364 |
or similar, and the service files must be named exactly |
| 365 |
${bus_name}.service. (fd.o #99825, Simon McVittie) |
| 366 |
|
| 367 |
• dbus can be configured with --enable-relocation when building with |
| 368 |
Autotools, or with -DDBUS_RELOCATABLE=ON when building with cmake, |
| 369 |
to make the pkg-config metadata relocatable. This is useful for |
| 370 |
non-standard prefixes, and in particular for Windows installations. |
| 371 |
However, it is not recommended for system-wide installations into |
| 372 |
/usr, because it interferes with pkg-config's ability to filter out |
| 373 |
compiler default linker directories. |
| 374 |
|
| 375 |
With Autotools, the default is --enable-relocation when building |
| 376 |
for Windows or --disable-relocation otherwise. With CMake, the default |
| 377 |
is -DDBUS_RELOCATABLE=ON. |
| 378 |
|
| 379 |
(fd.o #99721; Ralf Habacker, Simon McVittie) |
| 380 |
|
| 381 |
• Users of CMake ≥ 2.6 can now link to libdbus without providing their |
| 382 |
own FindDBus.cmake macros, whether dbus was compiled with Autotools |
| 383 |
or with CMake. See the end of README.cmake for more information. |
| 384 |
(fd.o #99721; Ralf Habacker, Simon McVittie) |
| 385 |
|
| 386 |
Fixes: |
| 387 |
|
| 388 |
• Always read service file directories in the intended order |
| 389 |
(fd.o #99825, Simon McVittie) |
| 390 |
|
| 391 |
• When tests are skipped, don't try to kill nonexistent process 0 |
| 392 |
(fd.o #99825, Simon McVittie) |
| 393 |
|
| 394 |
• Avoid valgrind false positives (fd.o #88808, Philip Withnall) |
| 395 |
|
| 396 |
• Fix a harmless read overflow and some memory leaks in a unit test |
| 397 |
(fd.o #100568, Philip Withnall) |
| 398 |
|
| 399 |
• Fix some typos in test code |
| 400 |
(fd.o #99999, Coverity #141876, #141877; Philip Withnall) |
| 401 |
|
| 402 |
• Clarify the roles of /etc/dbus-1/s*.d and /usr/share/dbus-1/s*.d |
| 403 |
in documentation (fd.o #99901, Philip Withnall) |
| 404 |
|
| 405 |
• Fix and enable compiler warnings related to -Wswitch |
| 406 |
(fd.o #98191; Thomas Zimmermann, Simon McVittie) |
| 407 |
|
| 408 |
• Fix writing off the end of a fd_set when testing with valgrind |
| 409 |
(fd.o #99839, Philip Withnall) |
| 410 |
|
| 411 |
D-Bus 1.11.10 (2017-02-16) |
| 412 |
== |
| 413 |
|
| 414 |
The “purple hair gives you telekinesis?” release. |
| 415 |
|
| 416 |
Dependencies: |
| 417 |
|
| 418 |
• AppArmor support requires at least libapparmor 2.8.95, reduced |
| 419 |
from 2.10 in previous versions. One test requires 2.10 and is |
| 420 |
skipped if building with an older version. |
| 421 |
|
| 422 |
Enhancements: |
| 423 |
|
| 424 |
• Do the Travis-CI build in Docker containers for Ubuntu LTS, Debian |
| 425 |
stable and Debian testing in addition to the older Ubuntu that is |
| 426 |
the default (fd.o #98889, Simon McVittie) |
| 427 |
|
| 428 |
• Avoid some deprecated CMake functions (fd.o #99586, Ralf Habacker) |
| 429 |
|
| 430 |
• Silence many -Wswitch-enum and -Wswitch-default warnings |
| 431 |
(fd.o #98191; Thomas Zimmermann, Simon McVittie) |
| 432 |
|
| 433 |
• Install a sysusers.d snippet so `dbus-daemon --system` can be used |
| 434 |
with an unpopulated /etc (fd.o #99162, Lennart Poettering) |
| 435 |
|
| 436 |
• Install pkg-config metadata on Unix even if building with CMake |
| 437 |
(fd.o #99752, Ralf Habacker) |
| 438 |
|
| 439 |
• Exclude auth mechanisms from REJECTED message if they are supported |
| 440 |
in the code but but configured to be disallowed (fd.o #99621, |
| 441 |
Ralf Habacker) |
| 442 |
|
| 443 |
Fixes: |
| 444 |
|
| 445 |
• Prevent symlink attacks in the nonce-tcp transport on Unix that could |
| 446 |
allow an attacker to overwrite a file named "nonce", in a directory |
| 447 |
that the user running dbus-daemon can write, with a random value |
| 448 |
known only to the user running dbus-daemon. This is unlikely to be |
| 449 |
exploitable in practice, particularly since the nonce-tcp transport |
| 450 |
is really only useful on Windows. |
| 451 |
|
| 452 |
On Unix systems we strongly recommend using only the unix: and systemd: |
| 453 |
transports, together with EXTERNAL authentication. These are the only |
| 454 |
transports and authentication mechanisms enabled by default. |
| 455 |
|
| 456 |
(fd.o #99828, Simon McVittie) |
| 457 |
|
| 458 |
• Avoid symlink attacks in the "embedded tests", which are not enabled |
| 459 |
by default and should never be enabled in production builds of dbus. |
| 460 |
(fd.o #99828, Simon McVittie) |
| 461 |
|
| 462 |
• Fix the implementation of re-enabling a timeout so that its |
| 463 |
countdown is restarted as intended, instead of continually |
| 464 |
decreasing. (fd.o #95619; Michal Koutný, Simon McVittie) |
| 465 |
|
| 466 |
• When receiving a message with file descriptors, do not start reading |
| 467 |
the beginning of the next message, so that only one such message |
| 468 |
is processed at a time. In conjunction with the fix for #95619 |
| 469 |
this means that processes sending many file descriptors, such as |
| 470 |
systemd-logind on a system that receives very rapid ssh connections, |
| 471 |
are not treated as abusive and kicked off the bus. Revert the previous |
| 472 |
workaround that special-cased uid 0. |
| 473 |
(fd.o #95263, LP#1591411; Simon McVittie) |
| 474 |
|
| 475 |
• Do not require TMPDIR, TEMP or TMP to be set when cross-compiling |
| 476 |
for Windows with CMake (fd.o #99586, Ralf Habacker) |
| 477 |
|
| 478 |
• Do not set Unix-specific variables when targeting Windows |
| 479 |
(fd.o #99586, Ralf Habacker) |
| 480 |
|
| 481 |
• Install Unix executables to ${CMAKE_INSTALL_PREFIX}/bin as intended, |
| 482 |
not ${CMAKE_INSTALL_PREFIX}/lib (fd.o #99752, Ralf Habacker) |
| 483 |
|
| 484 |
• Use relative install locations in CMake on Unix to respect DESTDIR, |
| 485 |
and use GNU-style install layout (fd.o #99721, #99752; Ralf Habacker) |
| 486 |
|
| 487 |
• Install dbus-arch-deps.h correctly when using CMake |
| 488 |
(fd.o #99586, #99721; Ralf Habacker) |
| 489 |
|
| 490 |
• Improve argument validation for `dbus-test-tool spam` |
| 491 |
(ffd.o #99693, Coverity #54759; Philip Withnall) |
| 492 |
|
| 493 |
• Don't shift by a negative integer if a hash table becomes monstrously |
| 494 |
large (fd.o #99641, Coverity #54682; Philip Withnall) |
| 495 |
|
| 496 |
• Don't leak LSM label if dbus-daemon runs out of memory when dealing with |
| 497 |
a new connection (fd.o #99612, Coverity #141058; Philip Withnall) |
| 498 |
|
| 499 |
• Remove an unnecessary NULL check |
| 500 |
(fd.o #99642, Coverity #141062; Philip Withnall) |
| 501 |
|
| 502 |
• Improve error handling in unit tests and dbus-send |
| 503 |
(fd.o #99643, #99694, #99712, #99722, #99723, #99724, #99758, |
| 504 |
#99759, #99793, Coverity #54688, #54692, #54693, #54697, #54701, |
| 505 |
#54710, #54711, #54714, #54715, #54718, #54721, #54724, #54726, |
| 506 |
#54730, #54740, #54822, #54823, #54824, #54825; Philip Withnall) |
| 507 |
|
| 508 |
• Do not print verbose messages' timestamps to stderr if the actual message |
| 509 |
has been redirected to the Windows debug port (fd.o #99749, Ralf Habacker) |
| 510 |
|
| 511 |
D-Bus 1.11.8 (2016-11-28) |
| 512 |
== |
| 513 |
|
| 514 |
The “panics in the face of breakfast foods” release. |
| 515 |
|
| 516 |
Build-time configuration: |
| 517 |
|
| 518 |
• The new --enable-debug configure option provides an easy way to |
| 519 |
enable debug symbols, disable optimization and/or enable profiling. |
| 520 |
|
| 521 |
• The --enable-compile-warnings configure option can be used to control |
| 522 |
compiler warnings. |
| 523 |
|
| 524 |
• The --disable-compiler-optimisations configure option is no longer |
| 525 |
supported. Use --enable-debug=yes or CFLAGS=-O0 instead. |
| 526 |
|
| 527 |
Enhancements: |
| 528 |
|
| 529 |
• D-Bus Specification version 0.30 |
| 530 |
· Define the jargon term "activation" more clearly |
| 531 |
· Define the jargon term "auto-starting", which is one form of activation |
| 532 |
· Document the optional SystemdService key in service files |
| 533 |
· Use versioned interface and bus names in most examples |
| 534 |
· Clarify intended behaviour of Properties.GetAll |
| 535 |
(fd.o #36190, fd.o #98671; Philip Withnall, Simon McVittie) |
| 536 |
|
| 537 |
• Fix and enable a lot of compiler warnings to improve future code |
| 538 |
quality. This might incidentally also fix some environment variable |
| 539 |
accesses on OS X. |
| 540 |
· In particular, printf-style functions in the libdbus API are now annotated |
| 541 |
with __attribute__((__format__(__printf__, *, *))) when compiling with |
| 542 |
gcc or clang. This might make printf bugs in other software visible |
| 543 |
at compile time. |
| 544 |
(fd.o #97357, fd.o #98192, fd.o #98195, fd.o #98658; |
| 545 |
Thomas Zimmermann, Simon McVittie) |
| 546 |
|
| 547 |
• When running with AppArmor mediation (for example using Ubuntu's patched |
| 548 |
Linux kernel), clients can no longer auto-start services unless they would |
| 549 |
have been able to send the auto-starting message to the service after it |
| 550 |
starts. StartServiceByName() is unaffected, and continues to be allowed by |
| 551 |
default in AppArmor's <abstractions/dbus-strict> and |
| 552 |
<abstractions/dbus-session-strict>. (fd.o #98666, Simon McVittie) |
| 553 |
|
| 554 |
Fixes: |
| 555 |
|
| 556 |
• Work around an undesired effect of the fix for CVE-2014-3637 |
| 557 |
(fd.o #80559), in which processes that frequently send fds, such as |
| 558 |
logind during a flood of new PAM sessions, can get disconnected for |
| 559 |
continuously having at least one fd "in flight" for too long; |
| 560 |
dbus-daemon interprets that as a potential denial of service attack. |
| 561 |
The workaround is to disable that check for uid 0 process such as |
| 562 |
logind, with a message in the system log. The bug remains open while |
| 563 |
we look for a more general solution. |
| 564 |
(fd.o #95263, LP#1591411; Simon McVittie) |
| 565 |
|
| 566 |
• Don't run the test test-dbus-launch-x11.sh if X11 autolaunching |
| 567 |
was disabled at compile time. That test is not expected to work |
| 568 |
in that configuration. (fd.o #98665, Simon McVittie) |
| 569 |
|
| 570 |
D-Bus 1.11.6 (2016-10-10) |
| 571 |
== |
| 572 |
|
| 573 |
The “darkly whimsical” release. |
| 574 |
|
| 575 |
Security fixes: |
| 576 |
|
| 577 |
• Do not treat ActivationFailure message received from root-owned systemd |
| 578 |
name as a format string. In principle this is a security vulnerability, |
| 579 |
but we do not believe it is exploitable in practice, because only |
| 580 |
privileged processes can own the org.freedesktop.systemd1 bus name, and |
| 581 |
systemd does not appear to send activation failures that contain "%". |
| 582 |
|
| 583 |
Please note that this probably *was* exploitable in dbus versions |
| 584 |
older than 1.6.30, 1.8.16 and 1.9.10 due to a missing check which at |
| 585 |
the time was only thought to be a denial of service vulnerability |
| 586 |
(CVE-2015-0245). If you are still running one of those versions, |
| 587 |
patch or upgrade immediately. |
| 588 |
|
| 589 |
(fd.o #98157, Simon McVittie) |
| 590 |
|
| 591 |
Enhancements: |
| 592 |
|
| 593 |
• D-Bus Specification version 0.29 |
| 594 |
· Recommend not using '/' for object paths (fd.o #37095, Philip Withnall) |
| 595 |
· Allow <annotation> in <arg> elements (fd.o #86162, Philip Withnall) |
| 596 |
|
| 597 |
• Log to syslog when we exceed various anti-DoS limits, and add test |
| 598 |
coverage for them (fd.o #86442, Simon McVittie) |
| 599 |
|
| 600 |
• Improve syslog handling so that _dbus_warn() and similar warnings |
| 601 |
go to syslog, add dbus-daemon --syslog|--nosyslog|--syslog-only options, |
| 602 |
and log to syslog (instead of /dev/null) when dbus-daemon is started by |
| 603 |
dbus-launch. (fd.o #97009, Simon McVittie) |
| 604 |
|
| 605 |
• Install introspect.dtd and busconfig.dtd to ${datadir}/xml/dbus-1 |
| 606 |
(fd.o #89011, Philip Withnall) |
| 607 |
|
| 608 |
• When logging messages about service activation, mention which peer |
| 609 |
requested the activation (fd.o #68212, Philip Withnall) |
| 610 |
|
| 611 |
• On Linux, mention the LSM label (if available) whenever we print |
| 612 |
debug information about a peer (fd.o #68212, Philip Withnall) |
| 613 |
|
| 614 |
Other fixes: |
| 615 |
|
| 616 |
• Harden dbus-daemon against malicious or incorrect ActivationFailure |
| 617 |
messages by rejecting them if they do not come from a privileged |
| 618 |
process, or if systemd activation is not enabled |
| 619 |
(fd.o #98157, Simon McVittie) |
| 620 |
|
| 621 |
• Avoid undefined behaviour when setting reply serial number without going |
| 622 |
via union DBusBasicValue (fd.o #98035, Marc Mutz) |
| 623 |
|
| 624 |
• Fix CMake build for Unix platforms that do not have -lrt, such as Android, |
| 625 |
or that do need -lsocket, such as QNX (fd.o #94096, Ralf Habacker) |
| 626 |
|
| 627 |
• autogen.sh: fail cleanly if autoconf fails (Simon McVittie) |
| 628 |
|
| 629 |
D-Bus 1.11.4 (2016-08-15) |
| 630 |
== |
| 631 |
|
| 632 |
The “copper pickaxe” release. |
| 633 |
|
| 634 |
Dependencies: |
| 635 |
|
| 636 |
• Building from git (but not from tarballs) now requires |
| 637 |
macros from the GNU Autoconf Archive, for example the autoconf-archive |
| 638 |
package in Debian or Fedora derivatives. |
| 639 |
|
| 640 |
Build-time configuration: |
| 641 |
|
| 642 |
• The option to enable coverage instrumentation has changed from |
| 643 |
--enable-compiler-coverage to --enable-code-coverage. |
| 644 |
|
| 645 |
Enhancements: |
| 646 |
|
| 647 |
• D-Bus Specification version 0.28 |
| 648 |
· Clarify some details of serialization (fd.o #93382, Philip Withnall) |
| 649 |
|
| 650 |
• Increase listen() backlog of AF_UNIX sockets to the maximum possible, |
| 651 |
minimizing failed connections under heavy load |
| 652 |
(fd.o #95264, Lennart Poettering) |
| 653 |
|
| 654 |
• Add a new dbus-launch --exit-with-x11 option (fd.o #39197, Simon McVittie) |
| 655 |
|
| 656 |
• Use the same regression tests for subprocess starting on Unix and Windows |
| 657 |
(fd.o #95191, Ralf Habacker) |
| 658 |
|
| 659 |
• Print timestamps and thread IDs in verbose messages |
| 660 |
(fd.o #95191, Ralf Habacker) |
| 661 |
|
| 662 |
• On Unix, unify the various places that reopen stdin, stdout and/or stderr |
| 663 |
pointing to /dev/null (fd.o #97008, Simon McVittie) |
| 664 |
|
| 665 |
• Use AX_CODE_COVERAGE instead of our own COMPILER_COVERAGE |
| 666 |
(fd.o #88922, Thomas Zimmermann) |
| 667 |
|
| 668 |
Fixes: |
| 669 |
|
| 670 |
• On Windows, fix a memory leak in replacing the installation prefix |
| 671 |
(fd.o #95191, Ralf Habacker) |
| 672 |
|
| 673 |
• On Linux, when dbus-daemon is run with reduced susceptibility to the |
| 674 |
OOM killer (typically via systemd), do not let child processes inherit |
| 675 |
that setting (fd.o #32851; Kimmo Hämäläinen, WaLyong Cho) |
| 676 |
|
| 677 |
• On Unix, make dbus-launch and dbus-daemon --fork work as intended |
| 678 |
even if a parent process incorrectly starts them with stdin, stdout |
| 679 |
and/or stderr closed (fd.o #97008, Simon McVittie) |
| 680 |
|
| 681 |
• Output valid shell syntax in ~/.dbus/session-bus/ if the bus address |
| 682 |
contains a semicolon (fd.o #94746, Thiago Macieira) |
| 683 |
|
| 684 |
• Fix memory leaks and thread safety in subprocess starting on Windows |
| 685 |
(fd.o #95191, Ralf Habacker) |
| 686 |
|
| 687 |
• Stop test-dbus-daemon incorrectly failing on platforms that cannot |
| 688 |
discover the process ID of clients (fd.o #96653, Руслан Ижбулатов) |
| 689 |
|
| 690 |
• In tests that exercise correct handling of crashing D-Bus services, |
| 691 |
suppress Windows crash handler (fd.o #95155; Yiyang Fei, Ralf Habacker) |
| 692 |
|
| 693 |
• Explicitly check for stdint.h (Ioan-Adrian Ratiu) |
| 694 |
|
| 695 |
• In tests, add an invalid DBusAuthState to avoid undefined behaviour |
| 696 |
in some test cases (fd.o #93909, Nick Lewycky) |
| 697 |
|
| 698 |
• Add assertions to reassure a static analysis tool |
| 699 |
(fd.o #93210, Deepika Aggarwal) |
| 700 |
|
| 701 |
• Be explicit about enum comparison when loading XML |
| 702 |
(fd.o #93205, Deepika Aggarwal) |
| 703 |
|
| 704 |
• update-activation-environment: produce better diagnostics on error |
| 705 |
(fd.o #96653, Simon McVittie) |
| 706 |
|
| 707 |
• Avoid various compiler warnings with gcc 6 |
| 708 |
(fd.o #97282; Thomas Zimmermann, Simon McVittie) |
| 709 |
|
| 710 |
• On Unix when configured to use the system log, report as "dbus-daemon", |
| 711 |
not as "dbus" (fd.o #97009, Simon McVittie) |
| 712 |
|
| 713 |
• During unit tests, reduce the amount we write to the system log |
| 714 |
(fd.o #97009, Simon McVittie) |
| 715 |
|
| 716 |
D-Bus 1.11.2 (2016-03-07) |
| 717 |
== |
| 718 |
|
| 719 |
The “pneumatic drill vs. Iron Maiden” release. |
| 720 |
|
| 721 |
Fixes: |
| 722 |
|
| 723 |
• Enable "large file support" on systems where it exists: dbus-daemon |
| 724 |
is not expected to open large files, but it might need to stat files |
| 725 |
that happen to have large inode numbers (fd.o #93545, Hongxu Jia) |
| 726 |
|
| 727 |
• Eliminate padding inside DBusMessageIter on 64-bit platforms, |
| 728 |
which might result in a pedantic C compiler not copying the entire contents |
| 729 |
of a DBusMessageIter; statically assert that this is not an ABI change |
| 730 |
in practice (fd.o #94136, Simon McVittie) |
| 731 |
|
| 732 |
• Document dbus-test-tool echo --sleep-ms=N instead of incorrect --sleep=N |
| 733 |
(fd.o #94244, Dmitri Iouchtchenko) |
| 734 |
|
| 735 |
• Correctly report test failures in C tests from run-test.sh |
| 736 |
(fd.o #93379; amit tewari, Simon McVittie) |
| 737 |
|
| 738 |
• When tests are enabled, run all the marshal-validate tests, not just |
| 739 |
the even-numbered ones (fd.o #93908, Nick Lewycky) |
| 740 |
|
| 741 |
• Correct the expected error from one marshal-validate test, which was |
| 742 |
previously not run due to the above bug (fd.o #93908, Simon McVittie) |
| 743 |
|
| 744 |
• Fix compilation under CMake when embedded tests are disabled |
| 745 |
(fd.o #94094, eric.hyer) |
| 746 |
|
| 747 |
Internal changes: |
| 748 |
|
| 749 |
• Fix all -Wpointer-sign (signed/unsigned mismatch) warnings, and enable the |
| 750 |
warning (fd.o #93069; Ralf Habacker, Simon McVittie) |
| 751 |
|
| 752 |
• When building with CMake, use the same gcc/clang warnings as under Autotools, |
| 753 |
or MSVC warnings that are broadly similar (fd.o #93069, Ralf Habacker) |
| 754 |
|
| 755 |
• test/name-test: make C tests produce TAP output and run them directly, not |
| 756 |
via run-test.sh (fd.o #92899, Simon McVittie) |
| 757 |
|
| 758 |
• Under CMake when cross-compiling for Windows on Unix, run the tests |
| 759 |
under Wine even if binfmt_misc support is not available |
| 760 |
(fd.o #88966, Ralf Habacker) |
| 761 |
|
| 762 |
• The DBUS_USE_TEST_BINARY environment variable is no longer used by builds with |
| 763 |
embedded tests; DBUS_TEST_DBUS_LAUNCH replaces it (fd.o #92899, Simon McVittie) |
| 764 |
|
| 765 |
• Factor out some functions that will be needed in future for a Windows |
| 766 |
implementation of dbus-run-session (fd.o #92899, Ralf Habacker) |
| 767 |
|
| 768 |
D-Bus 1.11.0 (2015-12-02) |
| 769 |
== |
| 770 |
|
| 771 |
The “peppermint deer” release. |
| 772 |
|
| 773 |
Dependencies: |
| 774 |
|
| 775 |
• On non-Windows platforms, dbus now requires an <inttypes.h> that defines |
| 776 |
C99 constants such as PRId64 and PRIu64. |
| 777 |
|
| 778 |
Enhancements: |
| 779 |
|
| 780 |
• D-Bus Specification version 0.27 |
| 781 |
· Specify that services should not reply if NO_REPLY_EXPECTED was used |
| 782 |
(fd.o #75749, Lars Uebernickel) |
| 783 |
|
| 784 |
• Add a script to do continuous-integration builds, and metadata to run it |
| 785 |
on travis-ci.org. To use this, clone the dbus git repository on GitHub |
| 786 |
and set it up with travis-ci.org; the only special setting needed is |
| 787 |
"only build branches with a .travis.yml". (fd.o #93194, Simon McVittie) |
| 788 |
|
| 789 |
• If dbus-daemon is run with --systemd-activation, do not require |
| 790 |
org.freedesktop.systemd1.service to exist (fd.o #93194, Simon McVittie) |
| 791 |
|
| 792 |
Fixes: |
| 793 |
|
| 794 |
• Re-order dbus-daemon startup so that on SELinux systems, the thread |
| 795 |
that reads AVC notifications retains the ability to write to the |
| 796 |
audit log (fd.o #92832, Laurent Bigonville) |
| 797 |
|
| 798 |
• Print 64-bit integers on non-GNU Unix platforms (fd.o #92043, Natanael Copa) |
| 799 |
|
| 800 |
• When using the Monitoring interface, match messages' destinations |
| 801 |
(fd.o #92074, Simon McVittie) |
| 802 |
|
| 803 |
• On Linux with systemd, stop installing a reference to the obsolete |
| 804 |
dbus.target, and enable dbus.socket statically (fd.o #78412, #92402; |
| 805 |
Simon McVittie) |
| 806 |
|
| 807 |
• On Windows, when including configuration files with <include> or |
| 808 |
<includedir>, apply the same relocation as for the Exec paths |
| 809 |
in .service files (fd.o #92028, Simon McVittie) |
| 810 |
|
| 811 |
• Add support for backtraces on Windows (fd.o #92721, Ralf Habacker) |
| 812 |
|
| 813 |
• Fix many -Wpointer-sign warnings (fd.o #93069, Ralf Habacker) |
| 814 |
|
| 815 |
D-Bus 1.10.6 (2015-12-01) |
| 816 |
== |
| 817 |
|
| 818 |
The “marzipan beetles” release. |
| 819 |
|
| 820 |
Fixes: |
| 821 |
|
| 822 |
• On Unix when running tests as root, don't assert that root and |
| 823 |
the dbus-daemon user can still call UpdateActivationEnvironment; |
| 824 |
assert that those privileged users can call BecomeMonitor instead |
| 825 |
(fd.o #93036, Simon McVittie) |
| 826 |
|
| 827 |
• On Windows, fix a memory leak in the autolaunch transport (fd.o #92899, |
| 828 |
Simon McVittie) |
| 829 |
|
| 830 |
• On Windows Autotools builds, don't run tests that rely on |
| 831 |
dbus-run-session and other Unix-specifics (fd.o #92899, Simon McVittie) |
| 832 |
|
| 833 |
D-Bus 1.10.4 (2015-11-17) |
| 834 |
== |
| 835 |
|
| 836 |
The “Frostburn Canyon” release. |
| 837 |
|
| 838 |
Enhancements: |
| 839 |
|
| 840 |
• GetConnectionCredentials, GetConnectionUnixUser and |
| 841 |
GetConnectionUnixProcessID with argument "org.freedesktop.DBus" |
| 842 |
will now return details of the dbus-daemon itself. This is required |
| 843 |
to be able to call SetEnvironment on systemd. |
| 844 |
(fd.o #92857, Jan Alexander Steffens) |
| 845 |
|
| 846 |
Fixes: |
| 847 |
|
| 848 |
• Make UpdateActivationEnvironment always fail with AccessDenied on the |
| 849 |
system bus. Previously, it was possible to configure it so root could |
| 850 |
call it, but the environment variables were not actually used, |
| 851 |
because the launch helper would discard them. |
| 852 |
(fd.o #92857, Jan Alexander Steffens) |
| 853 |
|
| 854 |
• On Unix with --systemd-activation on a user bus, make |
| 855 |
UpdateActivationEnvironment pass on its arguments to systemd's |
| 856 |
SetEnvironment method, solving inconsistency between the environments |
| 857 |
used for traditional activation and systemd user-service activation. |
| 858 |
(fd.o #92857, Jan Alexander Steffens) |
| 859 |
|
| 860 |
• On Windows, don't crash if <syslog/> or --syslog is used |
| 861 |
(fd.o #92538, Ralf Habacker) |
| 862 |
|
| 863 |
• On Windows, fix a memory leak when setting a DBusError from a Windows |
| 864 |
error (fd.o #92721, Ralf Habacker) |
| 865 |
|
| 866 |
• On Windows, don't go into infinite recursion if we abort the process |
| 867 |
with backtraces enabled (fd.o #92721, Ralf Habacker) |
| 868 |
|
| 869 |
• Fix various failing tests, variously on Windows and cross-platform: |
| 870 |
· don't test system.conf features (users, groups) that only make sense |
| 871 |
on the system bus, which is not supported on Windows |
| 872 |
· don't call _dbus_warn() when we skip a test, since it is fatal |
| 873 |
· fix computation of expected <standard_session_servicedirs/> |
| 874 |
· when running TAP tests, translate newlines to Unix format, fixing |
| 875 |
cross-compiled tests under Wine on Linux |
| 876 |
· don't stress-test refcounting under Wine, where it's really slow |
| 877 |
· stop assuming that a message looped-back to the test will be received |
| 878 |
immediately |
| 879 |
· skip some system bus tests on Windows since they make no sense there |
| 880 |
(fd.o #92538, fd.o #92721; Ralf Habacker, Simon McVittie) |
| 881 |
|
| 882 |
D-Bus 1.10.2 (2015-10-26) |
| 883 |
== |
| 884 |
|
| 885 |
The “worst pies in London” release. |
| 886 |
|
| 887 |
Fixes: |
| 888 |
|
| 889 |
• Correct error handling for activation: if there are multiple attempts |
| 890 |
to activate the same service and it fails immediately, the first attempt |
| 891 |
would get the correct reply, but the rest would time out. We now send |
| 892 |
the same error reply to each attempt. (fd.o #92200, Simon McVittie) |
| 893 |
|
| 894 |
• If BecomeMonitor is called with a syntactically invalid match rule, |
| 895 |
don't crash with an assertion failure, fixing a regression in 1.9.10. |
| 896 |
This was not exploitable as a denial of service, because the check |
| 897 |
for a privileged user is done first. (fd.o #92298, Simon McVittie) |
| 898 |
|
| 899 |
• On Linux with --enable-user-session, add the bus address to the |
| 900 |
environment of systemd services for better backwards compatibility |
| 901 |
(fd.o #92612, Jan Alexander Steffens) |
| 902 |
|
| 903 |
• On Windows, fix the logic for replacing the installation prefix |
| 904 |
in service files' Exec lines (fd.o #83539; Milan Crha, Simon McVittie) |
| 905 |
|
| 906 |
• On Windows, if installed in the conventional layout with ${prefix}/etc |
| 907 |
and ${prefix}/share, use relative paths between bus configuration files |
| 908 |
to allow the tree to be relocated (fd.o #92028, Simon McVittie) |
| 909 |
|
| 910 |
• Make more of the regression tests pass in Windows builds (fd.o #92538, |
| 911 |
Simon McVittie) |
| 912 |
|
| 913 |
D-Bus 1.10.0 (2015-08-25) |
| 914 |
== |
| 915 |
|
| 916 |
The “0x20” release. |
| 917 |
|
| 918 |
This is a new stable branch, recommended for use in OS distributions. |
| 919 |
|
| 920 |
Fixes since 1.9.20: |
| 921 |
|
| 922 |
• distribute test/tap-test.sh.in, even if the tarball was built without |
| 923 |
tests enabled (fd.o #91684, Simon McVittie) |
| 924 |
• work around a fd leak in libcap-ng < 0.7.7 (fd.o #91684, Simon McVittie) |
| 925 |
|
| 926 |
Summary of major changes since 1.8.0: |
| 927 |
|
| 928 |
• The basic setup for the well-known system and session buses is |
| 929 |
now done in read-only files in ${datadir} (normally /usr/share). |
| 930 |
See the NEWS entry for 1.9.18 for details. |
| 931 |
|
| 932 |
• AppArmor integration has been merged, with features similar to the |
| 933 |
pre-existing SELinux integration. It is mostly compatible with the |
| 934 |
patches previously shipped by Ubuntu, with one significant change: |
| 935 |
Ubuntu's GetConnectionAppArmorSecurityContext method has been superseded |
| 936 |
by GetConnectionCredentials and was not included. |
| 937 |
|
| 938 |
• The --enable-user-session configure option can be enabled |
| 939 |
by OS integrators intending to use systemd to provide a session bus |
| 940 |
per user (in effect, treating all concurrent graphical and non-graphical |
| 941 |
login sessions as one large session). |
| 942 |
|
| 943 |
• The new listenable address mode "unix:runtime=yes" listens on |
| 944 |
$XDG_RUNTIME_DIR/bus, the same AF_UNIX socket used by the systemd |
| 945 |
user session. libdbus and "dbus-launch --autolaunch" will connect to |
| 946 |
this address by default. GLib ≥ 2.45.3 and sd-bus ≥ 209 have a |
| 947 |
matching default. |
| 948 |
|
| 949 |
• All executables are now dynamically linked to libdbus-1. |
| 950 |
Previously, some executables, most notably dbus-daemon, were statically |
| 951 |
linked to a specially-compiled variant of libdbus. This results in |
| 952 |
various private functions in the _dbus namespace being exposed by the |
| 953 |
shared library. These are not API, and must not be used outside |
| 954 |
the dbus source tree. |
| 955 |
|
| 956 |
• On platforms with ELF symbol versioning, all public symbols |
| 957 |
are versioned LIBDBUS_1_3. |
| 958 |
|
| 959 |
New bus APIs: |
| 960 |
|
| 961 |
• org.freedesktop.DBus.GetConnectionCredentials returns |
| 962 |
LinuxSecurityLabel where supported |
| 963 |
• org.freedesktop.DBus.Monitoring interface (privileged) |
| 964 |
· BecomeMonitor method supersedes match rules with eavesdrop=true, |
| 965 |
which are now deprecated |
| 966 |
• org.freedesktop.DBus.Stats interface (semi-privileged) |
| 967 |
· now enabled by default |
| 968 |
· new GetAllMatchRules method |
| 969 |
• org.freedesktop.DBus.Verbose interface (not normally compiled) |
| 970 |
· toggles the effect of DBUS_VERBOSE |
| 971 |
|
| 972 |
New executables: |
| 973 |
|
| 974 |
• dbus-test-tool |
| 975 |
• dbus-update-activation-environment |
| 976 |
|
| 977 |
New optional dependencies: |
| 978 |
|
| 979 |
• The systemd: pseudo-transport requires libsystemd or libsd-daemon |
| 980 |
• Complete documentation requires Ducktype and yelp-tools |
| 981 |
• Full test coverage requires GLib 2.36 and PyGI |
| 982 |
• AppArmor integration requires libapparmor and optionally libaudit |
| 983 |
|
| 984 |
Dependencies removed: |
| 985 |
|
| 986 |
• dbus-glib |