vshRunConsole:77 : unable to open tty /dev/pts/3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Debian) |
Fix Released
|
Unknown
|
|||
libvirt (Ubuntu) |
Fix Released
|
Medium
|
Dustin Kirkland |
Bug Description
As reported in bug 523148 comment 3 (https:/
Copied from the link above:
| # virsh console guest1
| Connected to domain guest1
| Escape character is ^]
| 14:25:40.056: error : vshRunConsole:77 : unable to open tty /dev/pts/3 : No such file or directory
|
| When I dump the configuration of my VM, something is wrong with the path "/dev/pts/3" (there is a carriage return after the path).
|
| # virsh dumpxml guest1
| <domain type='kvm' id='2'>
| <name>guest1</name>
| ...
| <serial type='pty'>
| '/> <source path='/dev/pts/3
| <target port='0'/>
| </serial>
| '> <console type='pty' tty='/dev/pts/3
| '/> <source path='/dev/pts/3
| <target port='0'/>
| </console>
| ...
| </domain>
The 'path' entries are added by libvirt after launching a domain with:
<serial type="pty">
<target port="1"/>
</serial>
<console type='pty'>
<target port='1'/>
</console>
</devices>
The solution is found at http://
Note, this is not a dupe of bug 523148. In lucid you wont get far enough to see that bug. Without the change console in 'virsh' is completely broken.
ProblemType: Bug
Architecture: amd64
Date: Sat Mar 20 00:21:50 2010
DistroRelease: Ubuntu 10.04
Package: libvirt-bin 0.7.5-5ubuntu13
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: libvirt
Uname: Linux 2.6.32-16-server x86_64
Related branches
Changed in libvirt (Ubuntu): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in libvirt (Debian): | |
status: | Unknown → Fix Released |
Marking this triaged. I'll soon attach a tested patch.