[CentOS] centos6 selinux-policy-targeted not getting installed properly from kickstart

Sun Aug 17 03:41:06 UTC 2014
Andrew Lau <andrew at andrewklau.com>

Hi,

I'm using this kickstart to build a centos AMI,
https://gist.github.com/andrewklau/9c354a43976d951bdedd

For some reason, selinux isn't getting installed correctly, on first boot:

$ semodule -B
libsemanage.semanage_link_sandbox: Could not access sandbox base file
/etc/selinux/targeted/modules/tmp/base.pp. (No such file or directory).
semodule:  Failed!

Proceeding to do anything else selinux related fails as well. The only
solution has so far been to yum reinstall selinux-policy-targeted

Anyone know why this could be happening?

Thanks,
Andrew