9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Edouard Klein <edou@rdklein.fr>
To: 9fans <9fans@9fans.net>
Subject: [9fans] Mounting a 9P filesystem under a Linux "user namespace"
Date: Fri, 27 Oct 2023 18:00:38 +0200	[thread overview]
Message-ID: <87jzr8rqwh.fsf@rdklein.fr> (raw)

Dear 9fans,

I'm trying to mount a 9p filesystem under a Linux user "namespace".

Apparently this is verboten, because mounting filesystems is dangerous.
So only fuse is permitted inside a user namespace.

I've tried
- using a setuid binary: does not work inside the user namespace,
- 9pfuse and 9pfs: don't speak 9P2000.L, the only linux 9P2000 server I
  know of is inferno's export,
- lklfuse: does not seem to be able to mount 9p, despite the code being
there.

I'm about to write my own 9P2000.L fuse wrapper, but before I dive into
that, I thought I'd ask here: has anybody ever mounted a 9P filesystem
from inside a Linux user namespace, or even better, a full blown
container ?

Thanks in advance,

Cheers,

Edouard.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tb5d039f675c54046-M2423e0177eac4b5455a8ed28
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

             reply	other threads:[~2023-10-27 16:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-27 16:00 Edouard Klein [this message]
2023-10-27 16:34 ` [9fans] " moody
2023-10-28 15:05   ` Edouard Klein
2023-10-28 16:52     ` Edouard Klein
2024-02-23 21:08       ` Edouard Klein
2023-10-30  4:39 ` cigar562hfsp952fans

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87jzr8rqwh.fsf@rdklein.fr \
    --to=edou@rdklein.fr \
    --cc=9fans@9fans.net \
    /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 NNTP newsgroup(s).