[Bug 1103362] [NEW] Precise: Squid3 does not start if ACL's require DNS lookups
Arrigo Marchiori
1103362 at bugs.launchpad.net
Wed Jan 23 08:30:12 UTC 2013
Public bug reported:
On Precise, squid3 is started by a upstart job, while bind9 is not.
This causes problem if squid3 needs to do DNS lookups when parsing its configuration file.
Example: the same machine is a DNS server and a proxy.
The file /etc/squid3/squid.conf contains the following line:
acl myacl src host.name
The bind9 service would be able to resolve host.name, but it may not be
started before squid3. If this happens, squids logs the following error
messages:
[...]
squid3: Bungled squid.conf line 727: acl myacl src host.name
[ 7167.978333] init: squid3 main process (4637) terminated with status 1
[ 7167.978363] init: squid3 main process ended, respawning
squid3: Bungled squid.conf line 727: acl myacl src host.name
[ 7167.995068] init: squid3 main process (4643) terminated with status 1
[ 7167.995098] init: squid3 main process ended, respawning
squid3: Bungled squid.conf line 727: acl myacl src host.name
[ 7168.012017] init: squid3 main process (4649) terminated with status 1
[ 7168.012047] init: squid3 respawning too fast, stopped
This problem consistently appears on my system.
# dpkg-query -l | grep squid
ii squid 3.1.19-1ubuntu3.12.04.1 dummy transitional package from squid to squid3
ii squid-langpack 20111114-1 Localized error pages for Squid
ii squid3 3.1.19-1ubuntu3.12.04.1 Full featured Web Proxy cache (HTTP proxy)
ii squid3-common 3.1.19-1ubuntu3.12.04.1 Full featured Web Proxy cache (HTTP proxy) - common files
# dpkg-query -l | grep bind9
ii bind9 1:9.8.1.dfsg.P1-4ubuntu0.5 Internet Domain Name Server
ii bind9-host 1:9.8.1.dfsg.P1-4ubuntu0.5 Version of 'host' bundled with BIND 9.X
ii bind9utils 1:9.8.1.dfsg.P1-4ubuntu0.5 Utilities for BIND
ii libbind9-80 1:9.8.1.dfsg.P1-4ubuntu0.5 BIND9 Shared Library used by BIND
IMHO the solution to this bug should consist of:
1- writing an upstart job for running bind9;
2- letting the squid3 upstart job depend on bind9.
** Affects: squid3 (Ubuntu)
Importance: Undecided
Status: New
** Tags: bind9 precise squid3
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid3 in Ubuntu.
https://bugs.launchpad.net/bugs/1103362
Title:
Precise: Squid3 does not start if ACL's require DNS lookups
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1103362/+subscriptions
More information about the Ubuntu-server-bugs
mailing list