[lxc-users] LXD and /dev/fuse

Sjoerd sjoerd at sjomar.eu
Tue May 10 13:06:22 UTC 2016


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

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


More information about the lxc-users mailing list