On 09/05/2014 08:36 AM, Miroslav Grepl wrote: > I would go with > > %define selinuxtype targeted > > .. > .. > > %post > > %{_sbindir}/semodule -n -s %{selinuxtype} -i %{_datadir}/selinux/packages/%{modulename}.pp > > if %{_sbindir}/selinuxenabled ; then > %{_sbindir}/load_policy > %relabel_files > fi > Thanks, unfortunately, this has the same overall effect; the module gets loaded automatically when installed by Yum, but not when installed by Anaconda, and the same error message is given in the latter case. /usr/sbin/semodule: SELinux policy is not managed or store cannot be accessed. -- ♫Dustin -- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/selinux