mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
8ef50277fc
additional files that specify some actions which are allowed to the MySQL binaries. Create a new subdirectory "supportfiles/RHEL4-SElinux" for them, and process it. This fixes bug#12676. configure.in: New "support-files/RHEL4-SElinux/Makefile.am" must be processed by "automake" etc. support-files/Makefile.am: For Linux systems running RHEL 4 (which includes SE-Linux), we need to provide additional files that specify some actions which are allowed to the MySQL binaries. Create a new subdirectory "supportfiles/RHEL4-SElinux" for them, and process it. support-files/RHEL4-SElinux/Makefile.am: BitKeeper file /MySQL/M50/bug12676-5.0/support-files/RHEL4-SElinux/Makefile.am support-files/RHEL4-SElinux/mysql.fc: BitKeeper file /MySQL/M50/bug12676-5.0/support-files/RHEL4-SElinux/mysql.fc support-files/RHEL4-SElinux/mysql.te: BitKeeper file /MySQL/M50/bug12676-5.0/support-files/RHEL4-SElinux/mysql.te
25 lines
675 B
Text
25 lines
675 B
Text
# MySQL Database Server
|
|
|
|
#
|
|
# /etc
|
|
#
|
|
/etc/my\.cnf -- gen_context(system_u:object_r:mysqld_etc_t,s0)
|
|
/etc/mysql(/.*)? gen_context(system_u:object_r:mysqld_etc_t,s0)
|
|
|
|
#
|
|
# /usr
|
|
# Red Hat compatibility
|
|
/usr/libexec/mysqld -- gen_context(system_u:object_r:mysqld_exec_t,s0)
|
|
|
|
# MySQL AB compatibility
|
|
/usr/sbin/mysqld(-max)? -- gen_context(system_u:object_r:mysqld_exec_t,s0)
|
|
|
|
#
|
|
# /var
|
|
#
|
|
/var/lib/mysql(/.*)? gen_context(system_u:object_r:mysqld_db_t,s0)
|
|
/var/lib/mysql/mysql\.sock -s gen_context(system_u:object_r:mysqld_var_run_t,s0)
|
|
|
|
/var/log/mysql.* -- gen_context(system_u:object_r:mysqld_log_t,s0)
|
|
|
|
/var/run/mysqld(/.*)? gen_context(system_u:object_r:mysqld_var_run_t,s0)
|