AppArmor permission problem on Ubuntu Lucid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Undecided
|
Kristian Nielsen | ||
OurDelta |
Fix Committed
|
Undecided
|
Cafuego |
Bug Description
The MariaDB 5.1.49 server wants read access to /sys/devices/
Aug 11 09:25:30 cachaca kernel: [1466836.273692] type=1503 audit(128148273
I first noticed this when the server started using 100% of one CPU core and I checked the logs in response. However, I've not been able to replicate that behaviour, so that may have been unrelated.
The problem can be resolved by adding the following line to /etc/apparmor.
/sys/devices/
Related branches
- Kristian Nielsen: Needs Fixing
-
Diff: 21 lines (+4/-0)2 files modifiedbakery/debian-5.1/dist/Ubuntu/apparmor-profile (+2/-0)
bakery/debian-5.2/dist/Ubuntu/apparmor-profile (+2/-0)
description: | updated |
affects: | ourdelta → maria |
affects: | maria → ourdelta |
Changed in ourdelta: | |
assignee: | nobody → Cafuego (cafuego) |
description: | updated |
Changed in ourdelta: | |
status: | New → Fix Committed |
Changed in maria: | |
assignee: | nobody → Kristian Nielsen (knielsen) |
Changed in maria: | |
milestone: | none → 5.1 |
tags: | added: packaging |
I'm not sure if this is a problem (still) in mariadb or not ...
However, the default apparmor profile has been removed from MariaDB .deb packages, which will remove
any such issues.
This will be in 5.1.56, 5.2.10, 5.3.3, and 5.5.x.