This is fixed, by providing a helpful warning message instead of
crashing, in Xenial's apparmor 2.10-3ubuntu2:
tyhicks@sec-xenial-amd64:~$ sudo rm /etc/apparmor.d/local/usr.sbin.mysqld
tyhicks@sec-xenial-amd64:~$ sudo aa-complain /usr/sbin/mysqld
Include file /etc/apparmor.d/local/usr.sbin.mysqld not found
** Changed in: apparmor (Ubuntu)
Status: New => Fix Released
** Information type changed from Private to Public
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1435298
Title:
aa-complain crashed with apparmor.common.AppArmorException in
cmd_complain(): "AppArmor parser error for
/etc/apparmor.d/usr.sbin.mysqld in /etc/apparmor.d/usr.sbin.mysqld at
line 41: Could not open 'local/usr.sbin.mysqld'\n"
Status in apparmor package in Ubuntu:
Fix Released
Bug description:
tried to run aa-complain /usr/sbin/mysqld
ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: apparmor-utils 2.9.1-0ubuntu7
ProcVersionSignature: Ubuntu 3.19.0-9.9-generic 3.19.1
Uname: Linux 3.19.0-9-generic x86_64
ApportVersion: 2.16.2-0ubuntu4
Architecture: amd64
Date: Mon Mar 23 12:30:33 2015
ExecutablePath: /usr/sbin/aa-complain
InstallationDate: Installed on 2011-11-21 (1217 days ago)
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
InterpreterPath: /usr/bin/python3.4
ProcCmdline: /usr/bin/python3 /usr/sbin/aa-complain /usr/sbin/mysqld
ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.19.0-9-generic
root=UUID=5a15ae34-5eea-4f4e-8b2a-3bfb20eb9f35 ro quiet splash
crashkernel=384M-2G:64M,2G-:128M crashkernel=384M-2G:64M,2G-:128M
crashkernel=384M-2G:64M,2G-:128M crashkernel=384M-:128M crashkernel=384M-:128M
crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M
crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M
crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M
crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M
crashkernel=384M-:128M crashkernel=384M-:128M vt.handoff=7
PythonArgs: ['/usr/sbin/aa-complain', '/usr/sbin/mysqld']
SourcePackage: apparmor
Syslog:
Mar 23 12:34:48 xps dbus[904]: [system] AppArmor D-Bus mediation is enabled
Mar 23 12:40:33 xps dbus[940]: [system] AppArmor D-Bus mediation is enabled
SystemImageInfo:
current build number: 0
device name:
channel: daily
last update: Unknown
Title: aa-complain crashed with apparmor.common.AppArmorException in
cmd_complain(): "AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in
/etc/apparmor.d/usr.sbin.mysqld at line 41: Could not open
'local/usr.sbin.mysqld'\n"
UpgradeStatus: Upgraded to vivid on 2012-02-27 (1119 days ago)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1435298/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp