Bug 594653

Summary: domain start failed when img is in '/home/user'
Product: Red Hat Enterprise Linux 6 Reporter: dyuan
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.0CC: amit.shah, berrange, jialiu, virt-maint, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-08 13:49:19 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 dyuan 2010-05-21 09:13:00 UTC
Description of problem:
confirmed a demo.img is good when it is in /var/lib/libvirt/images or /tmp or /mnt or /home etc. but when move it to /home/user, it will start with error: 

libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/1
qemu: could not open disk image /home/user/rhel6_i386.img: Permission denied

# getenforce
Permissive

Wondering is it a bug or not.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 RHEL Program Management 2010-06-07 15:59:36 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Daniel Berrangé 2010-06-08 13:49:19 UTC
If you installed using virt-manager, it will prompt you to set appropriate permissions on $HOME. Since you moved it manually this was missed. So I'm inclined to say this is a configuration error & not a bug.