[Bug 995523] [NEW] squid3 is killed by /etc/resolvconf/update-libc.d/squid3 in Precise

Steffen Sindzinski 995523 at bugs.launchpad.net
Sun May 6 15:36:46 UTC 2012


Public bug reported:

During boot squid3 is started successfully by upstart and then killed by
/etc/resolvconf/update-libc.d/squid3 but not restarted.

Can be fixed by changing /etc/resolvconf/update-libc.d/squid3 to:

#!/bin/sh

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

# Make squid aware of changes to resolv.conf
if status squid3 | grep "start/running" > /dev/null; then
    restart squid3
    #reload squid3
fi

This bug is related to:

https://bugs.launchpad.net/ubuntu/+source/squid/+bug/809526
https://bugs.launchpad.net/ubuntu/+source/squid/+bug/561750

Also /etc/resolvconf/update-libc.d/squid can be deleted in precise
because squid is only a transitional package which leads to an failure
message in upstart.

** Affects: squid3 (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  During boot squid3 is started successfully by upstart and then killed by
  /etc/resolvconf/update-libc.d/squid3 but not restarted.
  
- Can be fixed by changing to:
+ Can be fixed by changing /etc/resolvconf/update-libc.d/squid3 to:
  
  #!/bin/sh
  
  PATH="/usr/sbin:/usr/bin:/sbin:/bin"
  
  # Make squid aware of changes to resolv.conf
  if status squid3 | grep "start/running" > /dev/null; then
-     restart squid3
-     #reload squid3
+     restart squid3
+     #reload squid3
  fi
  
  This bug is related to:
  
  https://bugs.launchpad.net/ubuntu/+source/squid/+bug/809526
  https://bugs.launchpad.net/ubuntu/+source/squid/+bug/561750
  
  Also /etc/resolvconf/update-libc.d/squid can be deleted in precise
  because squid is only a transitional package which leads to an failure
  message in upstart.

-- 
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/995523

Title:
  squid3 is killed by /etc/resolvconf/update-libc.d/squid3 in Precise

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/995523/+subscriptions



More information about the Ubuntu-server-bugs mailing list