9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Mounting a 9P filesystem under a Linux "user namespace"
@ 2023-10-27 16:00 Edouard Klein
  2023-10-27 16:34 ` [9fans] " moody
  2023-10-30  4:39 ` cigar562hfsp952fans
  0 siblings, 2 replies; 6+ messages in thread
From: Edouard Klein @ 2023-10-27 16:00 UTC (permalink / raw)
  To: 9fans

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

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

end of thread, other threads:[~2024-02-23 21:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-27 16:00 [9fans] Mounting a 9P filesystem under a Linux "user namespace" Edouard Klein
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

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).