diff --git a/utils/com.ubuntu.pkexec.aa-notify.policy b/utils/net.apparmor.pkexec.aa-notify.policy similarity index 91% rename from utils/com.ubuntu.pkexec.aa-notify.policy rename to utils/net.apparmor.pkexec.aa-notify.policy index 8920a2962..98aee8a76 100644 --- a/utils/com.ubuntu.pkexec.aa-notify.policy +++ b/utils/net.apparmor.pkexec.aa-notify.policy @@ -4,7 +4,7 @@ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> - + AppArmor: modifying security profile To modify an AppArmor security profile, you need to authenticate. @@ -15,7 +15,7 @@ {LIB_PATH}apparmor/update_profile.py add_rule - + AppArmor: adding userns profile To allow a program to use unprivileged user namespaces, you need to authenticate. @@ -26,7 +26,7 @@ {LIB_PATH}apparmor/update_profile.py create_userns - + AppArmor: Modifying profile from file To modify an AppArmor security profile from file, you need to authenticate. diff --git a/utils/python-tools-setup.py b/utils/python-tools-setup.py index 3f42ee38a..5c3966b36 100644 --- a/utils/python-tools-setup.py +++ b/utils/python-tools-setup.py @@ -68,7 +68,7 @@ class Install(_install): print('changing mode of {} to 755'.format(update_profile_path)) os.chmod(update_profile_path, 0o755) - pkexec_action_name = 'com.ubuntu.pkexec.aa-notify.policy' + pkexec_action_name = 'net.apparmor.pkexec.aa-notify.policy' print('Installing {} to /usr/share/polkit-1/actions/ mode 644'.format(pkexec_action_name)) with open(pkexec_action_name, 'r') as f: polkit_template = f.read()