MySQL 服务器 SELinux 策略模块通常会默认安装。您可以使用 semodule -l 命令查看已安装的模块。MySQL 服务器 SELinux 策略模块包括:MySQL Server SELinux policy modules are typically installed by default. You can view installed modules using the semodule -l command. MySQL Server SELinux policy modules include:
mysqld_selinuxmysqld_safe_selinux
有关 MySQL 服务器 SELinux 策略模块的信息,请参阅 SELinux 手册页。手册页提供有关 MySQL 服务相关的类型和布尔值的信息。手册页命名格式为 。For information about MySQL Server SELinux policy modules, refer
to the SELinux manual pages. The manual pages provide information
about types and Booleans associated with the MySQL service. Manual
pages are named in the
service-name_selinux
format.service-name_selinux
man mysqld_selinux
如果 SELinux 手册页不可用,请参阅您发行版的 SELinux 文档,以了解如何使用 sepolicy
manpage 工具生成手册页。If SELinux manual pages are not available, refer to your
distribution's SELinux documentation for information about how to
generate manual pages using the sepolicy
manpage utility.