atril: add custom apparmor profile for atril

This commit is contained in:
Luis Guzmán 2024-12-06 15:40:29 +00:00
parent dc5da8840f
commit c3ad925bce
5 changed files with 561 additions and 0 deletions

View file

@ -0,0 +1,21 @@
'''apport package hook for atril
(c) 2024 Luis Guzmán
Author:
Luis Guzmán <ark@switnet.org>
based on evince's hook
'''
from apport.hookutils import *
from os import path
import re
def add_info(report):
attach_conffiles(report, 'atril')
attach_related_packages(report, ['apparmor', 'libapparmor1',
'libapparmor-perl', 'apparmor-utils', 'auditd', 'libaudit1'])
attach_mac_events(report, ['/usr/bin/atril',
'/usr/bin/atril-previewer',
'/usr/bin/atril-thumbnailer'])