tried the uninstall, and reinstall.
pihole installed as expected. Then ran:
echo "FTLDNS" | sudo tee /etc/pihole/ftlbranch
pihole checkout core FTLDNS
with the result:
[i] Restarting services...
[✓] Starting lighttpd service
[✓] Enabling lighttpd service to start on reboot
[✓] Starting pihole-FTL service
[✓] Enabling pihole-FTL service to start on reboot
[✓] Deleting existing list cache
[✗] DNS service is not running
[✓] Starting DNS service
[✗] DNS resolution is not available
Error: Unable to complete update, please contact support
[✓] Force-reloading DNS service
[✓] DNS service is running
[✓] Pi-hole blocking is Enabled
[i] The install log is located at: /etc/pihole/install.log
Update Complete!
Tried your last comment, but it resulted in the same: DNS not working.
I think it is an permission issue for pihole-FTL. My syslog shows:
pihole pihole-FTL[6476]: dnsmasq: failed to create listening socket for port 53: Permission denied
Jun 19 22:17:18 pihole dnsmasq[6534]: failed to create listening socket for port 53: Permission denied
Jun 19 22:17:18 pihole dnsmasq[6534]: FAILED to start up
does the user that makes the changes have permissions to open sockets on ports <1000?
I've read in another topic, that pihole-FTL is ran by the user 'pihole', not root.?
pi@pihole:~ $ sudo setcap CAP_NET_BIND_SERVICE,CAP_NET_RAW,CAP_NET_ADMIN+eip /usr/bin/pihole-FTL
Failed to set capabilities on file `/usr/bin/pihole-FTL' (Operation not supported)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file
root@pihole:~# setcap CAP_NET_BIND_SERVICE,CAP_NET_RAW,CAP_NET_ADMIN+eip /usr/bin/pihole-FTL
Failed to set capabilities on file `/usr/bin/pihole-FTL' (Operation not supported)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file
Makes me believe, there is something wrong with the pihole-FTL released file?
pi@pihole:~ $ sudo setcap CAP_NET_BIND_SERVICE,CAP_NET_RAW,CAP_NET_ADMIN+eip /usr/bin/pihole-FTL
Failed to set capabilities on file `/usr/bin/pihole-FTL' (Operation not supported)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file
pi@pihole:~ $ ls -lh /usr/bin/pihole-FTL
-rwxr-xr-x 1 root root 1.4M Jun 19 22:28 /usr/bin/pihole-FTL
pi@pihole:~ $ sha1sum /usr/bin/pihole-FTL
cb0b59a1b2fa470c23301767d4002c956426cab7 /usr/bin/pihole-FTL
No, the only curious thing there might be, is that I'm running a remote filesystem over NFS.
pi@pihole:~ $ mount
10.1.1.22:/piroot/pihole_jessie_rfs on / type nfs (rw,noatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.1.1.22,mountvers=3,mountproto=tcp,local_lock=all,addr=10.1.1.22)
I'm now not sure if NFSv3 has Linux Capabilities support? I'll try to upgrade to NFSv4..
@DL6ER, Agree that NFS is the culprit, and to test this theory I have moved my /usr/bin to the SD-card and ran the above command again and that works like a charm! Also possibly my containment for now.