Again for the record, if anybody is looking for a 9P2000.L FUSE
implementation, I had to write one, I used github.com/hugelgupf/p9 as a
base:
git clone g...@the-dam.org:f29p
With that, one can mount a 9P2000.L server from inside a linux 'mount
namespace'.
I'll talk about that if my paper passes
Edouard Klein writes:
> 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 ?
Well, all my containers are in the recycling
For the record here is the lkml post
https://lkml.org/lkml/2023/10/28/155
Edouard Klein writes:
> Thanks Moody for the nudge in a direction I hadn't explored.
>
> It seems that Linux does not see 9p as been safe to mount without
> privilege. From what I understand, only FS with the
Thanks Moody for the nudge in a direction I hadn't explored.
It seems that Linux does not see 9p as been safe to mount without
privilege. From what I understand, only FS with the FS_USERNS_MOUNT flag
can be mounted in a user namespace. It seems that v9fs is not one of
them:
For example, tmpfs is
Edouard,
I am no Linux expert, but I think if you create a mount namespace as part of
the user namespace you will be allowed to execute mounts without root. In
terms of clients, I am not aware of any other then the one within the linux
kernel.
Regards,
Moody