Apparmor 2.9.0 has been released; closing. ** Changed in: apparmor Status: Fix Committed => Fix Released
-- 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/1295346 Title: Python utils lack support for path rules using the file keyword Status in AppArmor Linux application security framework: Fix Released Status in “apparmor” package in Ubuntu: Fix Released Status in “apparmor” source package in Trusty: Fix Released Status in “apparmor” source package in Utopic: Fix Released Bug description: aa.py doesn't support "file," rules and emits a traceback when encountering them: $ mkdir /tmp/profs $ printf "profile file {\n file,\n}" > /tmp/profs/file $ sudo aa-enforce -d /tmp/profs /tmp/profs/file Traceback (most recent call last): File "./aa-enforce", line 30, in <module> tool.cmd_enforce() File "/var/scm/apparmor/utils/apparmor/tools.py", line 153, in cmd_enforce apparmor.read_profiles() File "/var/scm/apparmor/utils/apparmor/aa.py", line 2564, in read_profiles read_profile(profile_dir + '/' + file, True) File "/var/scm/apparmor/utils/apparmor/aa.py", line 2590, in read_profile profile_data = parse_profile_data(data, file, 0) File "/var/scm/apparmor/utils/apparmor/aa.py", line 3063, in parse_profile_data raise AppArmorException(_('Syntax Error: Unknown line found in file: %s line: %s') % (file, lineno + 1)) apparmor.common.AppArmorException: 'Syntax Error: Unknown line found in file: /tmp/profs/file line: 2' To manage notifications about this bug go to: https://bugs.launchpad.net/apparmor/+bug/1295346/+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