getdnsapi / stubby

Stubby is the name given to a mode of using getdns which enables it to act as a local DNS Privacy stub resolver (using DNS-over-TLS).
https://dnsprivacy.org/dns_privacy_daemon_-_stubby/
BSD 3-Clause "New" or "Revised" License
1.17k stars 97 forks source link

Absense of user and service #361

Open andrerferreira opened 1 month ago

andrerferreira commented 1 month ago

Debian 12 There's no entry in /etc/passwd for stubby, there's also no service file (systemd). The expectation was that those would be created when installed by a package manager. Exceptional or rule?

This results in monitoring pollution with shell scripting failures, but worst, it hurts ones eyes (kidding)

Eg: aliensRus@planetEarth: ~# ss -tulnep | grep LISTEN | sudo lsof -i -n -P lsof: no pwd entry for UID 64707 stubby 9194 64707 3u IPv4 38172 0t0 UDP 127.0.0.1:8053 lsof: no pwd entry for UID 64707 stubby 9194 64707 4u IPv4 38173 0t0 TCP 127.0.0.1:8053 (LISTEN) lsof: no pwd entry for UID 64707 stubby 9194 64707 5u IPv6 38174 0t0 UDP [::1]:8053 lsof: no pwd entry for UID 64707 stubby 9194 64707 6u IPv6 38175 0t0 TCP [::1]:8053 (LISTEN)

64707 should be/could be "stubby"

andrerferreira commented 1 month ago

The following files do not have an defined groups ownership: /run/stubby The following files are unowned: /run/stubby