Bug 790668
Summary: | [Svirt]The context of the save file is not correct | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | yanbing du <ydu> |
Component: | libvirt | Assignee: | Jiri Denemark <jdenemar> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.3 | CC: | acathrow, dallan, dyuan, eblake, gsun, mzhan, rwu, whuang |
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-04-02 10:07: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
yanbing du
2012-02-15 06:48:09 UTC
I think this is an unintentional change, probably a side-effect of: commit c8683f231dd227da8540f3249d7e332ec7a75ad7 Author: Jiri Denemark <jdenemar> Date: Mon Feb 6 14:53:24 2012 +0100 qemu: Always use iohelper for dumping domain core Qemu uses non-blocking I/O which doesn't play nice with regular file descriptors. We need to pass a pipe to qemu instead, which can easily be done using iohelper. It was indeed unintentional but it was actually a bug fix :-) The "system_u:object_r:svirt_image_t:s0:c506,c657" context was actually an undesired side effect of relabeling file descriptor in a way that qemu can write to it. Since we now pass a pipe instead, the file's context is not affected. Also the old context didn't make sense at all with dynamic labeling once the domain shuts down. |