Just run it in a container and none of this matters.
Pi-Hole's docker version was not a well done container 3 years ago when I implemented this solution. It was by no means a good idea at the time.
Well I just meant going forward.
That gets into different issues since Fedora went with podman. I haven't done much tinkering with it yet to see how compatible things are.
It's a drop in replacement. It doesn't use the Docker socket so you can't use things like docker-compose, but I don't necessarily see that as a bad thing. Any normal tasks should be the same. There's people who have said they aliased podman to docker and never noticed a difference.