Hi,
I have problems exporting a devicefile inside a container:
host # dir /dev/vboxdrv
crw------- 1 root vboxusers 10, 59 24. Jun 18:26 /dev/vboxdrv
host # vzctl set 200 --devices c:10:58:rw
host # vzctl enter 200
200 /# mknod /dev/vboxdrv c 10 58
200 /# chmod 666 /dev/vboxdrv
200 /# dir /dev/vboxdrv
crw-rw-rw- 1 root root 10, 58 24. Jun 20:15 /dev/vboxdrv
Should be fine; BUT:
200 /# cat /dev/vboxdrv
cat: /dev/vboxdrv: Operation not permitted
200 /# echo test > /dev/vboxdrv
bash: /dev/vboxdrv: Operation not permitted
The device itself is fine; on the host it works:
host # cat /dev/vboxdrv
cat: /dev/vboxdrv: Invalid argument
What's wrong? Do I miss something?
Regards,
divB
[Updated on: Thu, 24 June 2010 18:27]
Report message to a moderator