From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yO0GICdes2G0eQEAgWs5BA (envelope-from ) for ; Fri, 10 Dec 2021 15:03:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4M/PGydes2HtBAAA1q6Kng (envelope-from ) for ; Fri, 10 Dec 2021 14:03:19 +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 4691819195 for ; Fri, 10 Dec 2021 15:03:19 +0100 (CET) Received: from localhost ([::1]:53970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvgUY-0006UG-Fz for larch@yhetil.org; Fri, 10 Dec 2021 09:03:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvgUI-0006Tt-G6 for bug-guix@gnu.org; Fri, 10 Dec 2021 09:03:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34412) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvgUI-00052s-7I for bug-guix@gnu.org; Fri, 10 Dec 2021 09:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvgUI-0000Jt-44 for bug-guix@gnu.org; Fri, 10 Dec 2021 09:03:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52139: jupyter trying to modify /gnu/store Resent-From: Alexander Asteroth Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 10 Dec 2021 14:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52139 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 52139-submit@debbugs.gnu.org id=B52139.16391449371167 (code B ref 52139); Fri, 10 Dec 2021 14:03:02 +0000 Received: (at 52139) by debbugs.gnu.org; 10 Dec 2021 14:02:17 +0000 Received: from localhost ([127.0.0.1]:45958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvgTZ-0000Il-Gx for submit@debbugs.gnu.org; Fri, 10 Dec 2021 09:02:17 -0500 Received: from sv-2s11.infcs.de ([194.95.66.48]:53286 helo=ux-2s-mailproxy.inf.h-brs.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvgTW-0000IU-Nl for 52139@debbugs.gnu.org; Fri, 10 Dec 2021 09:02:16 -0500 Received: from condor.h-brs.de (p5797302f.dip0.t-ipconnect.de [87.151.48.47]) (authenticated bits=0) by ux-2s-mailproxy.inf.h-brs.de (8.15.2/8.15.2/Debian-8ska0) with ESMTPSA id 1BAE1jO5004037 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 Dec 2021 15:01:45 +0100 References: <87pmqlq4s1.fsf@h-brs.de> <871r318spu.fsf@h-brs.de> <87pmq4a8tm.fsf@gnu.org> User-agent: mu4e 1.6.10; emacs 27.2 From: Alexander Asteroth Date: Fri, 10 Dec 2021 14:59:44 +0100 In-reply-to: <87pmq4a8tm.fsf@gnu.org> Message-ID: <875yrwftj3.fsf@h-brs.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Auth: by SMTP AUTH @ ux-2s11 X-MIMEDefang-Info-ge: Gescannt in Inf@FH-BRS, Regeln s. MiniFAQ E-Mail/Mailscanner X-Scanned-By: MIMEDefang @ FB02 @ H-BRS 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: , Cc: Lars-Dominik Braun , 52139@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639144999; 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: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; bh=f0n0Fy8AN2z4kSGfHJPfmHZo6lUSqd8z4LO+xh2gJ4k=; b=PTLvqmMx9GLwtaSexauawakcVaAFaKKs3RwMxTLcRYwMpUJe+bQNHv3PnsgqV63Z9jJT/c +HSy2rf3RK0Fb7AZtcTcSOzNU36kcBQrweGIGqKwXsIw5DM2kdAlyL2HCFQz9CR+i49BfT cA7G3mPc1dkrJXzHQWMx1F2y+fC3klQexYTMdcZ7pfFrjYwA91M5nbSxefqElNJi3vn7Zk yJh5KkWUKjbKi6jEw5LHAY4dBaY/F6tFzYF3sGgn3RrfqxmQpKtb/dEGGw8dGoEG+d2nE5 0wj2/8gEoHQUcaIZKb7rNm8zk13zppJqKPk/UONOWJ9KNSqAB5L4lD42MXMCfA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639144999; a=rsa-sha256; cv=none; b=Ee98D+aTa5ctz9dMER+JCLF2hppuyfZ0aSFG4E0/vhnUJ+IM+JeZxx1vKByzMgDXpCi6dO v6+pfvodiostAAJz5Rj4OVj80TC7cZd1H2WzMR61tHfuedaoWisz0AUgMPqsFZ+k32ojf4 yD5WTBaSS80dijdWs9uuzcezgoSLe4WifBzkJw+Pdrmtv842P/0RFLfcnAfP+uopTtluAD AQ8l9nKmfB9Gm4du+HL41Q+65N0hc4KMXuaUTE9d9HWFMl4u05p1GNCFsVoTPG9c4EZ9Fj Nbnt0LKwWqvvjWNRBCSt/11TYMj8hN/sxPcwk26qXKvtGcd4B4E4H6lrzfRL1Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=h-brs.de (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: -4.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=h-brs.de (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: 4691819195 X-Spam-Score: -4.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7L+RSs6L2eSK --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludovic, On Fri, Dec 10 2021, 14:27:49, Ludovic Court=C3=A8s wrote: > Hi Alexander, > > Alexander Asteroth skribis: > >> I found the cause: >> >> in ~/.guix-profile/etc/profile environment variables are set for jupyter: >> >>> export JUPYTER_PATH=3D"${GUIX_PROFILE:-/gnu/store/ichrcarq2k4lhdmm2izc3= f1xjbziz49v-profile}/share/jupyter${JUPYTER_PATH:+:}$JUPYTER_PATH" >>> export JUPYTER_CONFIG_DIR=3D"${GUIX_PROFILE:-/gnu/store/ichrcarq2k4lhdm= m2izc3f1xjbziz49v-profile}/etc/jupyter${JUPYTER_CONFIG_DIR:+:}$JUPYTER_CONF= IG_DIR" >> >> The jupyter config path causes the problem, since jupyter tries to write >> into it (and it is located in a read only filesystem). Unsetting the >> environment variable solves the issue. > > I can=E2=80=99t reproduce it with: > > $ guix describe > Generacio 196 Dec 06 2021 11:23:08 (nuna) > guix 9478a25 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 9478a252509a93f3e7f486cbc549631185ba071d > $ guix shell jupyter -CN --no-cwd -- jupyter notebook > > Perhaps that=E2=80=99s because I didn=E2=80=99t trigger actions that woul= d cause Jupyter > to attempt to write to $JUPYTER_CONFIG_DIR? Yes. I happes for also only if I used jupyter once. At the second attempt the error occured. The problem is easily solved by setting the config dir to (e.g.) ~/.config/jupyter. Cheers, Alex > > The JUPYTER_CONFIG_DIR search path was added to =E2=80=98python-jupyter-c= ore=E2=80=99 in > commit 1683e9d9677d54f695a54fc44ed309287989fc34. Lars, what are you > thoughts? > > Thanks, > Ludo=E2=80=99. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFQBAEBCAA6FiEEXU8UwBfdlxG/YNXXLg/GxGpHPCwFAmGzXcAcHGFsZXhhbmRl ci5hc3Rlcm90aEBoLWJycy5kZQAKCRAuD8bEakc8LKHoB/0WujJfuhObFpB8jEFc gZ9X6hyu4mkh/hHxUPTwneVF/oNryEft7Ho4FpAEiuHkTFulGav4Q1v762+nRkjI 1BWKhBX2csjV4k+GFpTdHlfR9Gj4GIes+B6TozQtpQc7K1pn0+eExH0sM8a7Z682 IqhuG9gzqnnXd6HBZMkp4XF/ntwmpJI0WPoKX/k9W8iH2hO1l8PkRS1bA2qGOoty x7FgD0WXBgRLnF2ENcVgKP3hm1g+RLa0I+yTP8gnXBt9/etwwg5FQFV/6NdOUebJ D23AdXDFG8VIKI5UDBEI8d8DkE//qNFdDXZeCLdOEffJ5unUOhYxk4owyAuBu2bA JrSl =M/rq -----END PGP SIGNATURE----- --=-=-=--