| Summary: | Failed to save a local guest to root_squash nfs | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | zhanghaiyan <yoyzhang> |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.7 | CC: | dallan, dyuan, hjiang, llim, mshao |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 02:25:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
zhanghaiyan
2011-04-28 07:26:03 UTC
Could reproduce this bug on the following components of rh5.6: kernel-2.6.18-238.el5 libvirt-0.8.2-15.el5 virt-manager-0.6.1-13.el5 Steps: On host A 1. set up a nfs server # cat /etc/exports /tmp *(rw,root_squash) # service nfs restart On host B 2. start a local guest # virsh list --all Id Name State ---------------------------------- 5 rh5 running 3.# mount 10.66.4.211:/tmp/ /mnt/ # ll -d /mnt/ drwxrwxrwt 10 root root 4096 May 31 16:39 /mnt In /etc/libvirt/qemu.conf, keep the default setting # The user ID for QEMU processes run by the system instance #user = "root" # The group ID for QEMU processes run by the system instance #group = "root" # Whether libvirt should dynamically change file ownership # to match the configured user/group above. Defaults to 0 for # compatibility reasons. # Set to 1 to enable file ownership changes. #dynamic_ownership = 0 4. # virsh save rh5 /mnt/rh5.save error: Failed to save domain rh5 to /mnt/rh5.save error: Failed to create domain save file '/mnt/rh5.save': Operation not permitted 5. # tail -f /var/log/messages May 31 17:58:43 tiger libvirtd: 17:58:43.215: error : virFileOperationNoFork:1293 : cannot chown '/mnt/rh5.save' to (0, 0): Operation not permitted May 31 17:58:43 tiger libvirtd: 17:58:43.215: error : qemudDomainSaveFlag:5308 : Failed to create domain save file '/mnt/rh5.save': Operation not permitted This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update. Contact your manager or support representative in case you need to escalate this bug. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. |