Add mysqld_port_t definition also for udp as it is documented in the README

This commit is contained in:
Honza Horak 2017-08-07 18:31:37 +02:00
parent fe1ebbe8f1
commit 47a4d5b48f

View File

@ -1070,7 +1070,9 @@ export MTR_BUILD_THREAD=%{__isa_bits}
%if %{with galera}
%post server-galera
# README at support-files/policy/selinux/README recommends:
semanage port -a -t mysqld_port_t -p tcp 4568 >/dev/null 2>&1 || :
semanage port -a -t mysqld_port_t -p udp 4567 >/dev/null 2>&1 || :
semodule -i %{_datadir}/selinux/packages/%{name}/%{name}-server-galera.pp >/dev/null 2>&1 || :
%endif