GNU bug report logs - #59425
guix shell --container fails to mount host filesystem

Previous Next

Package: guix;

Reported by: bbb ee <blasforr <at> gmail.com>

Date: Sun, 20 Nov 2022 23:49:01 UTC

Severity: normal

Done: bbb ee <blasforr <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: bbb ee <blasforr <at> gmail.com>
To: 59425 <at> debbugs.gnu.org
Subject: bug#59425: only dir which realpath is in /tmp is mountalbe
Date: Mon, 21 Nov 2022 20:50:58 +0100
[Message part 1 (text/plain, inline)]
If I access a unmountable dir from /tmp using symlink, I still can't monnt
it:
```
dev_1 <at> dev_1 /tmp$ ln -s ~ .
dev_1 <at> dev_1 /tmp$ cd dev_1
dev_1 <at> dev_1 /tmp/dev_1$ df .
Filesystem     1K-blocks      Used Available Use% Mounted on
/dev/nvme0n1p7 209921236 180796556  19661028  91% /
dev_1 <at> dev_1 /tmp/dev_1$ guix shell --container coreutils -- echo Elmo
guix shell: error: mount: mount "/home/dev_1" on
"/tmp/guix-directory.X9jW4K//home/dev_1": Invalid argument
dev_1 <at> dev_1 /tmp/dev_1$ realpath /tmp/dev_1
/home/dev_1
```
So not all subdir of /tmp is mountable, only dir which realpath is in /tmp
is mountalbe
[Message part 2 (text/html, inline)]

This bug report was last modified 2 years and 179 days ago.

Previous Next


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