Hello,

I've downloaded the extra apparmor profiles using

Code:
sudo aptitude install apparmor-profiles
I enabled the chromium profile and realised it doesn't work out of the box. I've glanced over the various apparmor docs and added the following rules to /etc/apparmor.d/local/usr.bin.chromium-browser in order to get chromium to work without logging problems:

Code:
/sys/devices/pci*/**/* r,
/sys/devices/system/cpu/**/* r,
/home/phatypus/.mozilla/firefox/* r,
/usr/bin/xdg-settings ixr,
/usr/bin/xdg-mime ixr,
/bin/which ixr,
/bin/readlink ixr,
/usr/bin/cut ixr,
/usr/bin/basename ixr,
/usr/bin/mawk ixr,
/usr/bin/gconftool-2 ixr,
I wasn't too sure about my execute rules, so used the same rules as xdg-open found in /etc/apparmor.d/usr.bin.chromium-browser, which was:

Code:
/usr/bin/xdg-open ixr,
Can someone confirm that my additional rules are sound?


Thanks.


p.s. I presume the profile shipped with apparmor-profiles doesn't work out of the box because it has lagged behind work done on chromium?