Bug #97768 Adding 2 apparmor rules for mysql from apt repo for using huge page not failed
| Submitted: | 25 Nov 2019 9:16 | Modified: | 26 Nov 2019 6:11 |
|---|---|---|---|
| Reporter: | NGUYEN TRUNG HIEU | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Packaging | Severity: | S2 (Serious) |
| Version: | 8.0.18 | OS: | Ubuntu (18.04.3) |
| Assigned to: | CPU Architecture: | x86 |
[25 Nov 2019 9:16]
NGUYEN TRUNG HIEU
[25 Nov 2019 15:25]
MySQL Verification Team
Hi, Thanks for the report and the fix.
[26 Nov 2019 4:11]
NGUYEN TRUNG HIEU
Maybe there are security issues when we set / rw, apparmor rule Good solutions are read, write restricted perms detail in root I'm not apparmor expert, so I can not offer more details
[26 Nov 2019 6:11]
NGUYEN TRUNG HIEU
The last comment Because hugepages also used memlock (no swap) that we configured at /etc/security/limits.conf mysql soft memlock max_value_number mysql hard memlock max_value_number Maybe includes 1 apparmor rule: capability ipc_lock, My references: https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1011867 http://man7.org/linux/man-pages/man7/capabilities.7.html Tks
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.