Subject: bug#59425: guix shell --container fails to mount host filesystem

From: Ludovic Courtès <[email-masked]>
Date: Wed, 23 Nov 2022 15:02:57 +0100

Hi,

bbb ee <[email-masked]> skribis:

> dev_1@dev_1 /mnt/recoverData$ guix shell --container coreutils -- echo Elmo
> guix shell: error: mount: mount "/mnt/recoverData" on
> "/tmp/guix-directory.ut68VE//mnt/recoverData": Invalid argument
> ```
>
> ## environment
> ```
> $ uname -a
> Linux dev_1 5.18.18 #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
> $ guix describe
> Generation 9 Oct 22 2022 16:05:50 (current)
>   guix 85aff4d
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: 85aff4de30686359ffb50845eb0930c0a18dc8ba

I believe this was fixed in commit
c585b4bc68813a351d6a87d19b9adf4041506355, see
<https://issues.guix.gnu.org/59185>.

Could you check something like:

  guix time-machine --commit=c585b4bc68813a351d6a87d19b9adf4041506355 -- \
    shell -C coreutils

?

Thanks in advance,
Ludo’.