/usr/share/apport/package-hooks/cryptsetup.py is in cryptsetup 2:1.6.6-5ubuntu2.
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 | '''apport package hook for cryptsetup
(c) 2009 Author: Reinhard Tartler <siretart@tauware.de>
'''
from apport.hookutils import *
def add_info(report):
attach_file(report, '/etc/fstab', 'fstab')
attach_file_if_exists(report, '/etc/crypttab', 'crypttab')
|