|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] question when xm create the ubuntu virtual machine in RH
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> wang jeppeter
> Sent: 31 May 2007 10:12
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] question when xm create the ubuntu
> virtual machine in RHEL5
>
> Everyone:
> Hello. i want to setup the ubuntu virtual machine in
> the RHEL5 OS, and i have install the package of xen and
> xen-libs from the origine package in the RHEL5
> ISO.xen-3.0.3-25.el5.x86_64.rpm and
> xen-libs-3.0.3-25.el5.x86_64.rpm because i use the AMD 3800+
> platform . I follow the instruction copy the
> /etc/xen/xmexample.hvm as /etc/xen/ubuntu2
>
> the content of this is like this
>
[snip]
> and no more has been modified .
>
> but when i use command
>
>
>
> xm create ubuntu2
>
>
>
> it fails with the notion of
>
> Using config file "/etc/xen/ubuntu2".
> Error: Disk image does not exist: /var/images/min-el3-i386.img
>
> i make sure /etc/xen/ubuntu2 is the config file i edit
>
>
>
> and the /var/images/min-el3-i386.img exists when i use command
>
> dd if=/dev/zero of=/var/images/min-el3-i386.img bs=1M count=128
>
> to make it
>
> i google the website to figure out this problem . As a result
> , i notice that some said just because the
>
> selinux not allow the file access ,and i add the command
>
> semanage fcontext -a -f "" -t xen_image_t '/var/images(/.*)?'
>
> and making sure the rule is in the context as i type command
>
> semanage fcontext -l | grep xen_image
>
> /var/images(/.*)? all files
> system_u:object_r:xen_image_t:s0
>
> this resolution does not work .
>
> can someone tell me how to solve this problem when i create
> the xen vm.
Have you tried just setting "selinux=0" (or whatever method you disable
SElinux) on the boot-line? That would tell you if it's Selinux that is
the problem or not.
--
Mats
>
> thank you
>
>
>
> regards
>
> jeppeter
>
>
>
>
>
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|