[lxc-users] /dev/net/tun inside unprivileged LXC container

tapczan tapczan at unx.pl
Fri Sep 18 23:19:23 UTC 2015


On 18 September 2015 at 21:58, Stéphane Graber <stgraber at ubuntu.com> wrote:
> lxc.mount.entry = /dev/net dev/net none bind,create=dir

It works, thanks!


I've tried the same with /dev/fuse without luck:

lxc.mount.entry = /dev/fuse dev/fuse none bind
(or lxc.mount.entry = /dev/fuse dev/fuse none bind 0 0)

On host system /dev/fuse is present:
# ll /dev/fuse
crw-rw-rw- 1 root root 10, 229 Sep 17 11:39 /dev/fuse

During container start there is a message:
ERROR    lxc_conf - conf.c:mount_entry:1711 - No such file or
directory - failed to mount '/dev/fuse' on
'/usr/lib/x86_64-linux-gnu/lxc/dev/fuse'

Am I doing something wrong here?

-- 
tapczan


More information about the lxc-users mailing list