Thanks for taking the time to report this issue and help improve Ubuntu.
This specific issue is a duplicate of
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1511439
which I believe has been addressed by the webbrowser-app package in
16.04.
However, I'm not marking it as such as it seems to me that making each
desktop package that wants to ship "converged" policies have to include
stub apparmor directories seems... inefficient at best, and that perhaps
the apparmor packaging should provide these directories, that can be
populated by apparmor-easyprof-ubuntu as needed (or not).
** Changed in: apparmor (Ubuntu)
Status: New => Confirmed
** Changed in: apparmor (Ubuntu)
Importance: Undecided => Medium
** Summary changed:
- apparmor throwing inexplicable errors
+ apparmor: missing stub hardware directories
--
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 : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp