Quoting vignesh kumar (vigneshkuma...@gmail.com):
> Hi,
>     I am using a lxc-ubuntu container in a ubuntu 11.10 host OS. An
> application running in a container requires camera access . Currently
> I have a USB based webcam which mount as /dev/video0 in my host.I
> tried giving access to the device by adding the  line
> "lxc.cgroup.allow=c 81:0 rwm" in my lxc config file. But still getting

this needs to be lxc.cgroup.devices.allow

> error msg "mknod:/dev/video0 Operation not permitted" in my container.
> Can anyone give me a solution  in accessing camera inside a container?

Did you stop and re-start your container after adding that line to
your config?

-serge

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to