| Server IP : 167.99.254.82 / Your IP : 216.73.216.188 Web Server : Apache System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/apport/package-hooks/ |
Upload File : |
'''apport package hook for clamav
(c) 2012 Canonical Ltd.
Author: Marc Deslauriers <marc.deslauriers@canonical.com>
'''
from apport.hookutils import *
def add_info(report):
# Get configuration files
attach_conffiles(report, 'clamav-freshclam')
attach_conffiles(report, 'clamav-daemon')
attach_file_if_exists(report, '/etc/clamav/clamd.conf')
attach_file_if_exists(report, '/etc/clamav/freshclam.conf')
# Get apparmor logs
attach_mac_events(report, ['/usr/bin/freshclam', '/usr/sbin/clamd'])