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 yNqgNBZeomGXrwAAgWs5BA (envelope-from ) for ; Sat, 27 Nov 2021 17:34:30 +0100 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 QIVGMBZeomF8PAAA1q6Kng (envelope-from ) for ; Sat, 27 Nov 2021 16:34:30 +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 5DD81399BE for ; Sat, 27 Nov 2021 17:34:30 +0100 (CET) Received: from localhost ([::1]:54080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mr0ej-0006vo-Jl for larch@yhetil.org; Sat, 27 Nov 2021 11:34:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mr0eI-0006va-BF for bug-guix@gnu.org; Sat, 27 Nov 2021 11:34:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51157) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mr0eI-00055x-2c for bug-guix@gnu.org; Sat, 27 Nov 2021 11:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mr0eH-0000hM-Vf for bug-guix@gnu.org; Sat, 27 Nov 2021 11:34:01 -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: Sat, 27 Nov 2021 16:34:01 +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: X-Debbugs-Original-Cc: bug-guix@gnu.org, 52139@debbugs.gnu.org Received: via spool by 52139-submit@debbugs.gnu.org id=B52139.16380307872595 (code B ref 52139); Sat, 27 Nov 2021 16:34:01 +0000 Received: (at 52139) by debbugs.gnu.org; 27 Nov 2021 16:33:07 +0000 Received: from localhost ([127.0.0.1]:34466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mr0dI-0000fK-P7 for submit@debbugs.gnu.org; Sat, 27 Nov 2021 11:33:06 -0500 Received: from sv-2s11.infcs.de ([194.95.66.48]:58032 helo=ux-2s-mailproxy.inf.h-brs.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mr0dH-0000f6-6a for 52139@debbugs.gnu.org; Sat, 27 Nov 2021 11:32:59 -0500 Received: from gyps.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 1ARGWbrW006709 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 27 Nov 2021 17:32:52 +0100 References: <87pmqlq4s1.fsf@h-brs.de> User-agent: mu4e 1.7.4; emacs 27.2 From: Alexander Asteroth Date: Sat, 27 Nov 2021 17:31:59 +0100 In-reply-to: <87pmqlq4s1.fsf@h-brs.de> Message-ID: <871r318spu.fsf@h-brs.de> MIME-Version: 1.0 Content-Type: text/plain 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: 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=1638030870; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id: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=1jfGS4XnGNfIPahcrBQeKcXNVgwihg5ElKEzP4t/dUE=; b=Db6PHKtB+WFumlQSI3+fOzi4m3EF9FU76PUlxlkBDlgYltqeP6D6ScYx4MYNu5X2NybTcr FCHhdhUF+JPqNfix/9h2s3V98nvOrLFBv3Q6tTJbOjbHmUUujswZsNTB+hz9pbjp/6Ss1Y rVh+RH5Z6kJSXDuevIrWFIcSqByj1rcxLH/xmRcqv/fV1shT0E0TcrAgN8bKUObODjIGvA JCBkXnM9tYSqwwgbVywP7fYfc/vYiJUGAgvj/TFlCUe5s73P1qyeW7C2aPvADeJHQPqcLZ poMqSxIEWiegXhf4sM6gOiQsNRn1qM8aNdnN7it2NrbyTQbmRaREpac7k3rlbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638030870; a=rsa-sha256; cv=none; b=GMwzlEyDcmdzw7M5UL689k0e84NhPSzfOrpCR7jgEL5FeR4Kh5unRaECgtkhr22vSJZFfc cK4b+KwUvlgfkf5GrCe6fJ+E11dnn3Wf0FUqmI1zUa3rko9r4LJ5yiNfaY1V+sB37zD+VW 4RwQMUhUA3xoHAVtIe2G5TNDYJ+wH+pVTTbXGlVf7IJw3hOARDQ5K8/kjXp/0SNQntMl5h SV5lE5TgJHfGzzT2BUwKxDeBVVjoFMqtZCbi9UzhpxUJ3jKeCUNpy8rPuM1n+BKIc8zbv5 6aYAmWVvuu+tmb/OM4s1PqzdmEuoP5dGI8whBH4TP2gv7KXxTdIMkHRT4TUj6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.81 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@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 5DD81399BE X-Spam-Score: -0.81 X-Migadu-Scanner: scn1.migadu.com X-TUID: sNHQpTS1cVdM I found the cause: in ~/.guix-profile/etc/profile environment variables are set for jupyter: > export JUPYTER_PATH="${GUIX_PROFILE:-/gnu/store/ichrcarq2k4lhdmm2izc3f1xjbziz49v-profile}/share/jupyter${JUPYTER_PATH:+:}$JUPYTER_PATH" > export JUPYTER_CONFIG_DIR="${GUIX_PROFILE:-/gnu/store/ichrcarq2k4lhdmm2izc3f1xjbziz49v-profile}/etc/jupyter${JUPYTER_CONFIG_DIR:+:}$JUPYTER_CONFIG_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. Cheers, Alex On Sat, Nov 27 2021, 11:14:07, Alexander Asteroth wrote: > Dear all, > > yesterday I added jupyter to my profile and it worked perfectly > fine. Overnight I shut down the computer and rebooted today. > Now jupyter refuses to start with the messages below. It seems that > jupyter-notebook tries to create directories (or modifiy them) in the location it > is installed wich is mounted ro. I have no idea why this didn't happen > yesterday but it seems that there is some misconfiguration somewhere... > > Cheers, > Alex > > PS: same effect with jupyterlab from the guix-science channel. > > ------------------------------- > ~$ jupyter-notebook > Traceback (most recent call last): > File "/gnu/store/1v8dgchnis87a4p3g9i3j1ayv0dfr4ds-python-notebook-6.3.0/bin/.jupyter-notebook-real", line 11, in > load_entry_point('notebook==6.3.0', 'console_scripts', 'jupyter-notebook')() > File "/gnu/store/8ncan0ipzb240h23fwfspdhrzkzdw277-python-jupyter-core-4.7.1/lib/python3.8/site-packages/jupyter_core/application.py", line 254, in launch_instance > return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) > File "/gnu/store/i037rnmqzwcc7nrgcswzb8dcckfrngzp-python-traitlets-4.3.3/lib/python3.8/site-packages/traitlets/config/application.py", line 663, in launch_instance > app.initialize(argv) > File "/gnu/store/f7y0fd230nc6l2qwq58g7q26rlkwjkf3-python-decorator-5.0.9/lib/python3.8/site-packages/decorator.py", line 232, in fun > return caller(func, *(extras + args), **kw) > File "/gnu/store/i037rnmqzwcc7nrgcswzb8dcckfrngzp-python-traitlets-4.3.3/lib/python3.8/site-packages/traitlets/config/application.py", line 87, in catch_config_error > return method(app, *args, **kwargs) > File "/gnu/store/1v8dgchnis87a4p3g9i3j1ayv0dfr4ds-python-notebook-6.3.0/lib/python3.8/site-packages/notebook/notebookapp.py", line 2122, in initialize > super().initialize(argv) > File "/gnu/store/f7y0fd230nc6l2qwq58g7q26rlkwjkf3-python-decorator-5.0.9/lib/python3.8/site-packages/decorator.py", line 232, in fun > return caller(func, *(extras + args), **kw) > File "/gnu/store/i037rnmqzwcc7nrgcswzb8dcckfrngzp-python-traitlets-4.3.3/lib/python3.8/site-packages/traitlets/config/application.py", line 87, in catch_config_error > return method(app, *args, **kwargs) > File "/gnu/store/8ncan0ipzb240h23fwfspdhrzkzdw277-python-jupyter-core-4.7.1/lib/python3.8/site-packages/jupyter_core/application.py", line 229, in initialize > self.migrate_config() > File "/gnu/store/8ncan0ipzb240h23fwfspdhrzkzdw277-python-jupyter-core-4.7.1/lib/python3.8/site-packages/jupyter_core/application.py", line 155, in migrate_config > migrate() > File "/gnu/store/8ncan0ipzb240h23fwfspdhrzkzdw277-python-jupyter-core-4.7.1/lib/python3.8/site-packages/jupyter_core/migrate.py", line 244, in migrate > ensure_dir_exists(env['jupyter_config']) > File "/gnu/store/8ncan0ipzb240h23fwfspdhrzkzdw277-python-jupyter-core-4.7.1/lib/python3.8/site-packages/jupyter_core/utils/__init__.py", line 11, in ensure_dir_exists > os.makedirs(path, mode=mode) > File "/gnu/store/sd2ic7bpv8fx3imy1j8xcjclx71sv6q0-python-3.8.2/lib/python3.8/os.py", line 213, in makedirs > makedirs(head, exist_ok=exist_ok) > File "/gnu/store/sd2ic7bpv8fx3imy1j8xcjclx71sv6q0-python-3.8.2/lib/python3.8/os.py", line 213, in makedirs > makedirs(head, exist_ok=exist_ok) > File "/gnu/store/sd2ic7bpv8fx3imy1j8xcjclx71sv6q0-python-3.8.2/lib/python3.8/os.py", line 213, in makedirs > makedirs(head, exist_ok=exist_ok) > [Previous line repeated 7 more times] > File "/gnu/store/sd2ic7bpv8fx3imy1j8xcjclx71sv6q0-python-3.8.2/lib/python3.8/os.py", line 223, in makedirs > mkdir(name, mode) > OSError: [Errno 30] Read-only file system: '/home/[user]/.guix-profile/etc/jupyter:'