From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8DsVGSYsa2OnMgAAbAwnHQ (envelope-from ) for ; Wed, 09 Nov 2022 05:27:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iEL0GCYsa2N7ygAA9RJhRA (envelope-from ) for ; Wed, 09 Nov 2022 05:27:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 448E62E37C for ; Wed, 9 Nov 2022 05:27:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oscg4-0006qa-SG; Tue, 08 Nov 2022 23:27:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oscg2-0006qD-RN for guix-patches@gnu.org; Tue, 08 Nov 2022 23:27:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oscg2-0000B8-J4 for guix-patches@gnu.org; Tue, 08 Nov 2022 23:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oscg2-0005UZ-By for guix-patches@gnu.org; Tue, 08 Nov 2022 23:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59132] [PATCH] system: images: wsl2: Create $XDG_RUNTIME_DIR on first login. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Nov 2022 04:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59132 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "(" , 59132@debbugs.gnu.org Received: via spool by 59132-submit@debbugs.gnu.org id=B59132.166796798921073 (code B ref 59132); Wed, 09 Nov 2022 04:27:02 +0000 Received: (at 59132) by debbugs.gnu.org; 9 Nov 2022 04:26:29 +0000 Received: from localhost ([127.0.0.1]:38640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oscfU-0005To-Rx for submit@debbugs.gnu.org; Tue, 08 Nov 2022 23:26:29 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:46999) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oscfS-0005Ta-A4 for 59132@debbugs.gnu.org; Tue, 08 Nov 2022 23:26:27 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 81BA13200A2A; Tue, 8 Nov 2022 23:26:19 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 08 Nov 2022 23:26:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1667967979; x= 1668054379; bh=RqAd3bP0W5ZunY8SadS3R3ezW/wIEAvekaZC24AB7FM=; b=w HE+bP9u1zSrjF3lw5L13+GEs6oEVd+gSmwGj4Xow1eMkp0rci2SMFGaczufNf7bd HD1hat+VgvWY2gbyDIyidoj8gxK3f4lCdMTLYSCgVPbiul8tosjjJOyTcdZPPtd+ aMC5Nd2Y6UmgSdhG9vx3IXbTYfQkRuYPJH9HOOguCP0CYwM37mq6+pKTksTdmnEY CH8UpXHlvaUqL/XUaT2mQB1PkohGKHy/Iy8H0Djr90ECl+DMBQSY+MptRtBee0kv GrwhdBNEUQvfGEipIBrSoaie+iUlE92pNRrcLWr7ISxckTmIkxC/9k1ME5787bjV zT3nNGmwxhStVzfR6vtOA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1667967979; x=1668054379; bh=R qAd3bP0W5ZunY8SadS3R3ezW/wIEAvekaZC24AB7FM=; b=MDy6vdH+ziR6ZOw1m 6F2ZAeNPxT11d9JdM+rnRNuXVRgi/LSzu2MlUXSqwfbbw7vx9CfIKU1fXEduP4+E PQtaDdzokGwXX1b6MNKxbjmegDrSRDYHXILqIKi4RkBeYN90sg8ijSEUPTAMcCcK ZaHHwfndti/5gVWO+5qsB91o0srAeMOht3msQRPEMPWfxk9L4S8sYkwLM9YnHD+F YkKExPjtj12oTfy71f6Dn3AvjbaVPS25BLzr22PNLaCj8Vv+FVK7lELmazKsdP8h 40uJ61dnKB+3JFswv6TQaETGTz0bG79yHAcKHwsUjqLP7fjGdatubb3I5o6OXmcT v4nLQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrfedugdejudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfvfhfhffujggtgfesthejre dttdefjeenucfhrhhomhepuggrnhcuoehisegurghnrdhgrghmvghsqeenucggtffrrght thgvrhhnpeejhfdtkeevheeuudelgfejieeivdetleffuedugfetudelieevudeiueehgf ejueenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehi segurghnrdhgrghmvghs X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 8 Nov 2022 23:26:17 -0500 (EST) Message-ID: <031d4167-c217-06f7-2ea2-801781ab41c6@dan.games> Date: Wed, 9 Nov 2022 12:26:12 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US References: <20221108200553.15545-1-i@dan.games> From: dan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667968038; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RqAd3bP0W5ZunY8SadS3R3ezW/wIEAvekaZC24AB7FM=; b=NzAG/Uk0dRPnpt2vjzMSF8f0kqsysiHRvjnWlfi49Iqrl1/sGsIX4QE7xvbT9KxMcqptSB n4T6JWy30ZnF50VbwFTNs1yhfzLSebcAGKpJPaotST0nMlJE50vhQj1yiR/jzaSO+zbbnL NSnqxkYKWWXne8SdzuArJk7aBmVYJKfgcaekqu0hgvYydrikdcm/IXeFdsffkxac5tusiW UUQPgYAs+qyuejWxuHpfv/iq6SJMsgn5umZoM/dnJp9p47YnmCwUv2KFipxf7Xo+FV/Lp2 hQf322BAIXdGXi3YQ2D+uXHlgaK/zi2/Z3TER0Q+4pS7yWt5vUnKwMq0GID+iA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667968038; a=rsa-sha256; cv=none; b=prbXdygtbKuQpA7Ezn77lauIN9Vc8IY0kzSbYd1Z7Xf14Yrz8LgQJh4b+qZ5VwODAjVz7Z qhXr+DqcD+kk9AcNgf0M6idFcP43SFRYZGRiYrvsYYr7dLoilZgAXpyxGQ5Le9u3B04qfd RHfTCVx5GFKP//OgdvvozmvH2B7hycCS+gq42ggis5CmV7hPz58cOdPYxfY7JdpnXE6qDY YYpud6FK8wKGIUEgI4ZcIYgdN5K3WC0k2CaGdesuduAU1XwsQhyF9UCWLSiNmymXqcAkjj qJO8ImFXF+O79bSCN5ErdvHChiXmrpGZvDWweQojBO0DKr3jeUSPW84ZvzAuNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm2 header.b="w HE+bP9"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=MDy6vdH+; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.88 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm2 header.b="w HE+bP9"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=MDy6vdH+; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 448E62E37C X-Spam-Score: 1.88 X-Migadu-Scanner: scn1.migadu.com X-TUID: OItIAzT2AC5c On 11/9/2022 4:27 AM, ( wrote: > elogind/seatd are tasked with setting up login sessions, which includes creating > XDG_RUNTIME_DIR. They probably do work on WSL, since I'm pretty sure desktops do? i tried the following things: adding `(syslog-service)' and `(service elogind-service-type)' to the operating-system's service list. and when i login to wsl, it shows the following error: > sudo: pam_open_session: Error in service module > sudo: policy plugin failed session initialization also tried seatd, by adding `(udev-service)' and `(service seatd-service-type)' to the service list. and when logging in, it shows: > warning: XDG_RUNTIME_DIR doesn't exists, on-first-login script won't execute anything. You can check if xdg runtime directory exists, XDG_RUNTIME_DIR variable is set to appropriate value and manually execute the script by running '$HOME/.guix-home/on-first-login' normally, when logging into wsl, users don't need to type their password. i'm not sure if it related to the issue, but it might perform differently with a normal linux distro. -- dan