Bug 863992
Summary: | The domain can't be started while the source path of serial redirect to "/root" path | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Xuesong Zhang <xuzhang> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.4 | CC: | acathrow, berrange, dallan, dyasny, dyuan, jdenemar, mzhan, rwu, zpeng |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-10-08 12:45:14 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
Xuesong Zhang
2012-10-08 09:33:42 UTC
The /root directory permissions only allow the root user to access files in it, and QEMU runs as qemu:qemu, so even if libvirt sets the file permissions, the directory permissions will still block access. IMHO this is not a bug, but actually desired behaviour. Don't use /root for this. Dan, anything we can do to make the error clearer to the user? It'd be nice to report what file was causing the problem. We can't really do much about it in libvirt since the error message ``chardev: opening backend "file" failed'' comes from qemu-kvm. |