From nobody Sat Jun 15 03:00:40 2024 X-Original-To: ports-bugs@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 4W1LVw6ppMz5N5yK 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 4W1LVw4wS1z46S0 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=sg0IG35toCaObLUglheF5mpeYX+Y86wxUiiFjplk+LkelPK4Mb71rrWHunVEx4f/RdWjfy y0R8xv3TGn+qev/GkeP9sUc5FL3LytnMTSrv9fCPkqL1Uug/np6jm3cwPQbiDfX3u6MYVz 7up4p43FFexJ4kj4pkKS3PCgL5yKFMYWbjvZdWpUgGiY5r1dbk6iWIUGJt5E446NUpzRQ0 IdFC62h2djh4VioKMoHvCtHQgh97/xTzac6tF82OxUG5pqRvLS4HvnDHfrcwrzhV1tsy01 v09lTXfrYOye/70D/ELGXVFAyP40RV/29TR64XIaIQ8/+gW8pZh9z2Px5CY6Aw== 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=GifWYpN5DJ8kcOJ6RkKVx8nMgjvRj0zmBItK6AbecJv1sHmSLLGqYSB/t2davldVNh+u4t qYqz4Wp+h4xUlQ8VsimJX1VLVZs8o7wCt4MHIw4dwLZRXhOcCVZQL5sh9nnUnEq1SIBr9J 2mDZ2z13kfnndhihIUwjNukDTraDmGCDss9DOARuUJk568MdQF2cgWatuqvhKn4daetRWS 0DW0Q9tBWSDklnzx3JnLkAmpR84nAClkcs1YxmBUyElkUknT1o3XuzEgD6RGwuAOZ6Smr3 DSMWpolvo0HnP6fqknerk66HY+lRDXygoji0swqr9rGmF8EAbs/vAM72PY/X8w== 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 4W1LVw4WNkzmnP 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 45F30eZ8014095 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 45F30egP014084 for ports-bugs@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: ports-bugs@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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@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.=