[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Xen & SELINUX: how disable in guest?



Hello all!

I try to boot the guest VM in native EL5.1 dom0.

Kernel for guest domain I took from source compiled Xen distributions
since native EL5.1 kernel being tired as guest did not see root
partition at all.

SELinux enforcing is disabled in the dom0:

> [root@mbone ~]# getenforce
> Permissive

Configuration file for guest domain has parameter to disable selinux:

> [root@mbone ~]# grep extra /etc/xen/xm-test
> # You can use 'extra' to set the runlevel and custom environment
> extra = "4 enforcing=0"

But I still get errors from SELinux:

> [root@mbone ~]# xm create -c /etc/xen/xm-test
> Using config file "/etc/xen/xm-test".
> Started domain ExampleDomain
> Linux version 2.6.18-xen (root@jig) (gcc version 3.4.6 20060404 (Red Hat 
> 3.4.6-8)) #12 SMP Thu Nov 29 11:53:14 MSK 2007
> ...
> VFS: Mounted root (ext3 filesystem) readonly.
> Freeing unused kernel memory: 184k freed
> Unable to load SELinux Policy. Machine is in enforcing mode. Halting now.
> Kernel panic - not syncing: Attempted to kill init!

Config string like 'extra = "4 selinux=1 enforce=0"' produce the same
result.

What is wrong?

Thanks in advance.

--
Veniamin.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.