@pato05: Did you add..
ReadWritePaths = /etc/pihole
ReadWritePaths = /srv/http/pihole
...to php-fpm.service
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: | 112 |
Popularity: | 0.134716 |
First Submitted: | 2016-01-13 12:50 (UTC) |
Last Updated: | 2024-08-10 12:32 (UTC) |
« First ‹ Previous 1 .. 16 17 18 19 20 21 22 23 24 25 26 .. 82 Next › Last »
@pato05: Did you add..
ReadWritePaths = /etc/pihole
ReadWritePaths = /srv/http/pihole
...to php-fpm.service
Hi! I installed it and did a bit of configuration, everything seems to be working and I can access the web interface (using nginx), but I can't actually edit any of the settings... I gave the http user all the needed permissions, but still, I can't change the settings... Any help?
@Taijian : Great it works! Sorry i didn't understand it was in the php-fpm.service file..My bad.
@wdiz: In the end, I just did exactly what I wrote earlier: I simply removed the CapabilityBoundingSet=
line in my php-fpm.service file. That fixed the issue for me, after first going through all the other steps that @max.bra kindly walked me through and not finding anything there.
@Taijian i do have the same issue but i can't manage to fix it. Can tell me more about files you modified ? Thx
@Taijian glad you solved. see you next time. :-)
@max.bra @setboolean: Thank you both for your help, I finally figured it out... Turns out, my php-fpm.service drop-in was too restrictive in the rights I was granting that service. It used to work with the restrictions in place, but now that it was trying to execute lsof with sudo, it no longer did because that got blocked by my CapabilityBoundingSet=
settings. I commented that out and now it works again.
So, the important part for everyone reading this and the maintainers: The problem was entirely on my end, nothing to worry about for everyone else. Thank you again for the help!
@Taijian @max.bra Hmmm strange, if pihole status and the API api.php?summaryRaw both report enabled the sudoers file should work as expected.
@Taijian or better: is your final part of your /etc/sudoers lihe this?
## Read drop-in files from /etc/sudoers.d
@includedir /etc/sudoers.d
edit: darn markdown!!
@Taijian: no no no, http user cannot lsof directly, by web interface exec pihole script with sudo. is your sudoers.d/pihole over there?
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.