-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME.apparmor
28 lines (18 loc) · 1.1 KB
/
README.apparmor
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
------------------------------------------------------------------------------
0. INTRODUCTION
------------------------------------------------------------------------------
Some distributions are now introducing application security frameworks such as
SELinux and AppArmor. These framewords are designed to protect against known
and unknown threats by providing features such as mandatory access control.
If you experience some peculiarities that you suspect to be related to the
beast that is AppArmor or SELinux, try disabling to establish if it is the
root cause or not.
------------------------------------------------------------------------------
1. APPARMOR
------------------------------------------------------------------------------
If your distribution has AppArmor installed and is running you will need to
ensure MySQL has read access to the files on the local filesystem. This can
typically be achieved by adding the appropriate line to the mysql profile
For example on a Ubuntu system, add the following line to the mysql profile in
"/etc/apparmor.d/usr.sbin.mysqld":
/nsm/server_data/server1/load/* r,