Hello,
I've just set up debian-based (debian-3.1-i386-minimal) VE and installed there gnome via aptitude. After that I have the following in /dev in VE:
# vzctl exec 7000 ls -l /dev
total 4
lrwxrwxrwx 1 root root 13 Feb 27 08:18 MAKEDEV -> /sbin/MAKEDEV
lrwxrwxrwx 1 root root 11 Feb 27 08:18 core -> /proc/kcore
lrwxrwxrwx 1 root root 13 Feb 27 08:18 fd -> /proc/self/fd
prw------- 1 root root 0 Feb 27 08:18 initctl
srw-rw-rw- 1 root root 0 Feb 27 08:18 log
drwxr-xr-x 2 root root 60 Feb 27 08:18 loop
drwxr-xr-x 2 root root 60 Feb 27 08:18 net
-rw-r--r-- 1 root root 735 Feb 27 08:19 null
crw------- 1 root root 108, 0 Feb 27 08:18 ppp
crw-rw-rw- 1 root root 5, 2 Feb 27 08:19 ptmx
drwxr-xr-x 2 root root 0 Feb 27 08:18 pts
drwxrwxrwt 2 root root 40 Feb 27 08:18 shm
lrwxrwxrwx 1 root root 24 Feb 27 08:18 sndstat -> /proc/asound/oss/sndstat
lrwxrwxrwx 1 root root 15 Feb 27 08:18 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Feb 27 08:18 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Feb 27 08:18 stdout -> /proc/self/fd/1
prw-r----- 1 root adm 0 Feb 27 08:18 xconsole
And VE works perfectly!
So, the questions are:
1) "... and the VPS get completly useless: only vzctl destroy VPSID left..." you said. What are exact symptoms?
2) What OpenVZ kernel version do you use?
Thank you,
Vasily