From nobody Tue Sep 12 01:08:06 2023 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 4Rl56v6CFXz4t6Ss for ; Tue, 12 Sep 2023 01:08:07 +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 4Rl56v58KNz3H1p for ; Tue, 12 Sep 2023 01:08:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694480887; a=rsa-sha256; cv=none; b=AmIrpH6jmo1IJTX2yMz26tNYfjBtIS8x6fPkKGgy6zuq5gu7TxfQmkb8QrAJDhN/+fmnvv LQlla8o5G6AXsk/xTl+NBs7/ZbuRHe/6F23swqmEO2vE9rPjDESlYTLh1H6MwE7Akfyl+t H+UxvjbP0JV0yHLGGrCsOa65edVwIKbGRU7bXMUtSaJ1F3ZqfafvE6SY3VPpe/eLOWCY4X qvc6QvrKmg10wQvN1CPYaMO+TvGvO9Y7mVd5vxStnoOsnHCG1VM8LAGviBrlsR/0kBgXAB 4wD0zHXPE63jvow5zv8GzsndqzvtwoV/lqs3LWz2G7xB60xzC2SMibi7VMRq+w== 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=1694480887; 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=aHshga7hdIXXf5pqbziqH3k5X6YvTgLDbtbXcJNdpxA=; b=UpW1f4iImDwUBKxjvxACOGKdWMbYrs9bzsf0jtkEn4ghP/n+627dY+xWM5BKyQltRaSkHh IfIQHtVP3dZcw7S3WQbPklWCAqcfwBOGEpZn3kSQra+CGWx8tnc5zFNYvDQIGxtU1XGQ7u VH6VKDqMKrXs/OJafEdXB7CFnZg6kfJJgWQnivBnEjL3nL3Nj4eGzKXbTCeqPaurUjHeNW q5u8QBHdxx8DbvSaADLfHCTgH71+7SKB/NZFnIAU/fW7WItwkiiWs0SJexc1z/Mva5iksM sJoLIIcYZ5IgiqlbTu56HsfcLjpSmCZvG2230LFSUL9EA3Apq2+gtt9ZX3W7vw== 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 4Rl56v4GGvz19hf for ; Tue, 12 Sep 2023 01:08:07 +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 38C187Co081636 for ; Tue, 12 Sep 2023 01:08:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38C187YV081635 for desktop@FreeBSD.org; Tue, 12 Sep 2023 01:08:07 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 273237] devel/dbus: /var/local/lib/dbus/machine-id not created Date: Tue, 12 Sep 2023 01:08:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status flagtypes.name Message-ID: In-Reply-To: References: 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=3D273237 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed Flags|maintainer-feedback?(deskto | |p@FreeBSD.org) | --- Comment #6 from Jan Beich --- Because this is a duplicate of bug 257977 (port desync with upstream) that accidentally got reverted. I didn't notice when testing inside jail due to passing through X11/Wayland/DBus/etc sockets. DBus launches 2 daemons one as root for "system bus" (e.g., used for battery status) and one as regular/current user for "session bus" (e.g., used for desktop notifications). The former is handled by rc.d and the latter is auto-launched by client library (glib in this case). However, auto-launch support is fragile and not used on Linux which supports user services manag= ed by systemd-logind or dinit+turnstile. Until FreeBSD improves rc.d or login(= 1) one can start session bus via shell startup e.g., $ cat /etc/profile.d/dbus.sh # WARNING: zsh only reads /etc/zprofile, so make sure to "source" # XDG_RUNTIME_DIR is preferred but usually requires pam_xdg or consolekit2 (pam_ck_connector or ck_launch_session) if [ -n "$XDG_RUNTIME_DIR" ]; then if ! pgrep -qf -U ${USER:-$(id -u)} dbus.\*--session; then dbus-daemon --session --fork --address=3Dunix:runtime=3Dyes 2>/= dev/null fi # Only necessary for some apps that fail to find default session bus (e.g., Emacs, Chrome) # https://gitlab.freedesktop.org/dbus/dbus/-/commit/e3f117e7610b export DBUS_SESSION_BUS_ADDRESS=3Dunix:path=3D$XDG_RUNTIME_DIR/bus else eval $(dbus-launch --sh-syntax --exit-with-session 2>/dev/null) fi --=20 You are receiving this mail because: You are the assignee for the bug.=