Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 822794

Summary: There is no return at the end of line of virt-viewer's verbose information.
Product: Red Hat Enterprise Linux 6 Reporter: yuping zhang <yupzhang>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.3CC: cfergeau, dallan, dblechte, dyasny, gkong, jwu, mzhan, rwu, tzheng, zpeng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-viewer-0.5.2-12.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 09:33:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description yuping zhang 2012-05-18 07:49:12 UTC
Description of problem:
Connect a guest with virt-viewer -v,then close the console,there is no return at the end of last line.

Version-Release number of selected component (if applicable):
virt-viewer-0.5.2-8.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.Start a guest.
2.Run #virt-viewer -v rhel6.2 or # virt-viewer --verbose rhel6.2
3.Close the console

Actual results:
# virt-viewer --verbose rhel6.2
Opening connection to libvirt with URI <null>
Guest rhel6.2 is running, determining display
Guest rhel6.2 has a spice display
Opening direct TCP connection to display at localhost:5901:-1
Guest rhel6.2 display has disconnected, shutting down[root@dhcp-*-* ~]#

Expected results:
It should have a return at the end of line of verbose info,like this:

# virt-viewer --verbose rhel6.2
Opening connection to libvirt with URI <null>
Guest rhel6.2 is running, determining display
Guest rhel6.2 has a spice display
Opening direct TCP connection to display at localhost:5901:-1
Guest rhel6.2 display has disconnected, shutting down
[root@dhcp-*-* ~]#

Additional info:

Comment 1 Daniel Berrangé 2012-07-26 17:40:58 UTC
Should be pretty easy to fix this.

Comment 2 Christophe Fergeau 2012-09-18 14:10:46 UTC
I've sent a patch for this https://www.redhat.com/archives/virt-tools-list/2012-September/msg00044.html

Comment 3 Christophe Fergeau 2012-10-04 16:30:40 UTC
And it has been ACK'ed and pushed upstream, moving the bug to POST.

Comment 5 Geyang Kong 2012-10-15 08:02:55 UTC
This bug can be reproduce by following build:
virt-viewer-0.5.2-9.el6.x86_64

Verified pass on the following build:
virt-viewer-0.5.2-13.el6.x86_64

Steps:
1. Run virt-viewer $guest --verbose
2. Close the window.

Actual result:
[root@KP-T1 ~]# virt-viewer T1 --verbose
Opening connection to libvirt with URI <null>
Guest T1 is running, determining display
Guest T1 has a vnc display
Opening direct TCP connection to display at localhost:5901:-1
Guest T1 display has disconnected, shutting down
[root@KP-T1 ~]# 

So mark this bug as VERIFIED.

Comment 7 errata-xmlrpc 2013-02-21 09:33:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0361.html