I had to change some of the PHP invocations of pihole
to /usr/bin/pihole
for sudo to allow it and fix things like querying the block lists. I'm guessing this is related to PHP not expanding pihole
to the full command path like a shell would and only /usr/bin/pihole
being allowed in the sudoers file?
Search Criteria
Package Details: pi-hole-server 5.18.4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/pi-hole-server.git (read-only, click to copy) |
---|---|
Package Base: | pi-hole-server |
Description: | The Pi-hole is an advertising-aware DNS/Web server. Arch adaptation for lan wide DNS server. |
Upstream URL: | https://github.com/pi-hole/pi-hole |
Keywords: | ad block pi-hole |
Licenses: | EUPL-1.2 |
Conflicts: | pi-hole-standalone |
Submitter: | max.bra |
Maintainer: | max.bra (graysky) |
Last Packager: | max.bra |
Votes: | 115 |
Popularity: | 1.68 |
First Submitted: | 2016-01-13 12:50 (UTC) |
Last Updated: | 2025-01-16 11:35 (UTC) |
Dependencies (18)
- bc (bc-ghAUR)
- bind-tools (bind-gitAUR, bind)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR)
- iproute2 (iproute2-gitAUR, busybox-coreutilsAUR, iproute2-selinuxAUR)
- jq (jaq-binAUR, jq-gitAUR)
- logrotate (logrotate-gitAUR, logrotate-selinuxAUR)
- lsof (lsof-gitAUR)
- netcat (nmap-netcatAUR, openbsd-netcat-gitAUR, gnu-netcat-svnAUR, gnu-netcat, openbsd-netcat)
- perl (perl-gitAUR)
- pi-hole-ftlAUR
- procps-ng (busybox-coreutilsAUR, procps-ng-gitAUR)
- sudo (fake-sudoAUR, polkit-fakesudoAUR, sudo-gitAUR, doas-sudo-shimAUR, doas-sudo-shim-minimalAUR, sudo-hgAUR, fudo-gitAUR, sudo-selinuxAUR)
- git (git-gitAUR, git-glAUR) (make)
- lighttpd (optional) – a secure, fast, compliant and very flexible web-server
- nginx-mainline (nginx-quic-openssl-hgAUR, nginx-quic-libresslAUR) (optional) – lightweight http server
- php-cgi (optional) – CGI and FCGI SAPI for PHP needed only for lighttpd
- php-fpm (optional) – FastCGI process manager for php needed for nginx
- php-sqlite (optional) – sqlite db access for nginx
Required by (2)
- padd-git
- pi-hole-whitelist-git (optional)
Sources (15)
- 01-pihole.conf
- https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-5.21-1.patch
- https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-5.18.4-1.patch
- lighttpd.pi-hole.conf
- mimic_basic-install.sh
- mimic_setupVars.conf.sh
- nginx.pi-hole.conf
- pi-hole-gravity.service
- pi-hole-gravity.timer
- pi-hole-logtruncate.service
- pi-hole-logtruncate.timer
- pi-hole-server-admin-5.21.tar.gz
- pi-hole-server-core-5.18.4.tar.gz
- pi-hole.tmpfile
- piholeDebug.sh
Latest Comments
« First ‹ Previous 1 .. 23 24 25 26 27 28 29 30 31 32 33 .. 83 Next › Last »
Noctem commented on 2020-07-17 22:29 (UTC)
eh8 commented on 2020-07-16 05:54 (UTC)
I beg you to release v5.1 so I can gaze longingly at my bar graphs under the refreshing shade of the newly released dark theme.
max.bra commented on 2020-07-11 23:10 (UTC)
TheHardew commented on 2020-07-11 22:38 (UTC) (edited on 2020-07-11 22:38 (UTC) by TheHardew)
Please add patch to dependencies, failed in prepare without.
DanSman commented on 2020-06-20 23:10 (UTC) (edited on 2020-06-20 23:21 (UTC) by DanSman)
Can you guys add more lists/links to adlists.list? It doesn't get updated. It sticks to
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://mirror1.malwaredomains.com/files/justdomains
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://v.firebog.net/hosts/Admiral.txt
after pihole -g
Edit:
SOLVED!
I've forgotten to use -r
pihole -g -r
deemon commented on 2020-06-19 22:35 (UTC)
what are those new configuration options and do we really need them?:
bogus-priv
addn-hosts=/etc/pihole/custom.list
domain-needed
and why we don't need anymore?:
addn-hosts=/etc/pihole/gravity.list
addn-hosts=/etc/pihole/black.list
max.bra commented on 2020-06-19 06:26 (UTC)
hi ly50247, thanks for reporting!
ly50247 commented on 2020-06-19 02:10 (UTC)
dnsmasq.include should include addn-hosts=/etc/pihole/custom.list
https://github.com/pi-hole/pi-hole/blob/master/advanced/01-pihole.conf
samsa commented on 2020-06-07 11:30 (UTC) (edited on 2020-07-03 19:48 (UTC) by samsa)
I have problems with the permissions of the "/dev/shm/FTL-*" files. After reboot they are set to "root:root" and pihole works just for a short time and then stops resolving DNS queries with "Lost connection to API" on the web-UI. I have to manually chown the files to "pihole:pihole" and restart the service for the server to work reliably. Also all query data is lost every time I reboot the system or restart the pihole-FTL.service. Does anyone has a solution?
EDIT: Still have that problem. Can someone please tell me the standard permissions for /dev/shm/FTL-* ? I do not know if they have to be root:root. All problems are gone when I chown them to pihole:pihole and restart pihole-FTL.service.
Edit2: Can someone please tell me the output of "ls -l /dev/shm/FTL-*"?
Pinned Comments
max.bra commented on 2018-02-09 16:45 (UTC) (edited on 2019-10-18 23:14 (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.