From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yKhjCNtDN2J3eQEAgWs5BA (envelope-from ) for ; Sun, 20 Mar 2022 16:10:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cPTqANtDN2JNMgAAG6o9tA (envelope-from ) for ; Sun, 20 Mar 2022 16:10:19 +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 66D2A2C570 for ; Sun, 20 Mar 2022 16:10:18 +0100 (CET) Received: from localhost ([::1]:51756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVxCD-0005sB-DI for larch@yhetil.org; Sun, 20 Mar 2022 11:10:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVxBz-0005ru-GR for bug-guix@gnu.org; Sun, 20 Mar 2022 11:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41055) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVxBz-0003mz-7j for bug-guix@gnu.org; Sun, 20 Mar 2022 11:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nVxBz-0002MD-3D for bug-guix@gnu.org; Sun, 20 Mar 2022 11:10:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54354: [BUG] guix home: on foreign distro, ~/.bash_profile is not initialized References: <878rtfjp4e.fsf@thinkpad-manjaro.mail-host-address-is-not-set> Resent-From: florhizome Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 20 Mar 2022 15:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54354 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler , 54354@debbugs.gnu.org Received: via spool by 54354-submit@debbugs.gnu.org id=B54354.16477889739007 (code B ref 54354); Sun, 20 Mar 2022 15:10:02 +0000 Received: (at 54354) by debbugs.gnu.org; 20 Mar 2022 15:09:33 +0000 Received: from localhost ([127.0.0.1]:34951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVxBU-0002LC-KS for submit@debbugs.gnu.org; Sun, 20 Mar 2022 11:09:33 -0400 Received: from mout01.posteo.de ([185.67.36.65]:37065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVwFO-0000o0-0c for 54354@debbugs.gnu.org; Sun, 20 Mar 2022 10:09:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E894A240029 for <54354@debbugs.gnu.org>; Sun, 20 Mar 2022 15:09:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1647785363; bh=tDbhJqadLSG7i+y1VBbGThk2AQ7LvH7aS3sX6pLxd2o=; h=From:To:Subject:Date:From; b=cw8NbrHUcFo+mqaNfyp7tzQTc+fpbxTV865mkeVBPtsjBJSdpIEa4+OYW2D/R3jLO ycP7KgqUc4qQmIMdF0h8hg55D82Zddmi9yEouoFgTKnJe5tvhfPSEfwxQx1QOtmk36 lfdOTJZBcuCi3TeHf4OEcQ2ogEntY5vlAR6vy+Y8MHAKha/aGw4tJmVfbdKZG7wZMF 0l4Bo6rixXDhmJDFtblybi8xyNRTRA3jzcPMaRKa4twncGRdeSkd31F73Y9Eq095ju FN+6yDYCv4QnWNIyw5iCwIskD7jYXuLusur1nnu5RkIcjZmqlf2ogZxsT+PWrYL76l ful+mciUY86sw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4KM0430nQtz9rxS; Sun, 20 Mar 2022 15:09:23 +0100 (CET) From: florhizome In-Reply-To: <37831ee70559c60fd1d0545b621b5cc485185f5f.camel@gmail.com> Date: Sun, 20 Mar 2022 14:09:22 +0000 Message-ID: <8735jcd8bx.fsf@thinkpad-manjaro.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Sun, 20 Mar 2022 11:09:31 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647789018; 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=uUnc3Boo73MWf61Y4NYc6TIUxB1Uv/esHvPC4wVK2Vo=; b=NCiNIYRHHhRdMrffHEZmhCj39k8f3BPTkIAkQQdLVnCTSnkmhJlGI6J2ZenDWtK3ab391p EhyeVtCm+LFVmVtio1ALqJtK91cZDtbasJxUqsI+QmLp1EazuGFNOokiY6URMJlRjnx/Kw 5Nk1UW3lV8STWGs9W4T8XlfqDooDUzCcpt4kFbsiG7FE8eqNORim+yt1CaTSbG2TEQUYtW HqmKbLXSGa/cLynB8Odgp9B1zOQ2FQ3anb85wDRVBXWAeefvbEARfGP4rAt3t5ABg3LeVz CECGeaQNZOZNiuHXmr49FbvqnqBWSGATKjonq1jdRFkh8yi48XhPM8tk1DzvMg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647789018; a=rsa-sha256; cv=none; b=T1jxNvAfvAX6yWgMQEy/Gkr6fxwrQkalensJb1GbsyviiCDyqxJMEVCKAVbU5PCyibHOws Q8FP5cfB9ajv43p0y+ciGzXDbAWXwhjP706yJwXb0aZPm5f6ax44dwg0ozGfmsqlG1tu6i ExRxqbl3ig+agNV3LpRnLF9yST7TTYmq+K3U7x3p6KItgtOBVDUjeJ6fv0YxyeHWW9j/Ih L+csxJbVafrMSoU+IYMvxztQiUKl1wCyzRXcsStTkfIgiLo3etB46KjP3dflbYe2EJainr VO7Zdq0nx4YRtpy0KVLkxZKvl7Yg6uKg4qc8qOM75VCmu0OiXpqKMwvE2keLPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=cw8NbrHU; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.77 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=cw8NbrHU; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 66D2A2C570 X-Spam-Score: 5.77 X-Migadu-Scanner: scn1.migadu.com X-TUID: YG/0htEBDJg9 Hi Liliana, Hm, well it doesn't seem like the exact same issue, but that thread is helpful. Could systemd/logind be made to use bash for login? For now I thou= ght maybe I can just write shepherd services to do that stuff for me, to stay in guix homes framework. But shepherd seems to have a problem starting up: /gnu/store/y85vzni5yc6lcb7qqhmlkifis9nzmm5l-shepherd.conf wird geladen. herd: Ausnahmefehler w=C3=A4hrend der Ausf=C3=BChrung von =C2=BBload=C2=AB = mit dem Dienst =C2=BBroot=C2=AB: In procedure fport_write: Eingabe-/Ausgabefehler If you don't speak german, that roughly translates to: loading /gnu/store/...-shepherd.conf herd: exception error during the execution of <> with the service <>: In procedure fport_write: i/o error I got the same error when reconfiguring with two differing simple service configurations (just start a program from a package) passed to shep= herd. In anyway I think it would be good to add to guix home's documentation that= some features might not work due to the login system of a foreign distro if we are sure of that? cheers Liliana Marie Prikler writes: > Hi Florian > > Am Samstag, dem 12.03.2022 um 13:07 +0000 schrieb florhizome: >>=20 >> Hi guix' ! >> I have been trying to use guix home on my foreign distro partition >> (manjaro); especially in order to set up additional profiles from >> there, but my .bash_profile generated by guix doesn't seem to be >> evaluated at all. >>=20 >> To describe the actual issue finally: None of the things that should >> happen through .bash_profile seem to happen at the moment (it's just >> about different environment variables that will not be set up.), but >> after running bash --login in my terminal-emulator everything is as >> anticipated so my guess is that .bash_profile actually isn't evaluated >> at all after login. I'm happy to hear other suggestions and especially >> solutions. > This looks vaguely like a problem others (myself included) have > experienced/are experiencing on Ubuntu. See [1] among others. > > Given that bash is not used for login, your environment-variables block > has not effect. Now if you were to define that inside a variable, you > could also write up a service that generates systemd unit overrides and > add those definitions to it. I'm not sure how well-received such a > service would be upstream given that we don't use systemd in Guix, but > it's a point to start. > > Cheers > > [1] https://issues.guix.gnu.org/48300#7