apparmor profile denies read access to /run/mysqld/mysqld.pid

Bug #1185573 reported by Simon Déziel on 2013-05-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.5 (Ubuntu)
Low
Unassigned
Saucy
Low
Unassigned

Bug Description

When stopping the MySQL daemon it attempts to read its PID file but it is denied by apparmor:

  # stop mysql
  mysql stop/waiting
  # dmesg | tail -n1
  [453534.841219] type=1400 audit(1369857443.194:11): apparmor="DENIED" operation="open" parent=1 profile="/usr/sbin/mysqld" name="/run/mysqld/mysqld.pid" pid=24512 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=103 ouid=103

This bug on both Precise and Quantal (I haven't tested Raring).

Simon Déziel (sdeziel) on 2013-05-29
description: updated
James Page (james-page) wrote :

Confirmed; marking this as low importance as this does not appear to materially impact on shutdown of mysql.

Targetting for Saucy only.

Changed in mysql-5.5 (Ubuntu Saucy):
status: New → Confirmed
importance: Undecided → Low
status: Confirmed → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mysql-5.5 - 5.5.31-0ubuntu1

---------------
mysql-5.5 (5.5.31-0ubuntu1) saucy; urgency=low

  * Adjust Apparmor profile to allow reading PID file (LP: #1185573)
 -- Simon Deziel <email address hidden> Wed, 29 May 2013 16:14:02 -0400

Changed in mysql-5.5 (Ubuntu Saucy):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers