[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-selinux-list
Subject: Re: Activate a SELinux Module at Initial Install
From: "Dustin C. Hatch" <dustin.hatch () firemon ! com>
Date: 2014-09-05 16:29:49
Message-ID: 5409E4FD.8050403 () firemon ! com
[Download RAW message or body]
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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/selinux
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic