'''apport package hook for udev (c) 2009 Canonical Ltd. Author: Martin Pitt <martin.pitt@ubuntu.com> ''' import os import apport.hookutils def add_info(report): apport.hookutils.attach_hardware(report) user_rules = [] for f in os.listdir('/etc/udev/rules.d'): if not f.startswith('70-persistent-') and f != 'README': user_rules.append(f) if user_rules: report['CustomUdevRuleFiles'] = ' '.join(user_rules)
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
cloud-init.py | File | 176 B | 0644 |
|
cryptsetup.py | File | 1.06 KB | 0644 |
|
isc-dhcp-client.py | File | 1.75 KB | 0644 |
|
openssh-client.py | File | 1.18 KB | 0644 |
|
openssh-server.py | File | 1004 B | 0644 |
|
source_apparmor.py | File | 2.72 KB | 0644 |
|
source_plymouth.py | File | 1.44 KB | 0644 |
|
source_shadow.py | File | 720 B | 0644 |
|
source_sudo.py | File | 1.13 KB | 0644 |
|
systemd.py | File | 871 B | 0644 |
|
udev.py | File | 455 B | 0644 |
|