Skip to content

Fix: Imposible to add more domains to whitelist or blocklist when using NFS #130

Answered by MoJo2600
MoJo2600 asked this question in Q&A
Discussion options

You must be logged in to vote

Fixed!

The problem is in the NFS server configuration!

TL;DR:

Remove --manage-gids from the RPCMOUNTDOPTS in the file /etc/default/nfs-kernel-server on the NFS server and restart the nfs-kernel-server service.

Research

So I found out that if user www-data had pihole as the primary group, I was able to write the gravity.db. As soon as I made www-data primary again and pihole the secondary group again, the permission was denied. However, if I did the same on the NFS server (by adding group 999 as a secondary group to user www-data), all was fine!

So now I knew it had to do something with the NFS communication. After some DuckDuckGo-ing I found this quote:
NFS permission problem with seconda…

Replies: 1 comment

Comment options

MoJo2600
Jan 28, 2021
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by MoJo2600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant