Public bug reported: Binary package hint: squid
Any method of restarting squid fails to restart it. Such as: ============ u...@scrap:~$ sudo /etc/init.d/squid restart [sudo] password for user: Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service squid restart Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the restart(8) utility, e.g. restart squid restart: Job failed to restart ============= u...@scrap:~$ sudo service squid restart [sudo] password for user: restart: Job failed to restart =========== u...@scrap:~$ sudo restart squid restart: Job failed to restart ========== After a while, a "start" using any of these methods works fine. I'm assuming the root problem is that squid takes considerable time to shut down; in the previous init system, "/etc/init.d/squid stop" would not return until squid had exited. The new behavior of returning immediately is quite desirable in the effort to speed suspend and shutdown times, but I think "restart" is still just implemented by "stop" immediately followed by a "start". If the current "stop" behavior is retained, I would guess "restart", instead of being "stop" then "start", will have to have a check for pid exit placed into it. squid shutdowns are on the order of 10s of seconds so if this involves polling I would check every second at the most. Find attached my squid.conf, in case there's some configuration workaround... ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: squid 2.7.STABLE7-1ubuntu12 ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2 Uname: Linux 2.6.32-22-generic i686 Architecture: i386 Date: Sat May 8 23:54:16 2010 ExecutablePath: /usr/sbin/squid ProcEnviron: PATH=(custom, no user) SourcePackage: squid ** Affects: squid (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 lucid -- squid restart fails https://bugs.launchpad.net/bugs/577693 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs