Skip to content

Commit

Permalink
Merge pull request #8 from TimothyAsirJeyasing/fix-selinux-policy-loa…
Browse files Browse the repository at this point in the history
…d-error

Fix selinux tendrl policy load error
  • Loading branch information
r0h4n authored Nov 23, 2017
2 parents 4d90035 + 6958221 commit a6ddaaf
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 a6ddaaf

Please sign in to comment.