touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #78130
[Bug 1455236] Re: AppArmor 2.9.2 fails to load multiple profiles
This report is about AppArmor 2.9.2
** Also affects: apparmor
Importance: Undecided
Status: New
** Tags added: aa-tools
--
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/1455236
Title:
AppArmor 2.9.2 fails to load multiple profiles
Status in AppArmor Linux application security framework:
New
Status in apparmor package in Ubuntu:
New
Bug description:
Loading profiles one by one works but this does not:
<pre>
sudo aa-enforce /etc/apparmor.d/torbrowser.*
Setting /etc/apparmor.d/torbrowser.Browser.firefox to enforce mode.
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 2572, in read_profiles
read_profile(profile_dir + '/' + file, True)
File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2598, in read_profile
profile_data = parse_profile_data(data, file, 0)
File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2853, in parse_profile_data
store_list_var(filelist[file]['lvar'], list_var, value, var_operation, file)
File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 3289, in store_list_var
raise AppArmorException(_('Redefining existing variable %(variable)s: %(value)s in %(file)s') % { 'variable': list_var, 'value': value, 'file': filename })
apparmor.common.AppArmorException: 'Redefining existing variable @{LIBVIRT}: libvirt in /etc/apparmor.d/usr.sbin.libvirtd'
</pre>
To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1455236/+subscriptions
References