diff options
author | doktornotor <notordoktor@gmail.com> | 2015-10-12 14:03:55 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-10-12 14:03:55 +0200 |
commit | 728cff6789e918203f45b5c85e2b823f00f1b3bf (patch) | |
tree | a16bd69be301c8fc67c33c02163a2ea748fdf776 /config/squid3/34 | |
parent | 5a1d66e56c464ed5438b20f3c9b48935cef99c15 (diff) | |
download | pfsense-packages-728cff6789e918203f45b5c85e2b823f00f1b3bf.tar.gz pfsense-packages-728cff6789e918203f45b5c85e2b823f00f1b3bf.tar.bz2 pfsense-packages-728cff6789e918203f45b5c85e2b823f00f1b3bf.zip |
Futile attempt to make a fool-proof log message explaining that AV doesn't run without defs
Diffstat (limited to 'config/squid3/34')
-rw-r--r-- | config/squid3/34/squid_antivirus.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/squid3/34/squid_antivirus.inc b/config/squid3/34/squid_antivirus.inc index ce8c618d..9a678fa9 100644 --- a/config/squid3/34/squid_antivirus.inc +++ b/config/squid3/34/squid_antivirus.inc @@ -758,9 +758,11 @@ function squid_restart_antivirus() { // Check clamav database if (count(glob("/var/db/clamav/*d")) == 0) { log_error("[squid] Missing /var/db/clamav/*.cvd or *.cld files. Running freshclam in background."); + log_error("[squid] Do NOT attempt to start ClamAV service until AV definitions are downloaded. Check /var/log/clamav/freshclam.log for progress information."); squid_update_clamav(); } elseif ($antivirus_config['clamav_safebrowsing'] == "on" && !is_file("/var/db/clamav/safebrowsing.cvd")) { log_error("[squid] Google Safe Browsing is enabled but missing safebrowsing.cvd definitions. Running freshclam in background."); + log_error("[squid] ClamAV will be automatically notified about the new definitions when finished. No manual action necessary."); squid_update_clamav(); } elseif ($antivirus_config['clamav_safebrowsing'] != "on" && is_file("/var/db/clamav/safebrowsing.cvd")) { log_error("[squid] Google Safe Browsing is disabled. Removing safebrowsing.cvd definitions."); |