From: bbb ee <blasforr@gmail.com>
To: 59425@debbugs.gnu.org
Subject: bug#59425: only dir which realpath is in /tmp is mountalbe
Date: Mon, 21 Nov 2022 20:50:58 +0100 [thread overview]
Message-ID: <CALNLCmV2tkCX=Jyq0pXr586boMkP+0e27kghvho6GHXus-LoSQ@mail.gmail.com> (raw)
In-Reply-To: <CALNLCmV0ZZwEHeZRv7O1NCNm+_Vd-BYWnor4R4Rfc_g_LRRLig@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 606 bytes --]
If I access a unmountable dir from /tmp using symlink, I still can't monnt
it:
```
dev_1@dev_1 /tmp$ ln -s ~ .
dev_1@dev_1 /tmp$ cd dev_1
dev_1@dev_1 /tmp/dev_1$ df .
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/nvme0n1p7 209921236 180796556 19661028 91% /
dev_1@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@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
[-- Attachment #2: Type: text/html, Size: 749 bytes --]
next prev parent reply other threads:[~2022-11-21 19:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-20 23:48 bug#59425: guix shell --container fails to mount host filesystem bbb ee
2022-11-21 19:50 ` bbb ee [this message]
2022-11-21 20:31 ` bug#59425: guix can't mount mountpoint path, and the home path bbb ee
2022-11-23 14:02 ` bug#59425: guix shell --container fails to mount host filesystem Ludovic Courtès
2022-11-23 14:20 ` 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='CALNLCmV2tkCX=Jyq0pXr586boMkP+0e27kghvho6GHXus-LoSQ@mail.gmail.com' \
--to=blasforr@gmail.com \
--cc=59425@debbugs.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).