Fix galera related selinux on RHEL-6
This commit is contained in:
parent
a06955c958
commit
ab242dbfda
@ -658,6 +658,9 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \
|
|||||||
# prepare selinux policy
|
# prepare selinux policy
|
||||||
mkdir selinux
|
mkdir selinux
|
||||||
sed 's/mariadb-server-galera/%{name}-server-galera/' %{SOURCE72} > selinux/%{name}-server-galera.te
|
sed 's/mariadb-server-galera/%{name}-server-galera/' %{SOURCE72} > selinux/%{name}-server-galera.te
|
||||||
|
%if 0%{?rhel} == 6
|
||||||
|
sed -i 's/kerberos_port_t/kerberos_master_port_t/' selinux/%{name}-server-galera.te
|
||||||
|
%endif
|
||||||
cat selinux/%{name}-server-galera.te
|
cat selinux/%{name}-server-galera.te
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user