unofficial mirror of help-guix@gnu.org 
 help / color / mirror / 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).