Date: Sat, 15 Jun 2024 03:00:40 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: maintainer-feedback requested: [Bug 279743] devel/dbus: move session bus socket under XDG_RUNTIME_DIR Message-ID: <bug-279743-39348-3HhpRaDEyQ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-279743-39348@https.bugs.freebsd.org/bugzilla/> References: <bug-279743-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team) <desktop@FreeBSD.org> for maintainer-feedback: Bug 279743: devel/dbus: move session bus socket under XDG_RUNTIME_DIR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279743 --- Description --- FreeBSD 14.1 added pam_xdg(8) to ensure XDG_RUNTIME_DIR is always defined. Instead of littering /tmp with many randomly-named DBus sockets use XDG_RUNTIME_DIR with non-random socket name. The directory is guaranteed to= be cleaned up on user logout or reside on tmpfs(5) thus cleaned up on reboot. Also, better matches Linux with systemd. DBus already uses XDG_RUNTIME_DIR to read service activation files from: $ XDG_RUNTIME_DIR=3D$(mktemp -dt xdg-run) dbus-run-session sh $ find /tmp/xdg-run.* /tmp/xdg-run.mKuM3gZ7 /tmp/xdg-run.mKuM3gZ7/dbus-1 /tmp/xdg-run.mKuM3gZ7/dbus-1/services Note, don't confuse with system bus aka dbus_enable=3DYES in /etc/rc.conf w= hich still uses /var/run/dbus/system_bus_socket.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279743-39348-3HhpRaDEyQ>