X-Git-Url: https://git.wh0rd.org/?p=home.git;a=blobdiff_plain;f=.bin%2Fgentoo-check-services;h=114ade945805ed5e8457355880766c720b7c304f;hp=3b39c4dccefd6a30d5a5a4222db6b2bd7f009d84;hb=35d72f6fe012cc69da03f893d1d0fc8c1778e88d;hpb=967c0e546a90ce57592f30d2518d58e5aa2f0f0e diff --git a/.bin/gentoo-check-services b/.bin/gentoo-check-services index 3b39c4d..114ade9 100755 --- a/.bin/gentoo-check-services +++ b/.bin/gentoo-check-services @@ -17,6 +17,10 @@ import time IGNORE_PATHS = set(( '/dev/zero', '/etc/ld.so.cache', + '/usr/share/icons/Adwaita/icon-theme.cache', + '/usr/share/icons/gnome/icon-theme.cache', + '/usr/share/icons/hicolor/icon-theme.cache', + '/usr/share/mime/mime.cache', )) @@ -43,6 +47,7 @@ def find_svcs(): # Handle paths with spaces. path = path.lstrip().rsplit(' ', 2)[0] if (path == '/[aio]' or + path.startswith('/memfd:') or path.startswith('/SYSV') or path.startswith('/dev/shm/') or path.startswith('/tmp/')): @@ -74,6 +79,7 @@ SERVICES = { '/usr/sbin/bacula-fd': 'bacula-fd', '/usr/sbin/cron': 'vixie-cron', '/usr/sbin/crond': 'dcron', + '/usr/sbin/ntpd': 'ntpd', '/usr/sbin/snmpd': 'snmpd', '/usr/sbin/sshd': 'sshd', '/usr/sbin/syslog-ng': 'syslog-ng', @@ -81,13 +87,15 @@ SERVICES = { '/usr/bin/daisydog': 'daisydog', '/usr/bin/distccd': 'distccd', '/usr/bin/monit': 'monit', + '/usr/bin/rsync': 'rsyncd', + '/usr/sbin/smbd': 'samba', '/usr/bin/stunnel': 'stunnel', '/usr/bin/tor': 'tor', '/usr/bin/transmission-daemon': 'transmission-daemon', '/usr/bin/mediatomb': 'mediatomb', '/lib/systemd/systemd-udevd': 'udev', '/usr/libexec/nrpe': 'nrpe', - '/usr/libexec/postfix/master': 'postfix', + '//usr/libexec/postfix/master': 'postfix', 'denyhosts.py': 'denyhosts', 'dropbear': 'dropbear', 'galileo': 'galileo',