From: bbb ee <blasforr@gmail.com>
To: help-guix@gnu.org
Subject: guix shell: error: mount: Invalid argument
Date: Sat, 19 Nov 2022 12:15:49 +0100 [thread overview]
Message-ID: <CALNLCmUjm8AVP-mgzbiYhdU3N8SC=ZTJNWbKgLreiWUSQ7nu+Q@mail.gmail.com> (raw)
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
```
next reply other threads:[~2022-11-19 11:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-19 11:15 bbb ee [this message]
2022-11-19 11:23 ` guix shell: error: mount: Invalid argument 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALNLCmUjm8AVP-mgzbiYhdU3N8SC=ZTJNWbKgLreiWUSQ7nu+Q@mail.gmail.com' \
--to=blasforr@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).