Bug 1153368
| Summary: | VNC unix sockets should be owned by the libvirt user | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Christoph Anton Mitterer <calestyo> |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED DEFERRED | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | crobinso, rbalakri |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-21 23:14:05 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
Christoph Anton Mitterer
2014-10-15 21:33:16 UTC
Thanks for the report. Indeed there is some weirdness here. Part of the issue is is that libvirt doesn't know the client user, so it's not easy to just chown this as expected. However there is a libvirt API virDomainOpenGraphicsFD which allows apps to connect to a local qemu's graphic display, brokered by libvirt. So in this case the permissions of the unix socket don't matter. virt-viewer supports it with the -a option, and there's patches posted for virt-manager. See https://bugzilla.redhat.com/show_bug.cgi?id=1044021 for the virt-manager bug tracking this. Closing this bug though because I don't think anything is going to change at the libvirt level |