Bug 760898
Summary: | kvm should disable to change vnc password after removing vnc password option | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | FuXiangChun <xfu> |
Component: | qemu-kvm-rhev | Assignee: | Gerd Hoffmann <kraxel> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7.0 | CC: | areis, bsarathy, gyue, huding, juzhang, knoel, mazhang, michen, mkenneth, rbalakri, tburke, virt-maint |
Target Milestone: | rc | ||
Target Release: | 7.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu 2.1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-05 09:41:06 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 10:04:44 UTC
So you expect the change password command (step #2) fail because password authentication isn't enabled. Correct? (In reply to comment #1) > So you expect the change password command (step #2) fail because password > authentication isn't enabled. Correct? yes, i think so. Reproduce this bug using the following version: qemu-kvm-rhev-2.0.0-3.el7ev.x86_64 kernel-3.10.0-140.el7.x86_64 Steps to Reproduce: 1. boot a guest with "-vnc :1" # /usr/libexec/qemu-kvm -M pc -m 4096 -smp ,cores=2,threads=1,sockets=2 -cpu SandyBridge -name rhel7 -usbdevice tablet -drive file=/mnt/rhel7-64-ga.qcow2,if=virtio,boot=on,bus=0,unit=0,format=qcow2,cache=none,boot=on,werror=stop -net none -monitor stdio -vnc :1 2.set any password (qemu) change vnc password 3.use remote-viewer to connect des guest # remote-viewer 10.66.9.97:5901 Results: after step2, the password can be set. after step3, need to input the password which is set. Test this bug on an intel host using the following version: qemu-kvm-rhev-2.1.0-3.el7ev.preview.x86_64 kernel-3.10.0-140.el7.x86_64 Steps to Test: 1. boot a guest with "-vnc :1" # /usr/libexec/qemu-kvm -M pc -m 4096 -smp ,cores=2,threads=1,sockets=2 -cpu SandyBridge -name rhel7 -usbdevice tablet -drive file=/mnt/rhel7-64-ga.qcow2,if=virtio,boot=on,bus=0,unit=0,format=qcow2,cache=none,boot=on,werror=stop -net none -monitor stdio -vnc :1 2.set any password (qemu) change vnc password 3.use remote-viewer to connect des guest # remote-viewer 10.66.9.97:5901 Results: after step2, the password cannot be set as following info: (qemu) change vnc password Password: ****** If you want use passwords please enable password auth using '-vnc ${dpy},password'.(qemu) after step3, do not need to input any password. Test this bug on an amd host using the following version: qemu-kvm-rhev-2.1.0-3.el7ev.preview.x86_64 kernel-3.10.0-140.el7.x86_64 Steps to Test: 1. boot a guest with "-vnc :1" # /usr/libexec/qemu-kvm -M pc -m 4096 -smp ,cores=2,threads=1,sockets=2 -cpu SandyBridge -name rhel7 -usbdevice tablet -drive file=/mnt/rhel7-64-ga.qcow2,if=virtio,boot=on,bus=0,unit=0,format=qcow2,cache=none,boot=on,werror=stop -net none -monitor stdio -vnc :1 2.set any password (qemu) change vnc password 3.use remote-viewer to connect des guest # remote-viewer 10.66.9.97:5901 Results: after step2, the password cannot be set as following info: (qemu) change vnc password Password: ****** If you want use passwords please enable password auth using '-vnc ${dpy},password'.(qemu) after step3, do not need to input any password. Test this bug on an amd host using the following version: qemu-kvm-rhev-2.1.0-2.el7.x86_64 kernel-3.10.0-145.el7.x86_64 Steps to Test: 1. boot a guest with "-vnc :1" # /usr/libexec/qemu-kvm -M pc -m 4096 -smp ,cores=2,threads=1,sockets=2 -cpu Opteron_G5 -name rhel7 -usbdevice tablet -drive file=/mnt/rhel7-64-ga.qcow2,if=virtio,boot=on,bus=0,unit=0,format=qcow2,cache=none,boot=on,werror=stop -net none -monitor stdio -vnc :1 2.set any password (qemu) change vnc password 3.use remote-viewer to connect des guest # vncviewer 10.66.9.97:5901 Results: after step2, the password cannot be set as following info: (qemu) change vnc password Password: ****** If you want use passwords please enable password auth using '-vnc ${dpy},password'.(qemu) after step3, do not need to input any password. Test this bug on an intel host using the following version: qemu-kvm-rhev-2.1.0-2.el7.x86_64 kernel-3.10.0-145.el7.x86_64 Steps to Test: 1. boot a guest with "-vnc :1" # /usr/libexec/qemu-kvm -M pc -m 4096 -smp 4,cores=2,threads=1,sockets=2 -cpu SandyBridge -name rhel7 -usbdevice tablet -drive file=/mnt/rhel7-64-ga.qcow2,if=virtio,boot=on,bus=0,unit=0,format=qcow2,cache=none,boot=on,werror=stop -net none -monitor stdio -vnc :1 2.set any password (qemu) change vnc password 3.use remote-viewer to connect des guest # vncviewer 10.66.9.97:5901 Results: after step2, the password cannot be set as following info: (qemu) change vnc password Password: ****** If you want use passwords please enable password auth using '-vnc ${dpy},password'.(qemu) after step3, do not need to input any password. Based on the result of comment 15 and comment 16, I think this bug has been fixed. 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. https://rhn.redhat.com/errata/RHSA-2015-0624.html |