From nobody Sat Jun 15 03:00:40 2024 X-Original-To: desktop@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W1LVw40sBz5N5nr for ; Sat, 15 Jun 2024 03:00:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W1LVw1yGsz46WQ for ; Sat, 15 Jun 2024 03:00:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718420440; a=rsa-sha256; cv=none; b=kGY/dfGWpK5tcnU6cMel03VeKp6vSt/dR7pnT85dmSGkCJEqZxuFa/3/0yC+3RpUZGtp1o uUZT0Rzty6pXaJOdZ8VW6Y5w90aX1nKVIUXWSbrqYL4BCZZgNt8E11lCbEX+Aq0GeTemOP cPNp0DXBjVpXsWAXFPOcpI/kmAEPCQp9HkHWMZG3l//zPMjzeUey3ShZy6U1T1ldlbpcEU f20iGWBxILRS+GDor523It/u9eDzu9e/el6QapEzKJpHldnylLHZZvjZlOecwrajD72o4v WoXgbLoPOR8hIJSHkJQkYY3wmV/grQZWbzq1SF+mZXOdI2p6ZM3/BlFFg4TneQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718420440; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9EYXB/YXsmtP7UfP5GI5UFZdPSj/eGsJLPWvUfd37X0=; b=VBSbJtnBa+GrFEqjcGWNnKCmdFVFTrs6IAJB3jgrPqLr9ZPC0eFmYm9AmIIrIXslM2sGnC 6x+aXUZ9eV7YHZNPUD59v+UIGL4ARYMO0rwXRhzdh3JlO6UqWtrSL+wuSh8Fr5oUUkr3XS kTYcB5ebz+XVNA3R3S5vKageerMqZq3pu32G9FfczELxw3kaKMmOHvicMFwoVzR4ZMnGYT 8+5k3w0XkokXBi574UYWp6DR6Ic16f4lKNTu/7j2oyfOON8eAYfmCJK/jnhdmdsfMYSqVW fuihpH9tXBI/j1dGf9yFCveH8FGrPdnffObBbeGy6A4TgHaHXVxRn3EykFvuAg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W1LVw1Ylzzmws for ; Sat, 15 Jun 2024 03:00:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 45F30erF014053 for ; Sat, 15 Jun 2024 03:00:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45F30ejo014052 for desktop@FreeBSD.org; Sat, 15 Jun 2024 03:00:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 Date: Sat, 15 Jun 2024 03:00:40 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@FreeBSD.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-desktop (Team) 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.