Skip to content

Commit

Permalink
Fix selinux tendrl policy load error
Browse files Browse the repository at this point in the history
tendrl-bugid: #7
Signed-off-by: Timothy Asir J <[email protected]>
  • Loading branch information
TimothyAsirJeyasing committed Nov 22, 2017
1 parent ffb1b7f commit 6958221
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tendrl-selinux.spec
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,16 @@ install -p -m 644 LICENSE %{buildroot}%{_pkgdocdir}/LICENSE
%check

%post
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/tendrl
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/tendrl.pp.bz2

%post -n carbon-selinux
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/carbon
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/carbon.pp.bz2

%post -n tendrl-collectd-selinux
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/collectd
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/collectd.pp.bz2

%post -n tendrl-grafana-selinux
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/grafana
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/grafana.pp.bz2

%postun
if [ $1 -eq 0 ]; then
Expand Down

0 comments on commit 6958221

Please sign in to comment.