From 4961fcb6bae9b49c3c82f1fc02ee89c95b98c3ad Mon Sep 17 00:00:00 2001 From: Goldwyn Rodrigues Date: Wed, 25 Oct 2017 21:54:57 +0200 Subject: [PATCH] Fix crash in serialize_profile_from_old_profile() The crash was caused by the more strict ProfileStorage in bzr trunk (older versions use hasher() which is more forgiving, but also very "useful" to hide quite some bugs) Acked-by: Christian Boltz --- utils/apparmor/aa.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/apparmor/aa.py b/utils/apparmor/aa.py index 86ec18595..47fd3aa12 100644 --- a/utils/apparmor/aa.py +++ b/utils/apparmor/aa.py @@ -2997,11 +2997,11 @@ def serialize_profile_from_old_profile(profile_data, name, options): 'capability': False, 'network': False, 'dbus': False, - 'mount': True, # not handled otherwise yet + 'mount': False, 'signal': True, # not handled otherwise yet 'ptrace': True, # not handled otherwise yet - 'pivot_root': True, # not handled otherwise yet - 'unix': True, # not handled otherwise yet + 'pivot_root': False, + 'unix': False, 'link': False, 'file': False, 'change_profile': False,