Failed to start AppArmor initialization with status=123/n/a
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Medium
|
Jamie Strandboge | ||
ubuntu-release-upgrader (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
AppArmor in Ubuntu 18.04 fails to start every time:
$ systemctl status apparmor.service
● apparmor.service - AppArmor initialization
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Mon 2018-03-19 13:47:22 AWST; 56s ago
Docs: man:apparmor(7)
http://
Process: 773 ExecStart=
Main PID: 773 (code=exited, status=123)
Mar 19 13:47:21 xps15-9560 apparmor[773]: AppArmor parser error for /etc/apparmor.
Mar 19 13:47:21 xps15-9560 apparmor[773]: Skipping profile in /etc/apparmor.
Mar 19 13:47:22 xps15-9560 apparmor[773]: Skipping profile in /etc/apparmor.
Mar 19 13:47:22 xps15-9560 apparmor[773]: AppArmor parser error for /etc/apparmor.
Mar 19 13:47:22 xps15-9560 apparmor[773]: AppArmor parser error for /etc/apparmor.
Mar 19 13:47:22 xps15-9560 apparmor[773]: Skipping profile in /etc/apparmor.
Mar 19 13:47:22 xps15-9560 apparmor[773]: ...fail!
Mar 19 13:47:22 xps15-9560 systemd[1]: apparmor.service: Main process exited, code=exited, status=123/n/a
Mar 19 13:47:22 xps15-9560 systemd[1]: apparmor.service: Failed with result 'exit-code'.
Mar 19 13:47:22 xps15-9560 systemd[1]: Failed to start AppArmor initialization.
journalctl -xe gives essentially the same lack of information issued after a systemctl restart apparmor.service.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: apparmor 2.11.0-2ubuntu19
ProcVersionSign
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
Date: Mon Mar 19 13:50:42 2018
InstallationDate: Installed on 2017-08-16 (214 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
ProcEnviron:
LANGUAGE=en_AU:en
TERM=xterm-
PATH=(custom, no user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: apparmor
Syslog:
Mar 19 13:47:22 xps15-9560 dbus-daemon[1252]: [system] AppArmor D-Bus mediation is enabled
Mar 19 13:47:23 xps15-9560 dbus-daemon[1491]: [session uid=125 pid=1491] AppArmor D-Bus mediation is enabled
Mar 19 13:47:39 xps15-9560 dbus-daemon[2160]: [session uid=1001 pid=2160] AppArmor D-Bus mediation is enabled
UpgradeStatus: Upgraded to bionic on 2017-11-17 (121 days ago)
mtime.conffile.
Changed in apparmor (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
status: | Won't Fix → In Progress |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Confirmed → Won't Fix |
Changed in apparmor (Ubuntu): | |
importance: | Undecided → Medium |
Another user reported what sounds like the same issue at https:/ /ubuntuforums. org/showthread. php?t=2386129& p=13749658# post13749658