Subject: bug#78440: closed (Re: bug#78363: [PATCH 3/3] environment: Make home writable.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 18 May 2025 21:05:03 +0000

Your bug report

#78363: Unexpected requirement of --writable-root when using --share with guix shell

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
78363: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78363
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#78363: [PATCH 3/3] environment: Make home writable.
From: Ludovic Courtès <[email-masked]>
To: Tomas Volf <[email-masked]>
Cc: Josselin Poiret <[email-masked]>, Simon Tournier <[email-masked]>, Mathieu Othacehe <[email-masked]>, [email-masked], Tobias Geerinckx-Rice <[email-masked]>, Christopher Baines <[email-masked]>
Date: Sun, 18 May 2025 23:00:56 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Tomas Volf <[email-masked]> 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’.

Subject: Unexpected requirement of --writable-root when using --share with guix shell
From: "[email-masked]" <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Thu, 15 May 2025 07:49:31 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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:   [email-masked]