--- squid3-3.1.19/debian/squid3/etc/resolvconf/update-libc.d/squid3.orig 2012-06-07 09:15:16.000000000 +0300 +++ squid3-3.1.19/debian/squid3/etc/resolvconf/update-libc.d/squid3 2012-06-20 10:34:06.000000000 +0300 @@ -4,5 +4,10 @@ # Make squid aware of changes to resolv.conf if status squid3 | grep "start/running" > /dev/null; then + # Wait if we're just booting. + if awk '{if ($1>200) {exit 1;}}' /proc/uptime + then + sleep 30 + fi reload squid3 fi