Seems that this patch is quite outdated: vincas@debian-sid:/tmp/apparmor-2.12$ patch -p1 < /home/vincas/Downloads/python-utils-var-append-in-include-support.patch patching file utils/apparmor/aa.py Hunk #1 FAILED at 2636. Hunk #2 FAILED at 2836. Hunk #3 FAILED at 2979. Hunk #4 FAILED at 2987. Hunk #5 FAILED at 3263. Hunk #6 FAILED at 3274. Hunk #7 FAILED at 4113. Hunk #8 succeeded at 3516 with fuzz 2 (offset -993 lines). Hunk #9 FAILED at 4517. 8 out of 9 hunks FAILED -- saving rejects to file utils/apparmor/aa.py.rej
Well, author mentioned that it was developed on 2.8.95, so no big surprise I guess... -- 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/1331856 Title: apparmor-utils don't work when defining a variable on <tunables/home.d> Status in AppArmor: Triaged Status in apparmor package in Ubuntu: New Bug description: When a variable is set in tunables/home.d/ the apparmor-utils programs don't work and return this error messages: root@ws24:~# aa-logprof Traceback (most recent call last): File "/usr/sbin/aa-logprof", line 50, in <module> apparmor.loadincludes() File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 4643, in loadincludes load_include(fi) File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 4520, in load_include incdata = parse_profile_data(data, incfile, True) File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 2839, in parse_profile_data store_list_var(profile_data[profile]['lvar'], list_var, value, var_operation) File "/usr/lib/python3/dist-packages/apparmor/aa.py", line 3279, in store_list_var raise AppArmorException(_('Values added to a non-existing variable: %s') % list_var) apparmor.common.AppArmorException: 'Values added to a non-existing variable: @{HOMEDIRS}' root@ws24:~# To manage notifications about this bug go to: https://bugs.launchpad.net/apparmor/+bug/1331856/+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