summaryrefslogtreecommitdiffstats
path: root/ipa.spec.in
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-05-20 11:54:41 -0400
committerRob Crittenden <rcritten@redhat.com>2010-05-27 10:50:13 -0400
commit4ae483600f77cea2449cb63d8298ad8763904068 (patch)
treea35337af58369c84894961de6953665da9cf8743 /ipa.spec.in
parent10ae6912e6051c8d526138c90e9c3d75cf752472 (diff)
downloadfreeipa-4ae483600f77cea2449cb63d8298ad8763904068.tar.gz
freeipa-4ae483600f77cea2449cb63d8298ad8763904068.tar.xz
freeipa-4ae483600f77cea2449cb63d8298ad8763904068.zip
Move the dogtag SELinux rules loading into the spec file
I couldn't put the dogtag rules into the spec file until we required dogtag as a component. If it wasn't pre-loaded them the rules loading would fail because types would be missing.
Diffstat (limited to 'ipa.spec.in')
-rw-r--r--ipa.spec.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/ipa.spec.in b/ipa.spec.in
index e76b3582c..3e677e409 100644
--- a/ipa.spec.in
+++ b/ipa.spec.in
@@ -330,7 +330,7 @@ if [ -s /etc/selinux/config ]; then
fi
%post server-selinux
-semodule -s targeted -i /usr/share/selinux/targeted/ipa_kpasswd.pp /usr/share/selinux/targeted/ipa_httpd.pp
+semodule -s targeted -i /usr/share/selinux/targeted/ipa_kpasswd.pp /usr/share/selinux/targeted/ipa_httpd.pp /usr/share/selinux/targeted/ipa_dogtag.pp
. %{_sysconfdir}/selinux/config
FILE_CONTEXT=%{_sysconfdir}/selinux/targeted/contexts/files/file_contexts
selinuxenabled
@@ -352,7 +352,7 @@ fi
%postun server-selinux
if [ $1 = 0 ]; then
-semodule -s targeted -r ipa_kpasswd ipa_httpd
+semodule -s targeted -r ipa_kpasswd ipa_httpd ipa_dogtag
. %{_sysconfdir}/selinux/config
FILE_CONTEXT=%{_sysconfdir}/selinux/targeted/contexts/files/file_contexts
selinuxenabled
@@ -497,6 +497,9 @@ fi
%endif
%changelog
+* Mon May 17 2010 Rob Crittenden <rcritten@redhat.com> - 1.99-21
+- Load ipa_dogtag.pp in post install
+
* Mon Apr 26 2010 Rob Crittenden <rcritten@redhat.com> - 1.99-20
- Set minimum level of sssd to 1.1.1 to pull in required hbac fixes.