Public bug reported: I cannot start my mysql server after upgrading from 10.04 LTS to 12.04 LTS alpha with apparmor started. I tried uninstalling apparmor and the server starts ok.
Follows the error when apparmor is enabled: [ 434.191736] type=1400 audit(1326388587.607:13): apparmor="DENIED" operation="mknod" parent=1 profile="/usr/sbin/mysqld" name="/run/mysqld/mysqld.sock" pid=2162 comm="mysqld" requested_mask="c" denied_mask="c" fsuid=104 ouid=104 ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: apparmor-profiles (not installed) ProcVersionSignature: Ubuntu 3.2.0-8.14-generic 3.2.0 Uname: Linux 3.2.0-8-generic x86_64 ApportVersion: 1.90-0ubuntu1 Architecture: amd64 Date: Thu Jan 12 15:17:54 2012 InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release amd64 (20110211.1) ProcEnviron: LC_CTYPE=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LANG=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.2.0-8-generic root=UUID=7aadf1e5-c3d5-4de7-9155-22d05abf21f8 ro quiet SourcePackage: apparmor UpgradeStatus: Upgraded to precise on 2012-01-10 (2 days ago) ** Affects: apparmor (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/915490 Title: mysql server cannot start with apparmor enabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/915490/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs