Package Details: pi-hole-ftl 5.25.2-2

Git Clone URL: https://aur.archlinux.org/pi-hole-ftl.git (read-only, click to copy)
Package Base: pi-hole-ftl
Description: The Pi-hole FTL engine
Upstream URL: https://github.com/pi-hole/FTL
Licenses: EUPL-1.2
Conflicts: dnsmasq
Provides: dnsmasq
Submitter: max.bra
Maintainer: max.bra (graysky)
Last Packager: max.bra
Votes: 56
Popularity: 1.38
First Submitted: 2017-05-07 15:23 (UTC)
Last Updated: 2024-08-10 09:53 (UTC)

Required by (65)

Sources (6)

Pinned Comments

max.bra commented on 2018-02-09 16:46 (UTC) (edited on 2019-10-18 23:13 (UTC) by max.bra)

ArchLinux Pi-hole is not officially supported by Pi-hole project. In case of bugs and malfunctions please DO NOT file a report upstream.

First of all check if the wiki (https://wiki.archlinux.org/index.php/Pi-hole) can help then ask here for assistance and tips.
When it will be excluded that the problem does not depend on ArchLinux we will file a bug upstream.

Latest Comments

« First ‹ Previous 1 .. 15 16 17 18 19 20 21 22 23 24 25 .. 44 Next › Last »

max.bra commented on 2020-07-19 10:29 (UTC)

@314eter can you be more descriptive? i can successfully build from tarball AND yay... GIT_HASH env has nothing to do with FTL compilation...

314eter commented on 2020-07-19 10:10 (UTC)

@max.bra @luizribeiro @Cobra_Fast The problem is that GIT_HASH is empty because the downloaded tarball is not a git repository. This can be solved in arch-ftl-5.1.patch, or by setting the environment vartiable manually before building.

Cobra_Fast commented on 2020-07-18 20:44 (UTC)

@luizribeiro You're right, cloning this package's git and running makepkg from there works. I used a tarball snapshot before, which didn't work. Very peculiar.

Cobra_Fast commented on 2020-07-18 19:10 (UTC)

@luizribeiro I tried both pikaur and makepkg but both run into the same error while building.

hakayova commented on 2020-07-18 18:07 (UTC) (edited on 2020-07-18 18:40 (UTC) by hakayova)

@max.bra: I did not configure systemd or modify anything when I upgraded the pihole and pihole-FTL packages last night using yay. Everything used to work in the previous version, so I assume that the kernel is compiled for that, which is not a custom kernel by the way.

I am reinstalling both pi-hole-server and pi-hole-FTL hoping that this may correct something that may have gone wrong during the upgrade. I will post the results shortly.

Update: After removing both packages and their dependencies (via yay -Rs) and reinstalling them, I got working piholes again. One machine required removing the FTL.lock from /dev/shm as an additional step to work, but I confirm that both of them are functional now. Curiously, my DNS settings did not inherit and defaulted to Google (8.8.8.8 and 8.8.4.4) but it was easy to reconfigure via the web interface.

One last observation: pihole -c reports FTL offline on both machines, although it is not.

luizribeiro commented on 2020-07-18 17:03 (UTC)

Weirdly enough I was able to build on my home server by just checking out the repo and calling makepkg on it. @Cobra_Fast, did you try building it with an AUR utility like pikaur or yay? (I was using pikaur originally)

max.bra commented on 2020-07-18 16:45 (UTC)

@luizribeiro @Cobra_Fast no clue right now...

max.bra commented on 2020-07-18 16:44 (UTC)

@hakayova your systemd does not honor the capabilities requested... do you configure that? is your kernel compiled for that?

luizribeiro commented on 2020-07-18 16:40 (UTC) (edited on 2020-07-18 16:41 (UTC) by luizribeiro)

I'm running into the same issue that Cobra_Fast mentioned below on my main home server (where building 5.1 is exiting with Error 2 after "[ 67%] Built target sqlite3")

However, if I spin up a fresh Vagrant VM with Arch and try building this package, it seems to work. I'll try to debug this a little bit further over the weekend.

hakayova commented on 2020-07-18 14:56 (UTC)

Hi all,

I just upgraded to the latest version of pihole-FTL and it stopped working as it should. The system service is up and running but with errors that prevent normal functioning. Here is the output of pihole-FTL debug:

[2020-07-18 09:47:51.660 12603M] Using log file /run/log/pihole-ftl/pihole-FTL.log [2020-07-18 09:47:51.660 12603M] ########## FTL started! ########## [2020-07-18 09:47:51.660 12603M] FTL branch: master [2020-07-18 09:47:51.661 12603M] FTL version: 5.1 [2020-07-18 09:47:51.661 12603M] FTL commit: 1021734 [2020-07-18 09:47:51.661 12603M] FTL date: 2020-07-17 [2020-07-18 09:47:51.661 12603M] FTL user: pihole [2020-07-18 09:47:51.661 12603M] Compiled for x86_64 (compiled locally) using cc (GCC) 10.1.0 [2020-07-18 09:47:51.661 12603M] Starting config file parsing (/etc/pihole/pihole-FTL.conf) [2020-07-18 09:47:51.662 12603M] SOCKET_LISTENING: only local [2020-07-18 09:47:51.662 12603M] AAAA_QUERY_ANALYSIS: Show AAAA queries [2020-07-18 09:47:51.662 12603M] MAXDBDAYS: max age for stored queries is 365 days [2020-07-18 09:47:51.662 12603M] RESOLVE_IPV6: Resolve IPv6 addresses [2020-07-18 09:47:51.662 12603M] RESOLVE_IPV4: Resolve IPv4 addresses [2020-07-18 09:47:51.663 12603M] DBINTERVAL: saving to DB file every minute [2020-07-18 09:47:51.663 12603M] DBFILE: Using /etc/pihole/pihole-FTL.db [2020-07-18 09:47:51.663 12603M] MAXLOGAGE: Importing up to 24.0 hours of log data [2020-07-18 09:47:51.663 12603M] PRIVACYLEVEL: Set to 0 [2020-07-18 09:47:51.664 12603M] IGNORE_LOCALHOST: Show queries from localhost [2020-07-18 09:47:51.664 12603M] BLOCKINGMODE: Null IPs for blocked domains [2020-07-18 09:47:51.664 12603M] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries [2020-07-18 09:47:51.664 12603M] DBIMPORT: Importing history from database [2020-07-18 09:47:51.664 12603M] PIDFILE: Using /run/pihole-ftl-FTL.pid [2020-07-18 09:47:51.665 12603M] SOCKETFILE: Using /run/pihole-ftl/FTL.sock [2020-07-18 09:47:51.665 12603M] SETUPVARSFILE: Using /etc/pihole/setupVars.conf [2020-07-18 09:47:51.665 12603M] MACVENDORDB: Using /etc/pihole/macvendor.db [2020-07-18 09:47:51.665 12603M] GRAVITYDB: Using /etc/pihole/gravity.db [2020-07-18 09:47:51.665 12603M] PARSE_ARP_CACHE: Active [2020-07-18 09:47:51.666 12603M] CNAME_DEEP_INSPECT: Active [2020-07-18 09:47:51.666 12603M] DELAY_STARTUP: No delay requested. [2020-07-18 09:47:51.666 12603M] NICE: Cannot change niceness to -10 (permission denied) [2020-07-18 09:47:51.666 12603M] BLOCK_ESNI: Enabled, blocking _esni.{blocked domain} [2020-07-18 09:47:51.666 12603M] NAMES_FROM_NETDB: Enabled, trying to get names from network database [2020-07-18 09:47:51.667 12603M] Finished config file parsing [2020-07-18 09:47:51.670 12603M] Database version is 6 [2020-07-18 09:47:51.670 12603M] Database successfully initialized [2020-07-18 09:47:51.671 12603M] New upstream server: 8.8.4.4 (0/128) [2020-07-18 09:47:51.671 12603M] New upstream server: 8.8.8.8 (1/128) [2020-07-18 09:47:51.673 12603M] Resizing "/FTL-strings" from 4096 to 8192 [2020-07-18 09:47:51.678 12603M] Resizing "/FTL-strings" from 8192 to 12288 [2020-07-18 09:47:51.687 12603M] Resizing "/FTL-queries" from 262144 to 524288 [2020-07-18 09:47:51.689 12603M] Resizing "/FTL-strings" from 12288 to 16384 [2020-07-18 09:47:51.709 12603M] Resizing "/FTL-queries" from 524288 to 786432 [2020-07-18 09:47:51.712 12603M] Resizing "/FTL-strings" from 16384 to 20480 [2020-07-18 09:47:51.727 12603M] Resizing "/FTL-queries" from 786432 to 1048576 [2020-07-18 09:47:51.731 12603M] Imported 12726 queries from the long-term database [2020-07-18 09:47:51.732 12603M] -> Total DNS queries: 12726 [2020-07-18 09:47:51.732 12603M] -> Cached DNS queries: 7126 [2020-07-18 09:47:51.732 12603M] -> Forwarded DNS queries: 4764 [2020-07-18 09:47:51.732 12603M] -> Blocked DNS queries: 818 [2020-07-18 09:47:51.732 12603M] -> Unknown DNS queries: 18 [2020-07-18 09:47:51.733 12603M] -> Unique domains: 711 [2020-07-18 09:47:51.733 12603M] -> Unique clients: 10 [2020-07-18 09:47:51.733 12603M] -> Known forward destinations: 2 [2020-07-18 09:47:51.733 12603M] Successfully accessed setupVars.conf [2020-07-18 09:47:51.733 12603M] ********** [2020-07-18 09:47:51.734 12603M] * WARNING: Required Linux capability CAP_NET_ADMIN not available * [2020-07-18 09:47:51.734 12603M] ********** [2020-07-18 09:47:51.734 12603M] ********** [2020-07-18 09:47:51.734 12603M] * WARNING: Required Linux capability CAP_NET_RAW not available * [2020-07-18 09:47:51.734 12603M] ********** [2020-07-18 09:47:51.734 12603M] ********** [2020-07-18 09:47:51.734 12603M] * WARNING: Required Linux capability CAP_NET_BIND_SERVICE not available * [2020-07-18 09:47:51.735 12603M] ********** [2020-07-18 09:47:51.735 12603M] ********** [2020-07-18 09:47:51.735 12603M] * WARNING: Required Linux capability CAP_SYS_NICE not available * [2020-07-18 09:47:51.735 12603M] **********

dnsmasq: failed to create listening socket for port 53: Permission denied

pihole.pid file cannot be written either based on journalctl output, which is not pasted here and iI am thinking that it is due to some of those required linux capabilities not being available. Any pointers will be appreciated.