[Pkg-libvirt-maintainers] Bug#576102: virt-viewer: fails to make a connection with qemu+tls

Gerasimos Melissaratos gmelis at eexi.gr
Wed Mar 31 21:52:06 UTC 2010


Package: virt-viewer
Version: 0.2.1-1
Severity: important
Tags: sid squeeze

Simple as described. The process when run with the '--debug -v' options
returns:  ** (virt-viewer:28886): DEBUG: Add handle 5 1 0x255d200  ** (virt-
viewer:28886): DEBUG: Add timeout 0x2581cf0 -1 0x7fd42cb30ab0 0x255d200 1  **
(virt-viewer:28886): DEBUG: Skipping inactive resize ** (virt-viewer:28886):
DEBUG: Remote host is sucker.mfa.gr and transport tls user ** (virt-
viewer:28886): DEBUG: Got VNC credential request for 1 credential(s) ** (virt-
viewer:28886): DEBUG: Failed to set credential type 2  and closes the
application. Take into account that it used to work, it stopped after
upgrading. Problem is, I'm not sure whether this is due to libgtk-vnc, (which I
think is the culprit) or just virt-viewer.   When I run the command through
strace, I got (last lines, where I think the problem shows):  gmelis at host:~$
strace virt-viewer -v --debug -c qemu+tls://hostname/system slack  write(1, "**
(virt-viewer:4703): DEBUG: Go"..., 77** (virt-viewer:4703): DEBUG: Got VNC
credential request for 1 credential(s) ) = 77 getuid()
= 1000 open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 10 lseek(10, 0, SEEK_CUR)
= 0 fstat(10, {st_mode=S_IFREG|0644, st_size=2501, ...}) = 0 mmap(NULL, 2501,
PROT_READ, MAP_SHARED, 10, 0) = 0x7fbf71ec7000 lseek(10, 2501, SEEK_SET)
= 2501 munmap(0x7fbf71ec7000, 2501)            = 0 close(10)
= 0 stat("(null)/CA/cacert.pem", 0x7fffe54c5c70) = -1 ENOENT (No such file or
directory) stat("(null)/CA/cacert.pem", 0x7fffe54c5c70) = -1 ENOENT (No such
file or directory) write(1, "** (virt-viewer:4703): DEBUG: Fa"..., 62** (virt-
viewer:4703): DEBUG: Failed to set credential type 2 ) = 62 close(9)
= 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0 rt_sigprocmask(SIG_SETMASK, [],
[], 8)  = 0 open("/usr/share/locale/en_US/LC_MESSAGES/libgnutls.mo", O_RDONLY)
= -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libgnutls.mo", O_RDONLY) = -1 ENOENT (No
such file or directory) sendto(-1, "\25\3\2\0\2\1\0", 7, 0, NULL, 0) = -1 EBADF
(Bad file descriptor) rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], [], 8)  = 0 read(3, 0x249a764, 4096)
= -1 EAGAIN (Resource temporarily unavailable) poll([{fd=3, events=POLLIN},
{fd=5, events=POLLIN}], 2, 0) = 0 (Timeout) rt_sigprocmask(SIG_BLOCK, NULL, [],
8)  = 0 rt_sigprocmask(SIG_SETMASK, [], [], 8)  = 0 rt_sigprocmask(SIG_SETMASK,
[], NULL, 8) = 0 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3,
revents=POLLOUT}]) writev(3,
[{"\22\0\v\0\3\0\0\4/\1\0\0X\1\0\0\10\4\5\0\24\0\0\0(null) -"..., 180}, {NULL,
0}, {"", 0}], 3) = 180 poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3,
revents=POLLIN}]) read(3,
"\34\0&\1\3\0\0\4/\1\0\0\0[\2725\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) =
160 read(3, 0x249a764, 4096)                = -1 EAGAIN (Resource temporarily
unavailable) poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3,
revents=POLLOUT}]) writev(3, [{"+\0\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}]) read(3,
"\1\2+\1\0\0\0\0\4\0\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32
read(3, 0x249a764, 4096)                = -1 EAGAIN (Resource temporarily
unavailable) close(11)                               = 0 exit_group(0)
= ?   It looks like it fails to find cacert.pem.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages virt-viewer depends on:
ii  libc6                       2.10.2-6     Embedded GNU C Library: Shared lib
ii  libglade2-0                 1:2.6.4-1    library to load .glade files at ru
ii  libglib2.0-0                2.22.4-1     The GLib library of C routines
ii  libgtk-vnc-1.0-0            0.3.10-5     A VNC viewer widget for GTK+ (runt
ii  libgtk2.0-0                 2.18.9-2     The GTK+ graphical user interface 
ii  libvirt0                    0.7.7-4      library for interfacing with diffe
ii  libxml2                     2.7.7.dfsg-1 GNOME XML library

virt-viewer recommends no packages.

Versions of packages virt-viewer suggests:
ii  netcat                        1.10-38    TCP/IP swiss army knife -- transit
ii  netcat-openbsd [netcat]       1.89-3     TCP/IP swiss army knife
ii  netcat-traditional [netcat]   1.10-38    TCP/IP swiss army knife

-- no debconf information

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the Pkg-libvirt-maintainers mailing list