Bug 1378726

Summary: virDomainOpenGraphicsFD API doesn't work with auth_unix_rw="sasl"
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Xiaodai Wang <xiaodwan>
Component: libvirtAssignee: Pavel Hrdina <phrdina>
Status: CLOSED DEFERRED QA Contact: Lili Zhu <lizhu>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: dyuan, fjin, jsuchane, juzhou, mxie, mzhan, rbalakri, tzheng, xuzhang, zpeng
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-15 12:49:06 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:
Attachments:
Description Flags
virt-manager --debug log none

Description Xiaodai Wang 2016-09-23 08:28:20 UTC
Description of problem:
Cannot open running guest's graphic console in virt-manager after enable auth_unix_rw="sasl"

Version-Release number of selected component (if applicable):
virt-manager-1.4.0-2.el7.noarch
libvirt-2.0.0-10.el7.x86_64
qemu-kvm-rhev-2.6.0-26.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Add auth_unix_rw="sasl" in the /etc/libvirt/libvirtd.conf
2. Add sasl user and then restart libvirtd service.
# saslpasswd2 -a libvirt test
(input your passwd)
3. Open virt-manager and type correct sasl user and password.
4.  Double click a running guest to open the graphic console

Actual results:
Open guest console failed and all connections of virt-manager disconnect.

Expected results:
Guest console should be opened successfully and No connection is disconnect.

Additional info:

Comment 1 Xiaodai Wang 2016-09-23 08:30:16 UTC
Created attachment 1204029 [details]
virt-manager --debug log

Comment 5 Jaroslav Suchanek 2020-10-15 12:49:06 UTC
This bug was closed deferred as a result of bug triage.

Please reopen if you disagree and provide justification why this bug should
get enough priority. Most important would be information about impact on
customer or layered product. Please indicate requested target release.