OpenVZ and Fedora Core

Posted by Joshua Schmidlkofer Wed, 30 Jul 2008 15:44:00 GMT

OpenVZ can have various heinous problems with udev. Most often, you cannot enter the VZ from the admin, and you cannot connnect via SSH.

beast / # vzenter 51
enter into VE 51 failed
Unable to open pty: No such file or directory

In Fedora you can make a simple change to /etc/udev/makedev.d/50-udev.nodes

--- 50-udev.nodes~      2008-01-10 16:00:08.000000000 +0000
+++ 50-udev.nodes       2008-07-30 15:44:07.223092644 +0000
@@ -1,4 +1,5 @@
 # These device have to be created manually
+ptmx
 tty1
 tty2
 tty3

e.g. Simply just add ‘ptmx’ to the file someplace. This is fairly simple and seems to work very well.

Comments

Leave a comment

Comments