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 4W1LVw6q12z5N5t6 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 4W1LVw4CwVz46M7 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=DXPyVG/sExlZFVqH4G/L+Q/EHGryyZCZzxGeN3l7p3VDtMluqBEVBL00TXsxvYBwBmrg49 O0cX//GJYluFIHNQLTh/sV4yJhXWFj27X0F6g5zciDIFBSMwuuvvQjh6kaeiBBTYPJM3UJ /d49vthKsrHXbNZF3MPqK/OU9qUaX1uIYRcQQJoPR4DIDj48X5eI8R7FspW3WTqoCdIREo GSKvfxJ/eJ6SDgLrUKKcljQcVlEh/0CWeX74o9Flrkwb9tWqBOJJxUZtg4IU/O7A2oh1VM nkuTRMVhpNzIHuaOcmUVR2CouM9T+9irHZRO8UWsUq0yWVdunLTIKbJOUReRVw== 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; bh=ieaidKYGVcHkP3m3fi/M2xaGN5Q0/fX26ILdLKwN5rw=; b=giFy01q3e9V3VsAbwAwvGtwfktbDyguby/PqbbCueMTp4seypRqMKXlNV8kX7ixXDRA5ip eGBbdxqiCY1QYAyQgYxhHS2nU0UCnWJKiZmGVHlvkAjKeyU8c5XbSe1Bzfl4SVfvjeNuuI s84WA2QUV6ymF8EbY7HXa4IEydyySxb2V+Rlw5N5/Aa0D+Cplmfxouc6+JGsCuhPKp2s0h 9vJ5u1p7etXL2Mhop3Md2Js6ZjP3E7iVYsknGHWcakas93OyVlZ0agNPHrELmVgjnmwnD2 mf4IJ9eWNLBpItJ3nkh1+3lbXaztkq8HLvGZJ40TCjsnZ5jlJT6/GoHMorBRDQ== 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 4W1LVw3nbVznDS 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 45F30eVp014075 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 45F30eCI014074 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 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 279743] devel/dbus: move session bus socket under XDG_RUNTIME_DIR Date: Sat, 15 Jun 2024 03:00:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None 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: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279743 Bug ID: 279743 Summary: devel/dbus: move session bus socket under XDG_RUNTIME_DIR Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: desktop@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: manu@freebsd.org Assignee: desktop@FreeBSD.org Flags: maintainer-feedback?(desktop@FreeBSD.org) Created attachment 251459 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D251459&action= =3Dedit v1 (apply via "git am") 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. --=20 You are receiving this mail because: You are the assignee for the bug.=