Can not load mysql-akonadi apparmor profile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
akonadi (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
apparmor (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Apparmor fails to start witch exit code 123, because it can not load the mysql-akonadi profile:
% sudo systemctl status apparmor -l
● apparmor.service - LSB: AppArmor initialization
Loaded: loaded (/etc/init.
Active: failed (Result: exit-code) since So 2015-04-05 12:29:33 CEST; 55s ago
Docs: man:systemd-
Process: 13906 ExecStart=
Apr 05 12:29:33 benediktZ50-70 apparmor[13906]: Skipping profile in /etc/apparmor.
Apr 05 12:29:33 benediktZ50-70 apparmor[13906]: AppArmor parser error for /etc/apparmor.
Apr 05 12:29:33 benediktZ50-70 apparmor[13906]: Skipping profile in /etc/apparmor.
Apr 05 12:29:33 benediktZ50-70 apparmor[13906]: Skipping profile in /etc/apparmor.
Apr 05 12:29:33 benediktZ50-70 apparmor[13906]: AppArmor parser error for /etc/apparmor.
Apr 05 12:29:33 benediktZ50-70 apparmor[13906]: ...fail!
Apr 05 12:29:33 benediktZ50-70 systemd[1]: apparmor.service: control process exited, code=exited status=123
Apr 05 12:29:33 benediktZ50-70 systemd[1]: Failed to start LSB: AppArmor initialization.
Apr 05 12:29:33 benediktZ50-70 systemd[1]: Unit apparmor.service entered failed state.
Apr 05 12:29:33 benediktZ50-70 systemd[1]: apparmor.service failed.
However Apparmor loaded successfully:
% sudo aa-status
apparmor module is loaded.
17 profiles are loaded.
17 profiles are in enforce mode.
/sbin/dhclient
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/sbin/cupsd
/usr/
/usr/
/usr/
docker-default
0 profiles are in complain mode.
5 processes have profiles defined.
5 processes are in enforce mode.
/sbin/dhclient (11821)
/usr/
/usr/
/usr/sbin/cupsd (12783)
/usr/
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.
It is really necessary to set Apparmor as failed if one profile could not be loaded?
tags: | added: kubuntu vivid |
summary: |
- Can not load mysql-akonadi profile + Can not load mysql-akonadi apparmor profile |
tags: | added: systemd-boot |
tags: | removed: systemd-boot |
Changed in akonadi (Ubuntu): | |
importance: | Undecided → High |
Changed in apparmor (Ubuntu): | |
importance: | Undecided → High |
Changed in akonadi (Ubuntu): | |
status: | Confirmed → Fix Committed |
Putting a file in /etc/apparmor. d/local/ usr.sbin. mysqld- akonadi (like the other examples already there) resolves the issue. Maybe the packaging for akonadi- backend- mysql forgot to generate an empty configuration file there?