Thanks for the response. I changed my command to:
virt-install --name=fc6g3 --ram=512 --vcpus=1 --file=/var/lib/xen/images/fc6g3.img --file-size=5 --paravirt --location= http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os --vnc
But, I get the same error. I then disabled SELinux and still got the same error.
Do you know of any working tutorials on this? I have looked at:
https://virt.108.redhat.com/articles/2007/01/15/xen-chapter-from-fedora-core-6-unleashed.html
http://fedoraproject.org/wiki/FedoraXenQuickstartFC6
They both are short on details.
Thanks,
Bill
On 2/4/07, Daniel P. Berrange
<berrange@xxxxxxxxxx> wrote:
On Thu, Feb 01, 2007 at 03:38:33PM -0500, Bill Zingler wrote:
> The following command yeilds the error below. Anyone have any ideas what
> could be the problem. Am I encountering a problem due to using the x86_64
> version of FC6?
>
> Thanks,
>
> Bill
>
> virt-install --name=fc6g3 --ram=512 --vcpus=1 --file=/home/admin/fc6g3.img
> --file-size=5 --paravirt --location=
> http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os --vnc
If you have SELinux enabled, then this will fail because the disk image is
under in a permitted directory. SELinux policy requires disk images to be
in either /xen (for legacy compat), or /var/lib/xen/images (current preferred).
If you really really want to keep disk images elsewhere, then you need to
add the extra directory to the policy & make sure its labelled, eg
To add to policy:
semanage fcontext --add -t xen_image_t '/home/admin/xen(/.*)?'
And then to label the dir:
restorecon /home/admin/xen
Regards,
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
--
Bill Zingler
Zingler & Associates, Inc.
(443) 822-4857
-- Fedora-xen mailing list Fedora-xen@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-xen