Subject: The /tmp in a guix shell container is now read-only
From: Tomas Volf <[email-masked]>
To: [email-masked]
Date: Mon, 05 May 2025 23:47:30 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

the /tmp in a shell container is not read only which seems to break a
lot of things.  For example when I try to build Guix from source:

--8<---------------cut here---------------start------------->8---
$ guix time-machine -q --commit=4a32b83753b124169003589fae42eff03ff482cc -- shell -CD guix -- ./bootstrap 
[..]
+ autoreconf -vfi
autoreconf: cannot create /tmp/ar9117.8: Read-only file system
--8<---------------cut here---------------end--------------->8---

Passing the new --writable-root works around the problem.

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.