touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #24854
[Bug 1325109] Re: Python tools don't understand 'unmount' directive
** Also affects: apparmor (Ubuntu Trusty)
Importance: Undecided
Status: New
** Also affects: apparmor (Ubuntu Utopic)
Importance: Medium
Assignee: Marc Deslauriers (mdeslaur)
Status: Triaged
** Changed in: apparmor (Ubuntu Trusty)
Importance: Undecided => Medium
** Changed in: apparmor (Ubuntu Trusty)
Status: New => Triaged
** Changed in: apparmor (Ubuntu Trusty)
Assignee: (unassigned) => Marc Deslauriers (mdeslaur)
** Changed in: apparmor (Ubuntu Utopic)
Assignee: Marc Deslauriers (mdeslaur) => (unassigned)
** Changed in: apparmor (Ubuntu Utopic)
Status: Triaged => 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/1325109
Title:
Python tools don't understand 'unmount' directive
Status in AppArmor Linux application security framework:
Fix Committed
Status in “apparmor” package in Ubuntu:
Fix Released
Status in “apparmor” source package in Trusty:
Triaged
Status in “apparmor” source package in Utopic:
Fix Released
Bug description:
If one has a rule like 'unmount,' anywhere in policy this will cause
tools like aa-genprof and aa-enforce to throw errors:
Traceback (most recent call last):
File "/usr/sbin/aa-enforce", line 30, in <module>
tool.cmd_enforce()
File "/usr/lib/python3/dist-packages/apparmor/tools.py", line 153, in cmd_enforce
apparmor.read_profiles()
File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2564, in read_profiles
read_profile(profile_dir + '/' + file, True)
File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2590, in read_profile
profile_data = parse_profile_data(data, file, 0)
File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 3199, 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: /etc/apparmor.d/usr.local.bin.foo line: 19'
To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1325109/+subscriptions