BeryJu / gravity

Fully-replicated DNS and DHCP Server with ad-blocking powered by etcd
https://gravity.beryju.io
GNU General Public License v3.0
499 stars 10 forks source link

Discovery not working #959

Open kb2syd opened 6 months ago

kb2syd commented 6 months ago

Set up subnet of 192.168.0.0/24 Click on the start for discovery. Says it started. If I monitor the logs, I immediatly see {"level":"warn","ts":1710334960.9681299,"logger":"role.discovery","msg":"unable to run nmap scan","instance":"308Route519","version":"0.8.1-b50a27b6","subnet":"308Route519","error":"Couldn't open a raw socket. Error: Operation not permitted (1)"} This is as a TrueNAS chart (from TrueCharts). The only thing that actually seems to be working is the DNS server.

kb2syd commented 5 months ago

Found the issue. App has to run with elevated permissions.