all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* guix shell: error: mount: Invalid argument
@ 2022-11-19 11:15 bbb ee
  2022-11-19 11:23 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 12+ messages in thread
From: bbb ee @ 2022-11-19 11:15 UTC (permalink / raw)
  To: help-guix

The example in the documentation(
https://guix.gnu.org/en/manual/devel/en/html_node/Invoking-guix-shell.html#Invoking-guix-shell)
for guix shell --share fails:

```
$ guix shell --container --expose=$HOME=/exchange guile -- guile
guix shell: error: mount: mount "/home/dev_1" on
"/tmp/guix-directory.X5HsZw//exchange": Invalid argument
```

I feel guix shell --container can only mount subdir in /tmp, and fail for
all other dir:
```
# success in subdir of  /tmp
dev_1@dev_1 /tmp/test$ guix shell --container coreutils
dev_1@dev_1 /tmp/test [env]$ exit

# fail for all other dir
dev_1@dev_1 ~$ guix shell --container coreutils
guix shell: error: mount: mount "/home/dev_1" on
"/tmp/guix-directory.63aHz8//home/dev_1": Invalid argument

dev_1@dev_1 /mnt$ guix shell --container coreutils
guix shell: error: mount: mount "/mnt" on
"/tmp/guix-directory.Zu897m//mnt": Invalid argument

```

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-11-21 23:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-19 11:15 guix shell: error: mount: Invalid argument bbb ee
2022-11-19 11:23 ` Tobias Geerinckx-Rice
2022-11-19 19:17   ` bbb ee
2022-11-19 19:21     ` Tobias Geerinckx-Rice
2022-11-19 19:27       ` bbb ee
2022-11-19 19:46         ` Tobias Geerinckx-Rice
2022-11-19 20:18           ` bbb ee
2022-11-19 20:19           ` Tobias Geerinckx-Rice
2022-11-19 20:20             ` bbb ee
2022-11-20  0:29   ` Maxim Cournoyer
2022-11-20  9:32     ` bbb ee
2022-11-21 22:45       ` bbb ee

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.