1 |
commit: 4d4068acbad142278ef1c51bd0bb5443ff89e1c2 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Wed Oct 31 21:18:27 2012 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Fri Nov 2 19:07:56 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=4d4068ac |
7 |
|
8 |
Support mysql init script |
9 |
|
10 |
In Gentoo (and perhaps others as well), the init script for MySQL is called |
11 |
"mysql" instead of "mysqld". |
12 |
|
13 |
Signed-off-by: Sven Vermeulen <sven.vermeulen <AT> siphos.be> |
14 |
|
15 |
--- |
16 |
policy/modules/contrib/mysql.fc | 2 +- |
17 |
1 files changed, 1 insertions(+), 1 deletions(-) |
18 |
|
19 |
diff --git a/policy/modules/contrib/mysql.fc b/policy/modules/contrib/mysql.fc |
20 |
index be0d44b..c48dc17 100644 |
21 |
--- a/policy/modules/contrib/mysql.fc |
22 |
+++ b/policy/modules/contrib/mysql.fc |
23 |
@@ -3,7 +3,7 @@ HOME_DIR/\.my\.cnf -- gen_context(system_u:object_r:mysqld_home_t,s0) |
24 |
/etc/my\.cnf -- gen_context(system_u:object_r:mysqld_etc_t,s0) |
25 |
/etc/mysql(/.*)? gen_context(system_u:object_r:mysqld_etc_t,s0) |
26 |
|
27 |
-/etc/rc\.d/init\.d/mysqld -- gen_context(system_u:object_r:mysqld_initrc_exec_t,s0) |
28 |
+/etc/rc\.d/init\.d/mysqld? -- gen_context(system_u:object_r:mysqld_initrc_exec_t,s0) |
29 |
/etc/rc\.d/init\.d/mysqlmanager -- gen_context(system_u:object_r:mysqlmanagerd_initrc_exec_t,s0) |
30 |
|
31 |
/usr/bin/mysqld_safe -- gen_context(system_u:object_r:mysqld_safe_exec_t,s0) |