lucids apparmor.d/usr.sbin.mysqld needs to provide access to /etc/mtab

Bug #709347 reported by Mrten
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Triaged
Low
Unassigned

Bug Description

On lucid apparmor is installed and activated by default, and there is a usr.sbin.mysqld in /etc/apparmor.d when you upgrade from ubuntu-standard to percona-server.

Percona looks at /etc/mtab to check for some hardware but apparmor denies the access. This rapidly leads to filled logs :)

Solution: add

/etc/mtab r,

to /etc/apparmor.d/usr.sbin.mysqld and reload with apparmor-parser -r usr.sbin.mysqld

Could the lucid package be provided with an apparmor profile like this?

Tags: pkg
Revision history for this message
Stewart Smith (stewart) wrote :

should be simple to update our package.

Changed in percona-server:
assignee: nobody → Stewart Smith (stewart)
status: New → Confirmed
importance: Undecided → Low
Stewart Smith (stewart)
Changed in percona-server:
assignee: Stewart Smith (stewart) → nobody
Stewart Smith (stewart)
Changed in percona-server:
status: Confirmed → Triaged
Stewart Smith (stewart)
tags: added: pkg
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1843

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.