[lxc-users] LXD and /dev/fuse

Serge Hallyn serge.hallyn at ubuntu.com
Tue May 10 13:36:23 UTC 2016


Quoting Sjoerd (sjoerd at sjomar.eu):
> Hi all,
> 
> I just converted a perfct working LXC privileged container with use
> of /dev/fuse for mounting a webdav share via davfs2.
> Now with LXD (still privileged container) I am not able to mount the
> webdav share anymore and get:
> 
> mount.davfs: can't open fuse device
> mount.davfs: trying coda kernel file system
> mount.davfs: no free coda device to mount
> 
> I also tried to to reconfigure the container with:
> lxc config device add <containername> FUSE disk source=/dev/fuse
> path=dev/fuse

You want to add a unix-char device:

lxc config device add <containername> fuse unix-char path=/dev/fuse

Does that work for you?

> This looked as close as possible I thought to the LXC version of:
> lxc.mount.entry = /dev/fuse dev/fuse none bind,optional,create=file 0 0
> 
> I am able to create the /dev/fuse in de container (mknod /dev/fuse c
> 10 229 )
> 
> So I am missing something else? Fuse is compiled in in the kernel
> (default ubuntu 16.04 kernel 4.4.0-22-generic).
> 
> Cheers,
> Sjoerd
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list