Comment 8 for bug 924739

Revision history for this message
Adam Gandelman (gandelman-a) wrote : Re: after upgrade from oneiric to precise squid only returns 403

@Jean-Baptiste:

The issue is that precise has transitioned to squid3. The new location for squid.conf is /etc/squid3/squid.conf. After upgrade, squid(3) was restarted using the default packaged config that was installed at /etc/squid3/squid.conf after update. Replacing /etc/squid3/squid.conf with yours, I squid3 restarted and read the correct config, however, there were still some issues:

# squid3 -N
2012/02/03 19:26:02| WARNING: (B) '::/0' is a subnetwork of (A) '::/0'
2012/02/03 19:26:02| WARNING: because of this '::/0' is ignored to keep splay tree searching predictable
2012/02/03 19:26:02| WARNING: You should probably remove '::/0' from the ACL named 'all'
2012/02/03 19:26:02| ERROR: Directive 'upgrade_http0.9' is obsolete.
2012/02/03 19:26:02| cache_cf.cc(381) parseOneConfigFile: squid.conf:2993 unrecognized: 'broken_vary_encoding'
2012/02/03 19:26:02| ERROR: Directive 'extension_methods' is obsolete.

IIRC, 'broken_vary_encoding' has been removed from valid config options in squid3. Commenting out line 2993 your config (now located at /etc/squid3/squid.conf) got squid back up and running as a functional proxy.

I'm going to update bug topic and raise to Critical because transition problems like these are going to cause considerable pain for anyone dependent on a squid for normal operation.