From nobody Thu Sep 18 08:14:59 2025 X-Original-To: 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 4cS7jH3hDsz67yTN for ; Thu, 18 Sep 2025 08:14:59 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cS7jH35rsz3d7D for ; Thu, 18 Sep 2025 08:14:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758183299; 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=IMoO0pbIUvAW4jehr8+/GzpDorc1jyrakGxeYVf1soQ=; b=kg+FKfWA3BvXROza8jGj87j44gZ4mbHpzqKXIVudrWwK3uVUW4dRNYgBbMeKKQzFofUT5u wMAVmKXh3jQqSv4TRUVnSVoI5qlD+9CHXtYe9hWxtoapuA5v7cu5jysvVWpnU5B7fCX0gf IDwOmZM2N4pqhRunizBFur1snE8P0TxYEj/u0OSrCXx0G/fVsVaZpmcMPFfzKE5LJVeLWd prkMkkf6SJYvtVtdwt0DUHwT2hm+aKpq3JKjQURk3iskNW17ZESplUQZAiHfkHyklqZA29 oEInicPvEH9WBtXYtm5ooKrxDRFvF7o9Wv3QDEQ8yDK5kRr27cFdwD0v0h045Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758183299; 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=IMoO0pbIUvAW4jehr8+/GzpDorc1jyrakGxeYVf1soQ=; b=I+QyIDnsb5vqyt4ztO1kQt/hY8SsqBl+NI9dmba4wN/SA8xJL7ySHZd3Vc5G++KOX/azei QhKpm3+uGf0jlGHItO1WWzPzSnfIcqiMI2BeU4/i1BRNX5tlILhu4jbplonTbOF24n3y7B Uyklo2COimSu1Qqkk1uXY+kwOARyDaRiVJp9ka2KBljxQQp5pgyNab/AN24Ir4aDHrR9PZ MKgd7IX/iFonwe3C0KJYBvK+0N/0SrPFXqhW4q//+bRZX0utW+ap04JD+LA/DH6Of/I9GA RlBDmFJ4f8QOw3fJDbRpRxYpkPwwNIL4L5T/iK7x9L1fE2drVy88JSw9HDAHpQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758183299; a=rsa-sha256; cv=none; b=eenOpu8+ly84HGkBzJHxeaaqE41O2bIITDT9lnJDgeQPswXsarOr3Q5cOAaOeNaomq6TgJ 9cGURpPMz45/L6AoRQRrw0x7Q+/NoUpOSMQnv9ddENZ9GxqMk2Vt/uSfts4mPx+g9090YC 0nfHkx/ZXYai0m5YZ6z+coM/e8eD3+dJq0gNc5ITCophJHFqCJAmV3mjrpwrIzAbHb6+KX OUQOSvIo8nK1KLig7SNv0XqwbnmjO9uTddcWEe1Y4zRRjXjMvZB2J/N+NH6zucsxhKCTMN yga5B0yqPFHyjStnrjnLSWI7vLD7fGW/+wz4xgRd8VbXGTt8Ph47IBqLEp66Mw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cS7jH2Yprz12y9 for ; Thu, 18 Sep 2025 08:14:59 +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 58I8ExlY043468 for ; Thu, 18 Sep 2025 08:14:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 58I8ExW8043467 for bugs@FreeBSD.org; Thu, 18 Sep 2025 08:14:59 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: bugs@FreeBSD.org Subject: [Bug 289679] XDG_RUNTIME_DIR environment variable isn't set if user logins with ssh Date: Thu, 18 Sep 2025 08:14:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 16.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yasu@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289679 Bug ID: 289679 Summary: XDG_RUNTIME_DIR environment variable isn't set if user logins with ssh Product: Base System Version: 16.0-CURRENT Hardware: Any URL: https://specifications.freedesktop.org/basedir-spec/la test/ OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: yasu@freebsd.org CC: manu@freebsd.org According to XDG Base Directory Specification (https://specifications.freedesktop.org/basedir-spec/latest/), environmet variable XDG_RUNTIME_DIR defines the base directory relative to which user-specific non-essential runtime files and other file objects (such as sockets, named pipes, ...) should be stored. When user logins from console, the environment variable is set to "/var/run/xdg/(username)" and the directory is created at the same time if = it is first login to the system. But if user logins with ssh, then the environ= ment variable isn't set and the directory isn't created either even if it is fir= st login to the system. Cc-ing the author of pam_xdg. --=20 You are receiving this mail because: You are the assignee for the bug.=