Ubuntu 16.04
Same issue happened to me after updates. Apparmor failure with code 123 
prevents system from booting.
These directories were created manually in recovery single mode:
mkdir -p /usr/share/apparmor/hardware/graphics.d
mkdir -p /usr/share/apparmor/hardware/audio.d
mkdir -p /usr/share/apparmor/hardware/video.d

but it made no effect.

After that:
apt-get install apparmor-easyprof-ubuntu

System booted up successfully.

-- 
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/1554803

Title:
  apparmor: missing stub hardware directories

Status in apparmor package in Ubuntu:
  Confirmed

Bug description:
  ● apparmor.service - LSB: AppArmor initialization
     Loaded: loaded (/etc/init.d/apparmor; bad; vendor preset: enabled)
     Active: failed (Result: exit-code) since Tue 2016-03-08 14:34:04 EST; 4h 
23min ago
       Docs: man:systemd-sysv-generator(8)
    Process: 2909 ExecStart=/etc/init.d/apparmor start (code=exited, status=123)

  Mar 08 14:34:04 ogre apparmor[2909]: Skipping profile in 
/etc/apparmor.d/disable: usr.bin.firefox
  Mar 08 14:34:04 ogre apparmor[2909]: AppArmor parser error for 
/etc/apparmor.d/usr.bin.webbrowser-app in 
/etc/apparmor.d/usr.bin.webbrowser-app at line 26: Could not open 
'/usr/share/apparmor/hardware/graphics.d'
  Mar 08 14:34:04 ogre apparmor[2909]: Skipping profile in 
/etc/apparmor.d/disable: usr.bin.firefox
  Mar 08 14:34:04 ogre apparmor[2909]: AppArmor parser error for 
/etc/apparmor.d/usr.bin.webbrowser-app in 
/etc/apparmor.d/usr.bin.webbrowser-app at line 26: Could not open 
'/usr/share/apparmor/hardware/graphics.d'
  Mar 08 14:34:04 ogre apparmor[2909]: Skipping profile in 
/etc/apparmor.d/disable: usr.sbin.rsyslogd
  Mar 08 14:34:04 ogre apparmor[2909]:    ...fail!
  Mar 08 14:34:04 ogre systemd[1]: apparmor.service: Control process exited, 
code=exited status=123
  Mar 08 14:34:04 ogre systemd[1]: Failed to start LSB: AppArmor initialization.
  Mar 08 14:34:04 ogre systemd[1]: apparmor.service: Unit entered failed state.
  Mar 08 14:34:04 ogre systemd[1]: apparmor.service: Failed with result 
'exit-code'.

  /usr/share/apparmor/hardware/graphics.d doesn't in fact exist on my
  system. I'm not sure what package would provide it, but it seems
  curious to me that the package doesn't supply its relevant apparmor
  bits. I'd have expected the apparmor package to not complain about
  bits belonging to packages that aren't installed.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: apparmor 2.10-3ubuntu2
  ProcVersionSignature: Ubuntu 4.4.0-11.26-generic 4.4.4
  Uname: Linux 4.4.0-11-generic x86_64
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl nvidia_uvm 
nvidia_modeset nvidia
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  Date: Tue Mar  8 18:53:31 2016
  InstallationDate: Installed on 2016-02-24 (13 days ago)
  InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Alpha amd64 
(20160219)
  ProcEnviron:
   TERM=xterm-color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdline: BOOT_IMAGE=/vmlinuz-4.4.0-11-generic.efi.signed 
root=/dev/mapper/hostname-root ro net.ifnames=0 biosdevname=0
  SourcePackage: apparmor
  Syslog: Mar  8 14:34:05 ogre dbus[3062]: [system] AppArmor D-Bus mediation is 
enabled
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1554803/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to