GNU bug report logs - #78363
Home is read-only in guix shell container

Previous Next

Package: guix;

Reported by: keinflue <keinflue <at> posteo.net>

Date: Sat, 10 May 2025 23:00:02 UTC

Severity: normal

Merged with 78440

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#78440: closed (Unexpected requirement of --writable-root when
 using --share with guix shell)
Date: Sun, 18 May 2025 21:05:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 18 May 2025 23:00:56 +0200
with message-id <87y0utk513.fsf <at> gnu.org>
and subject line Re: bug#78363: [PATCH 3/3] environment: Make home writable.
has caused the debbugs.gnu.org bug report #78363,
regarding Unexpected requirement of --writable-root when using --share with guix shell
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
78363: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78363
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Navid.Afkhami <at> mdc-berlin.de" <Navid.Afkhami <at> mdc-berlin.de>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: Unexpected requirement of --writable-root when using --share with
 guix shell
Date: Thu, 15 May 2025 07:49:31 +0000
[Message part 3 (text/plain, inline)]
Dear Guix Team,

I’d like to report what may be an unintended behavior in recent versions of guix shell.

Summary:

When using guix shell with the --share option, we are now required to also pass --writable-root for the command to work. This was not previously necessary and may be a regression or side effect of recent changes.

Expectation

Given that --share should allow mounting host directories into the container, it’s not clear why --writable-root is required. This seems to go against the previous behavior and intended design.

Please let me know if additional information is needed. Happy to assist with further debugging.

Best regards,
Navid

 

- -  

Navid Afkhami

High Performance Computing (HPC)

Max Delbrück Center for Molecular Medicine (MDC)

Robert-Rössle-Straße 10, 13125 Berlin

Phone: +49 30 9406 1316

Email:   navid.afkhami <at> mdc-berlin.de

 

[Message part 4 (text/html, inline)]
[smime.p7s (application/pkcs7-signature, attachment)]
[Message part 6 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Tomas Volf <~@wolfsden.cz>
Cc: Josselin Poiret <dev <at> jpoiret.xyz>,
 Simon Tournier <zimon.toutoune <at> gmail.com>, Mathieu Othacehe <othacehe <at> gnu.org>,
 78363-done <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me <at> tobias.gr>,
 Christopher Baines <guix <at> cbaines.net>
Subject: Re: bug#78363: [PATCH 3/3] environment: Make home writable.
Date: Sun, 18 May 2025 23:00:56 +0200
Hello,

Tomas Volf <~@wolfsden.cz> writes:

> * guix/scripts/environment.scm (launch-environment/container): Add tmpfs for
> home.
> * tests/guix-environment-container.sh: Add test.
>
> Change-Id: Iadd9b838f6442a8080998ed7e07414db562068bf

I added a “Fixes” line referencing the initial bug report and applied
all three patches.  Thanks!

  11e88de060 * environment: Make home writable.
  7a888d9841 * environment: Translate only file names under home directory.
  8654aecf74 * environment: Use inherit for new mapping.

Ludo’.


This bug report was last modified 55 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.