]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
NEWS: Describe the behaviour change resulting from fixing dbus#416
authorSimon McVittie <smcv@collabora.com>
Sun, 2 Oct 2022 10:43:30 +0000 (11:43 +0100)
committerSimon McVittie <smcv@collabora.com>
Sun, 2 Oct 2022 10:43:30 +0000 (11:43 +0100)
Signed-off-by: Simon McVittie <smcv@collabora.com>
NEWS

diff --git a/NEWS b/NEWS
index d092bcac830d0e649c1966c9e4882cf8cf45139b..ec183183e8c948188eb6c85c97b7a9582895739f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,27 @@
 dbus 1.15.2 (UNRELEASED)
 ========================
 
-...
+Behaviour changes:
+
+• On Linux, dbus-daemon and other uses of DBusServer now create a
+  path-based Unix socket, unix:path=..., when asked to listen on a
+  unix:tmpdir=... address. This makes unix:tmpdir=... equivalent to
+  unix:dir=... on all platforms.
+  Previous versions would have created an abstract socket, unix:abstract=...,
+  in this situation.
+  This change primarily affects the well-known session bus when run via
+  dbus-launch(1) or dbus-run-session(1). The user bus, enabled by configuring
+  dbus with --enable-user-session and running it on a systemd system,
+  already used path-based Unix sockets and is unaffected by this change.
+  This behaviour change prevents a sandbox escape via the session bus socket
+  in sandboxing frameworks that can share the network namespace with the host
+  system, such as Flatpak.
+  This change might cause a regression in situations where the abstract socket
+  is intentionally shared between the host system and a chroot or container,
+  such as some use-cases of schroot(1). That regression can be resolved by
+  using a bind-mount to share either the D-Bus socket, or the whole /tmp
+  directory, with the chroot or container.
+  (dbus#416, Simon McVittie)
 
 dbus 1.15.0 (2022-09-22)
 ========================