[Users] Unable to open pty

Dietmar Maurer dietmar at proxmox.com
Tue Feb 16 07:41:15 EST 2010


> when i start my container i got an error "Unable to open pty: No such
> file or directory."
> 
> I tried to fix it with the following:
> 
> - - copied /dev from a working comtainer
> - - vzctl exec 600 update-rc.d -f udev remove
> - - vzctl exec 600 'dpkg --force-depends --purge udev'
> 
> - - vzctl exec 600 /sbin/MAKEDEV tty
> - - vzctl exec 600 /sbin/MAKEDEV pty => /sbin/MAKEDEV: warning: can't
> read
> /proc/devices
> 
> Copied /proc/devices from the hn to vm.
> No error, but still does not work.
> 
> The problems started after a dist upgrade in the vm from ubuntu 8.04.4
> to 9.10.
> 
> Any ideas ?

Try to run MAKEDEV on the host (cd /var/lib/vz/private/...).

ubuntu 9.10 is not very container friendly :-/

- Dietmar





More information about the Users mailing list