[Bug 1295346] Re: Python utils lack support for bare file rules

2014-03-26 Thread MattJ
This is affecting me, as aa-enable keeps bailing out on abstractions
installed by the lxc package:

$ sudo aa-enforce /usr/lib/chromium-browser/chromium-browser 
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 2558, in 
read_profiles
read_profile(profile_dir + '/' + file, True)
  File /usr/lib/python3/dist-packages/apparmor/aa.py, line 2584, in 
read_profile
profile_data = parse_profile_data(data, file, 0)
  File /usr/lib/python3/dist-packages/apparmor/aa.py, line 2914, in 
parse_profile_data
load_include(include_name)
  File /usr/lib/python3/dist-packages/apparmor/aa.py, line 4170, in 
load_include
incdata = parse_profile_data(data, incfile, True)
  File /usr/lib/python3/dist-packages/apparmor/aa.py, line 3031, 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: 
abstractions/lxc/start-container line: 2'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1295346

Title:
  Python utils lack support for bare file rules

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1295346] Re: Python utils lack support for bare file rules

2014-03-26 Thread Tyler Hicks
** Changed in: apparmor
   Status: Triaged = In Progress

** Changed in: apparmor
 Assignee: (unassigned) = Tyler Hicks (tyhicks)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1295346

Title:
  Python utils lack support for bare file rules

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs