| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 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 ntpsec (c) 2010-2011 Canonical Ltd. Author: Chuck Short <zulcss@ubuntu.com> ''' from apport.hookutils import * from os import path import re def add_info(report): attach_conffiles(report, 'ntpsec') # get apparmor stuff attach_mac_events(report, '/usr/sbin/ntpd') attach_file(report, '/etc/apparmor.d/usr.sbin.ntpd') # get syslog stuff recent_syslog(re.compile(r'ntpd\[')) # Get debug information report['NtpStatus'] = command_output(['ntpq', '-p'])