Open pecastro opened 3 years ago
Same here.
I set cachedir
to something writable by the useraccount running this.
What is missing here is the logs produced. The child process will attempt to log to syslog. This will typically end up in /var/log/syslog or /var/log/messages depending on the particular distro you are running.
Please provide this information. Lists provided are a moving target so the logs tell you when things go outside of the boundaries set. From there you can decide if you want to adjust the boundaries allowed or some other action.
Still the same with the latest master.
$ rm -rf bindRPZ/; ./py-hole-bind9RPZ -c py-hole-bind9RPZ_config.yaml
py-hole-bind9RPZ[1237086]: INFO - begin updating blocklists...
py-hole-bind9RPZ[1237086]: INFO - Creating cache directory: bindRPZ
py-hole-bind9RPZ[1237086]: INFO - processing https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
py-hole-bind9RPZ[1237086]: DEBUG - expire due to configured maximum cache time
py-hole-bind9RPZ[1237086]: INFO - fecthing (no or expired cache)
py-hole-bind9RPZ[1237086]: ERROR - Fetch sanity check failed
py-hole-bind9RPZ[1237086]: ERROR - child[1237089]: Content-Length header > sane_size_max: 2838532 > 2097152
py-hole-bind9RPZ[1237086]: INFO - processing https://urlhaus.abuse.ch/downloads/rpz/
py-hole-bind9RPZ[1237086]: DEBUG - expire due to configured maximum cache time
py-hole-bind9RPZ[1237086]: INFO - fecthing (no or expired cache)
py-hole-bind9RPZ[1237086]: DEBUG - Writing file: bindRPZ/bindRPZcache-urlhaus.abuse.ch_downloads_rpz_
py-hole-bind9RPZ[1237086]: ERROR - Cache file is missing (never successfully fetched?): bindRPZ/bindRPZcache-raw.githubusercontent.com_StevenBlack_hosts_master_hosts
Cache file is missing (never successfully fetched?): bindRPZ/bindRPZcache-raw.githubusercontent.com_StevenBlack_hosts_master_hosts
As I mentioned in issue #7 there is something more at play rather than a simple config file issue. At the very least, the vanilla config file provided is broken.
I fresh clone from your repo where the only changes done are the ones described below such that I could run the script as myself and on a host that is not running BIND triggers an error.
I understand it Works On Your Machine. I'm just reporting that it doesn't work on mine out of the box...