Hi all,

A colleague of mine ran into a problem today, using koan on a
selinux-enabled CentOS 5.2 machine:

/usr/bin/chcon -t
virt_image_t /dev/mapper/*snip*--disk0
/usr/bin/chcon: failed to change context
of /dev/mapper/*snip*--disk0 to
system_u:object_r:virt_image_t: Invalid argument
SELinux security context setting to LVM partition failed

virt_image_t is provided by the "Virt" module, and I suspect this module
was introduced in RHEL5.3.
So, for now, while CentOS5.3 is still unavailable, there's the following
workaround:

wget
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/selinux-policy-2.4.6-203.el5.src.rpm
rpmbuild --rebuild selinux-policy-2.4.6-203.el5.src.rpm

and install the resulting selinux-policy and selinux-policy-targeted RPMs.

Jasper
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to