[Lxc-users] mounting usbfs inside a container

John lxc at jelmail.com
Sat Feb 11 11:37:06 UTC 2012

I am trying to mount /proc/bus/usb inside a container. I have the 
following entry inside my config file:

lxc.mount.entry = none /srv/lxc/mycontainer/proc/bus/usb usbfs 
0 0

It mounts fine and it works fine except I do not get the permissions 
that I intended. The top level at /proc/bus/usb is correct but the lower 
levels e.g. /proc/bus/usb/001/046 are set to root:root and 644 or 666.

Is this a limitation of LXC, or am I doint something wrong?

Many thanks in advance.


More information about the lxc-users mailing list