SELinux Notes


Assign the context name_log_t to the logs directory

$ semanage fcontext -a -t named_log_t ‘/var/named/chroot/logs(/.*)?’

Assign the dns_port_t context to TCP port 12345.

$ semanage port -a -t dns_port_t -p tcp 12345

THIS INFORMATION IS PROVIDED UNDER A GPLV2 LICENSE
THE GPLV2 LICENSE CAN BE VIEWED HERE