Bug 1447943
Summary: | qemu guest agent can not read/write existing file in guest | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | FuXiangChun <xfu> |
Component: | qemu-guest-agent | Assignee: | Ademar Reis <areis> |
Status: | CLOSED NOTABUG | QA Contact: | FuXiangChun <xfu> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.4 | CC: | chayang, junma, juzhang, knoel, marcandre.lureau |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | ppc64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-05-04 13:27:17 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: | |||
Deadline: | 2017-07-26 |
Description
FuXiangChun
2017-05-04 09:45:20 UTC
first of all, guest-file* commands are disabled by default in rhel secondly, qemu-ga runs with restrictive selinux policies, you can see it denied to open files by default with: ausearch -c 'qemu-ga' --raw closing as notabug {"execute":"guest-file-open", "arguments":{"path":"/var/log/test-6","mode":"w+"}}' {"error": {"class": "GenericError", "desc": "The command guest-file-open has been disabled for this instance"}} |