[lxc-users] pre-mount hook namespace

Dietmar Maurer dietmar at proxmox.com
Sat Nov 14 17:28:08 UTC 2015


> > > 3.
> > > Seth Forshee is working on support for several things that would help you
> > > here - in particular unprivileged users mounting ext4, using loop devices,
> > > and fuse.  Doesn't help you right now, but soon it might.
> > 
> > Sounds interesting, but not all our storage backends use loop devices
> > (or are ext4 (eg a zfs subvolume...)).
> > Btw. does that imply giving access to a loop device to the container's
> > user?
> 
> No, I think it will be a new loop pseudofs akin to devpts.  So the
> unpriv user won't be able to use the host's /dev/loop0, rather he'll
> mount a new instances of loopfs which will have loop devices private
> to his namespace.

I only found this patch which is quite old (may 2014):

http://thread.gmane.org/gmane.linux.kernel/1712351

Is there some newer code somewhere?



More information about the lxc-users mailing list