[Pkg-libvirt-maintainers] Bug#567818: libvirt-bin: Cannot use console with virsh (vshRunConsole:77 : unable to open tty ...)
Vincent Danjean
vdanjean at debian.org
Sun Jan 31 15:35:57 UTC 2010
Package: libvirt-bin
Version: 0.7.5-5
Severity: important
Tags: patch
Hi,
Trying libvirt-bin 0.7.5-5, I discovered that I cannot use the console
anymore with virsh:
aya:/home/vdanjean# virsh console ran
Connected to domain ran
Escape character is ^]
16:26:58.714: error : vshRunConsole:77 : unable to open tty /dev/pts/1 : Aucun fichier ou dossier de ce type
aya:/home/vdanjean#
Looking in google, I found this:
http://www.mail-archive.com/libvir-list@redhat.com/msg20230.html
And indeed:
aya:/home/vdanjean# virsh dumpxml ran | grep console -A 1 | hexdump -C
00000000 20 20 20 20 3c 63 6f 6e 73 6f 6c 65 20 74 79 70 | <console typ|
00000010 65 3d 27 70 74 79 27 20 74 74 79 3d 27 2f 64 65 |e='pty' tty='/de|
00000020 76 2f 70 74 73 2f 31 0d 27 3e 0a 20 20 20 20 20 |v/pts/1.'>. |
00000030 20 3c 73 6f 75 72 63 65 20 70 61 74 68 3d 27 2f | <source path='/|
00000040 64 65 76 2f 70 74 73 2f 31 0d 27 2f 3e 0a 2d 2d |dev/pts/1.'/>.--|
00000050 0a 20 20 20 20 3c 2f 63 6f 6e 73 6f 6c 65 3e 0a |. </console>.|
00000060 20 20 3c 2f 64 65 76 69 63 65 73 3e 0a | </devices>.|
0000006d
Please, backport quickly the patch from upstream cited in the link above
(note: I did not check myself that it fixes the bug in my case but it
really seems to be the same bug)
Regards,
Vincent
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libvirt-bin depends on:
ii adduser 3.112 add and remove users and groups
ii hal 0.5.14-1 Hardware Abstraction Layer
ii libavahi-client3 0.6.25-2 Avahi client library
ii libavahi-common3 0.6.25-2 Avahi common library
ii libc6 2.10.2-5 Embedded GNU C Library: Shared lib
ii libcap-ng0 0.6.2-4 An alternate posix capabilities li
ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst
ii libdevmapper1.02. 2:1.02.39-1 The Linux Kernel Device Mapper use
ii libgcrypt11 1.4.5-1 LGPL Crypto library - runtime libr
ii libgnutls26 2.8.5-2 the GNU TLS library - runtime libr
ii libhal1 0.5.14-1 Hardware Abstraction Layer - share
ii libparted1.8-12 1.8.8.git.2009.07.19-5 The GNU Parted disk partitioning s
ii libpciaccess0 0.10.9-1 Generic PCI access library for X
ii libreadline6 6.1-1 GNU readline and history libraries
ii libsasl2-2 2.1.23.dfsg1-3 Cyrus SASL - authentication abstra
ii libudev0 150-2 libudev shared library
ii libuuid1 2.16.2-0 Universally Unique ID library
ii libvirt0 0.7.5-5 library for interfacing with diffe
ii libxenstore3.0 3.4.2-2 Xenstore communications library fo
ii libxml2 2.7.6.dfsg-1 GNOME XML library
ii logrotate 3.7.8-4 Log rotation utility
Versions of packages libvirt-bin recommends:
ii bridge-utils 1.4-5 Utilities for configuring the Linu
ii dnsmasq-base 2.51-1 A small caching DNS proxy and DHCP
ii iptables 1.4.6-2 administration tools for packet fi
ii netcat-openbsd 1.89-3 TCP/IP swiss army knife
ii qemu 0.11.1-2 fast processor emulator
Versions of packages libvirt-bin suggests:
ii policykit-1 0.95-1 framework for managing administrat
-- no debconf information
More information about the Pkg-libvirt-maintainers
mailing list