Копирую профиль:
cp /usr/share/apparmor/extra-profiles/usr.lib.firefox.firefox /etc/apparmor.d/Запускаю профиль в режиме enforce:
aa-enforce /etc/apparmor.d/usr.lib.firefox.firefoxВылезают ошибки про Python-скрипт — https://pastebin.com/1aydeQ0U.
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.Как подружить AppArmor и Python?

