Bug 760881

Summary: kvm should disable to change vnc password after removing vnc password option
Product: Red Hat Enterprise Linux 5 Reporter: FuXiangChun <xfu>
Component: kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED DEFERRED QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 5.8CC: areis, gyue, juzhang, michen, mkenneth, rhod, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-09 22:21:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description FuXiangChun 2011-12-07 09:25:57 UTC
Description of problem:
boot guest with -vnc :1 option, but kvm can still change vnc password. if use vncview to connect guest, vnc password is invalid.

Version-Release number of selected component (if applicable):
# rpm -qa|grep kvm
kvm-83-246.el5
# uname -r
2.6.18-300.el5

How reproducible:
always

Steps to Reproduce:
1./usr/libexec/qemu-kvm  -M rhel5.6.0 -m 4096 -smp
4,cores=2,threads=1,sockets=2 -cpu qemu64,vendor="AuthenticAMD",+sse2 -soundhw
all -name win7 -usbdevice tablet -rtc-td-hack -uuid
123465d2-2032-848d-bda0-de7adb149048 -boot c -drive
file=/home/rhel6.2.z-64.qcow2,if=virtio,boot=on,bus=0,unit=0,format=qcow2,cache=none,boot=on,werror=stop
-net nic,macaddr=54:52:00:27:12:23,vlan=0,model=virtio -net
tap,vlan=0,script=/etc/qemu-ifup -serial pty -parallel none -usb -balloon none
-monitor stdio -vnc :1

2.set any password
(qemu) change vnc password

3.use vncview to connect des guest 
  vncviewer 10.66.9.97:5901
  
Actual results:
vncview don't need password 

Expected results:
kvm disable to change vnc password

Additional info:

Comment 1 Ronen Hod 2011-12-07 13:22:53 UTC
Is this a regression?
Does this bug exist in 6.3 too?

Comment 2 FuXiangChun 2011-12-08 03:05:37 UTC
(In reply to comment #1)
> Is this a regression?
> Does this bug exist in 6.3 too?

This isn't a regression. rhel5.7 GA has the same issue. This bug exist in 6.3 too.

Comment 6 RHEL Program Management 2012-04-02 10:35:34 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 7 Ademar Reis 2012-04-09 22:21:05 UTC
Looks like very minor for RHEL5. Will be fixed in a later release of RHEL6: bug 760898