3
edits
Changes
new solutions
</pre>
'''Another solutionOther solutions''':
1) enter the VE manually creating the LEGACY_PTYS devices
<pre>
</pre>
<pre>
tty2
tty3
ttyp0
ttyp1
ttyp2
ttyp3
ptyp0
ptyp1
ptyp2
ptyp3
2B) If you think is better disable udev in VE, comment out in the VE the line:
<pre>
/sbin/start_udev
</pre>
in
<pre>
/etc/rc.d/rc.sysinit
</pre>
Restart the VE and make the devices with MAKEDEV:
<pre>
vzctl exec 101 /sbin/MAKEDEV tty
vzctl exec 101 /sbin/MAKEDEV pty
vzctl enter 101
</pre>
I have used this method also to create zap dummy devices for asterisk in VE:
<pre>
/dev/zap/ctl
/dev/zap/pseudo
/dev/zap/channel
/dev/zap/timer
</pre>
2C) The devices can be setup also with a line in VE config
<pre>
grep DEV /etc/vz/conf/101.conf
DEVNODES="zap/ctl:rw zap/channel:rw zap/pseudo:rw zap/timer:rw "
</pre>