Bug #4243

Last squidguard update prevents squid from starting

Added by Volker Kuhlmann about 6 years ago. Updated about 5 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Affected Version:
Affected Architecture:


I don't believe I am seeing a package update breaking things completely...

squidguard 1.4_4 pkg v.1.9.9 introduces illegal directives into the squid 2.7.9 pkg v.4.3.4 config file. For some reason, on boot or after installing the package, squid still starts up - although a fatal error is logged. When changing the configuration the change never becomes active because some safety mechanism prevents the running squid from being stopped, to avoid it not running afterwards. After stopping it squid can no longer be started.

Both these packages are marked as "stable", the rest of squid/squidguard for pfsense is all "beta".
Together with problems in not being fixed that render squidguard useless by effectively bypassing it the "stable" status is best changed to "junk level". This is not pfsense quality :-(
Please test changes and pay attention to the log files before committing changes. ;-)

Patch attached.

squidguard-fix-directives.diff (896 Bytes) squidguard-fix-directives.diff Patch with fix Volker Kuhlmann, 01/19/2015 02:54 PM


#1 Updated by Volker Kuhlmann about 6 years ago

The problem appears to be more complex than I first thought.
In a fresh install into virtualbox with squid 2.x and squidguard squid at least starts up and the squidguard processes are running, but it still gives an error:

  1. squid -k reconfigure
    2015/01/22 10:14:14| parseConfigFile: squid.conf:65 unrecognized: 'url_rewrite_bypass'

I find it somewhat hard to believe that and old version squid would execute a new version config command as well as complain about it.

In my in-serivice pfsense system I updated the squidguard package and had some trouble, so I reinstalled both squid and squidguard and ended up with a system where squid would die with an error about the url_rewrite_program directive but run when I changed that back to the old name.

Yes it would be good to have a single squidguard package, but would it be possible to adapt to the running squid version and configure accordingly?
How much is the squid 2.x still needed or can squis 3.x now take its place?

#2 Updated by Kill Bill over 5 years ago

Someone kindly remove the dead, unmaintained and unsupported Squid2 package for 2.2+ and consider this fixed with

#3 Updated by Chris Buechler about 5 years ago

  • Status changed from New to Resolved
  • Priority changed from Very High to Normal

Also available in: Atom PDF