Public bug reported:

As for the squid3 package(see
https://bugzilla.redhat.com/show_bug.cgi?id=453304) squid-deb-proxy as
problems with resolvconf in situations where DHCP is used or network
changes occur.

Adding an hook in "/etc/resolvconf/update-libc.d/" seems to solve the
problem, a reload does not suffice.


Here it is my proposal for the script (that has to be executable):


####################################################


#!/bin/sh
#
#@see https://bugzilla.redhat.com/show_bug.cgi?id=453304

PATH="/usr/sbin:/usr/bin:/sbin:/bin"

# Make squid aware of changes to resolv.conf
if status squid-deb-proxy | grep "start/running" > /dev/null; then
        #reload does not suffice
        restart squid-deb-proxy
fi


###################################################

** Affects: squid-deb-proxy (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: dns-nameservers resolvconf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175614

Title:
  name servers not configured at system startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1175614/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to