I have a shell environment library where I maintain all types of checks and helpers functions for my bash/zsh environments (Linux and macOS). I like that periodic checks automatically inspect my OS' functionalities so that I don't forget certain things and always keep everything fresh.
Today I was running some service things on my Raspberry and when listing all services with systemctl list-units --type=service --all
I noticed some failures and not-found
entries. The failures were easy to clean because they were non-well-cleaned old pihole and vsftpd service files. But how should I approach the not-found
ones? Are there certain ones to simply ignore or generate basic service files for them?
pi@raspberrypi [130] % systemctl list-units --type=service --all | grep "not-found"
● auditd.service not-found inactive dead auditd.service
● console-screen.service not-found inactive dead console-screen.service
● exim4.service not-found inactive dead exim4.service
● firewalld.service not-found inactive dead firewalld.service
● gssproxy.service not-found inactive dead gssproxy.service
● kbd.service not-found inactive dead kbd.service
● mountkernfs.service not-found inactive dead mountkernfs.service
● NetworkManager.service not-found inactive dead NetworkManager.service
● nfs-blkmap.service not-found inactive dead nfs-blkmap.service
● nfs-server.service not-found inactive dead nfs-server.service
● nslcd.service not-found inactive dead nslcd.service
● sendmail.service not-found inactive dead sendmail.service
● sssd.service not-found inactive dead sssd.service
● systemd-update-done.service not-found inactive dead systemd-update-done.service
● systemd-vconsole-setup.service not-found inactive dead systemd-vconsole-setup.service
● ypbind.service not-found inactive dead ypbind.service