From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4PdjHmjX5WDwZgEAgWs5BA (envelope-from ) for ; Wed, 07 Jul 2021 18:33:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MIQdGmjX5WBfQwAA1q6Kng (envelope-from ) for ; Wed, 07 Jul 2021 16:33:44 +0000 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 831341983E for ; Wed, 7 Jul 2021 18:33:42 +0200 (CEST) Received: from localhost ([::1]:34460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1AUU-000233-9t for larch@yhetil.org; Wed, 07 Jul 2021 12:33:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1AUI-00022t-A2 for help-guix@gnu.org; Wed, 07 Jul 2021 12:33:26 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:44263) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1AUG-0000nG-6o for help-guix@gnu.org; Wed, 07 Jul 2021 12:33:26 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id AA5275C0063; Wed, 7 Jul 2021 12:33:22 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute5.internal (MEProxy); Wed, 07 Jul 2021 12:33:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm3; bh=PMt0+7uBB0HVEO5eA51eqjYt9Di1GW+ zcuTTRibKiOg=; b=p/3W3EkfIXOO2vuPGirgrWZqzGW9HApwopAhvGuU+66yIUQ PywMai9VDvcbYY6f31P7XbFlKIVX+RVMW8w2ODJnUjUcaLwKOq45rj4Pyi3bx8ra hB/kve2X1H/b48u64Hjm1f17xr5SuEhPgPLV07MA5hxLoQ/TOiA3edoYfe/CWtZV r5EOJV4/w8lCKTLHRjLARHCQkuxGVMD6jFXTCyZFz7WD6ams1cWjGXHM2uCDp7kX W2aGgeg1mbRcFDF/bVuycpkXBgSTeKvW0QxhpP7cNW6OrTHXNukdUTd1GOATIsHY 09XHboiLAU530iROuvmLbZTgSu2GFvNZLH/Ss1w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=PMt0+7 uBB0HVEO5eA51eqjYt9Di1GW+zcuTTRibKiOg=; b=bN72YwuWNtKTdB8lcWIUgK lzrOtevTJgSk9tXlAcdpk94J0shTy4+XiMj4dX9iRDh3qI/F5UkyQmauMxJsD3aS YUaKCTxcaNFwlGB0vwG21Ab2u3C8BTn9NQ48hw8NotNpnHlSNgEvepcVDe/HmL36 0wdnLLbOXcg/M0SzYkA4jvvSEOeluW5C5xFqtoAIHfCCD23AWL2gOd3BCXi42+wb 78QWHO6+8dkVNTh0xl4PUQw0pUtskZyzrwKlOtPjCBoSiSF/tvZLzcKG8NK+OGqR 7V8g35r7jsRx8Ub2R/hGAB/gq5GKHBFlwe+qcn1NseLmmnLka4qYPsxU74LrcN7Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrtddvgddutddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfjfgrmhiivghhucfprghsrghjphhouhhrfdcuoehhrdhn rghsrghjphhouhhrsehprghnthhhvghrgidrohhrgheqnecuggftrfgrthhtvghrnheple fhgfethfejteelgeekgfeffeffvdfghfffuedvvddtteeuveffvddutdefvefhnecuffho mhgrihhnpehgnhhurdhorhhgpdhprhhofhhilhgvrdhruhhnnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhdrnhgrshgrjhhpohhurhesphgr nhhthhgvrhigrdhorhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0CEE4FA0705; Wed, 7 Jul 2021 12:33:22 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-531-g1160beca77-fm-20210705.001-g1160beca Mime-Version: 1.0 Message-Id: <97dc7afd-8463-49e9-b46f-7f2688d32a58@www.fastmail.com> In-Reply-To: <87v95musf4.fsf@xelera.eu> References: <87mtqzrvc6.fsf@elephly.net> <79eed046-fbb7-40ec-833d-4897cbe42203@www.fastmail.com> <87v95musf4.fsf@xelera.eu> Date: Wed, 07 Jul 2021 21:03:01 +0430 From: "Hamzeh Nasajpour" To: "Giovanni Biscuolo" , "Ricardo Wurmus" Subject: Re: XDG_... env variables in root Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.29; envelope-from=h.nasajpour@pantherx.org; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: SuarezMiguelC via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625675624; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=PMt0+7uBB0HVEO5eA51eqjYt9Di1GW+zcuTTRibKiOg=; b=OiM7PIImd1TWEk3DDBHU/XeyI041YR4MRSx2CidZn9qFeBwW7taQ1Q8UsiPfTKynQfXuaT 1B5iSPUEpFXJ9hU3UrOu2+ZuaekhZx6ScMSx0f4D0O+YLVd1iB/ekVY+oCLN7v1wf/lQ26 nWr3tNwiO10Hn59rEoZTFxDrr28goTvrowHbEKKSPIeMo7abl6tZ89PKGu3gz/8JzpXNvt HtLUjXVhPSzu/9kmG+a6JYUOLNfKeZplUbi24et7uhA/B6D78k7xe4rBRts/qMwqlfeAAs NRCpBQQZt4Q418t2rTtVRoe6sC9BDSA0cD2sQgf++j45IV+4VKBBTqM57tprXg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625675624; a=rsa-sha256; cv=none; b=low2sGKuKMQOsMAG2QDHdMlsjOJxa8iqggFuN3xMwJdnYJoQAO82qky5gfE4bhJPr5P08h Vu9Ag/1AQdaNSEP84auT+vWImERZQWGewURQDtnQ0CByJNxI+Abpoh6XyKbld5feAmNSPu JnlmXEd08ERyummbEJjqvu/GSaMk2866S35VgOxfIATG/djZgj9xNUDzblkAnQ7MA5UIxi Sbtdf0jDnn7z/GwtyEf3GH4NAxLpthm3RKjAoaFd3RD6zkcb8h2lscYLVbc50vgCikypir pQzFPI/+ukHoDpRMFo5prpTgIocq2Pws2WEhGop9p5SJzqiIMRPI//0gro4Glg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pantherx.org header.s=fm3 header.b="p/3W3Ekf"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=bN72YwuW; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pantherx.org header.s=fm3 header.b="p/3W3Ekf"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=bN72YwuW; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 831341983E X-Spam-Score: -0.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: k9UAVwfOwxsU Hi Gio, > please can you show us only the relevant parts [1] of your bash profile > (or other shell profile) for "user" and "root"? This is my `/etc/profile` content: ``` # Crucial variables that could be missing in the profiles' 'etc/profile' # because they would require combining both profiles. # FIXME: See . export MANPATH=$HOME/.guix-profile/share/man:/run/current-system/profile/share/man export INFOPATH=$HOME/.guix-profile/share/info:/run/current-system/profile/share/info export XDG_DATA_DIRS=$HOME/.guix-profile/share:/run/current-system/profile/share export XDG_CONFIG_DIRS=$HOME/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg # Make sure libXcursor finds cursors installed into user or system profiles. See export XCURSOR_PATH=$HOME/.icons:$HOME/.guix-profile/share/icons:/run/current-system/profile/share/icons # Ignore the default value of 'PATH'. unset PATH # Load the system profile's settings. GUIX_PROFILE=/run/current-system/profile ; \ . /run/current-system/profile/etc/profile # Since 'lshd' does not use pam_env, /etc/environment must be explicitly # loaded when someone logs in via SSH. See . # We need 'PATH' to be defined here, for 'cat' and 'cut'. Do this before # reading the user's 'etc/profile' to allow variables to be overridden. if [ -f /etc/environment -a -n "$SSH_CLIENT" \ -a -z "$LINUX_MODULE_DIRECTORY" ] then . /etc/environment export `cat /etc/environment | cut -d= -f1` fi # Arrange so that ~/.config/guix/current comes first. for profile in "$HOME/.guix-profile" "$HOME/.config/guix/current" do if [ -f "$profile/etc/profile" ] then # Load the user profile's settings. GUIX_PROFILE="$profile" ; \ . "$profile/etc/profile" else # At least define this one so that basic things just work # when the user installs their first package. export PATH="$profile/bin:$PATH" fi done # Prepend setuid programs. export PATH=/run/setuid-programs:$PATH # Arrange so that ~/.config/guix/current/share/info comes first. export INFOPATH="$HOME/.config/guix/current/share/info:$INFOPATH" # Set the umask, notably for users logging in via 'lsh'. # See . umask 022 # Allow Hunspell-based applications (IceCat, LibreOffice, etc.) to # find dictionaries. export DICPATH="$HOME/.guix-profile/share/hunspell:/run/current-system/profile/share/hunspell" # Allow GStreamer-based applications to find plugins. export GST_PLUGIN_PATH="$HOME/.guix-profile/lib/gstreamer-1.0" if [ -n "$BASH_VERSION" -a -f /etc/bashrc ] then # Load Bash-specific initialization code. . /etc/bashrc fi ```