/usr/share/apport/package-hooks/source_libvirt.py is in libvirt-daemon 4.0.0-1ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | '''apport package hook for libvirt source package
(c) 2009-2011 Canonical Ltd.
Author:
Jamie Strandboge <jamie@ubuntu.com>
'''
from apport.hookutils import *
from os import path
import re
def add_info(report):
attach_conffiles(report, 'libvirt-bin')
attach_related_packages(report, ['apparmor', 'libapparmor1',
'libapparmor-perl', 'apparmor-utils', 'auditd', 'libaudit0'])
# get apparmor stuff.
attach_mac_events(report, ['/usr/lib/libvirt/virt-aa-helper',
'/usr/sbin/libvirtd',
'libvirt-.*'])
|