Bad port '0' upon connect qemu+ssh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-viewer (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Oneiric |
Fix Released
|
High
|
Unassigned |
Bug Description
Hi there, it's not possible to use virt-viewer --connect qemu+ssh:..... anymore in Oneiric Ocelot (virt-viewer 0.4.1-1ubuntu1) because of a bug. It returns the following error during connect:
Bad port '0'
This is due to a bug in the C code, which I have traced.
Please apply the patch in attachment to the Oneiric Ocelot virt-viewer 0.4.1-1ubuntu1 sources.
==============
SRU Justification:
1. Impact: using a normal -c URI results in failure.
2. Development Fix: the bug was fixed by syncing the newer debian package.
3. Stable Fix: the patch fixing the bug was cherrypicked from the debian package
4. Test case: start a libvir vm, then try to connect using
virt-viewer -c qemu+ssh:
5. Regression potential: the cherrypicked patch only affects the code calculating the connection URI, so if there is any regression it would manifest itself in new errors connecting to a remote URI with virt-viewer.
==============
Changed in virt-viewer (Ubuntu): | |
importance: | Undecided → Medium |
description: | updated |
Changed in virt-viewer (Ubuntu Oneiric): | |
importance: | Undecided → High |
status: | New → Triaged |
tags: |
added: verification-done removed: verification-needed |
Thanks for reporting this bug and providing the patch! Easily reproduced.