On Sun, 21 Jul 2013, Debian Bug Tracking System wrote:

> This is an automatic notification regarding your Bug report
> which was filed against the squid3 package:
> 
> #710126: squid3: Squid3 needs /var/run/squid if using SMP mode with more than 
> one worker
> 
> It has been closed by Luigi Gangitano <lu...@debian.org>.

This bug has not been fixed in package 3.3.8-1.

The init.d script delivered with it contains a new function 
create_run_dir, but that one only sets the correct ownership, it is 
missing an mkdir call. Additionally, this new function is not even 
called.

Something like the following addon patch is needed to fix it (and with 
that Squid 3.3.8 works in SMP mode for me):

--- squid3-3.3.8/debian/squid3.rc~      2013-07-22 00:13:49.000000000 +0200
+++ squid3-3.3.8/debian/squid3.rc       2013-07-25 17:19:24.716967078 +0200
@@ -72,6 +72,8 @@
        usr=`grepconf cache_effective_user proxy`
        grp=`grepconf cache_effective_group proxy`
 
+       mkdir -p $run_dir
+
        if [ "$(stat -c %U $run_dir)" != "$usr" ] ||
           [ "$(stat -c %G $run_dir)" != "$grp" ] ; then
                if [ "$(dpkg-statoverride --list $run_dir)" = "" ] ; then
@@ -85,6 +87,8 @@
        cache_dir=`find_cache_dir cache_dir`
        cache_type=`find_cache_type cache_dir`
 
+       create_run_dir
+
        #
        # Create spool dirs if they don't exist.
        #

c'ya
sven-haegar

-- 
Three may keep a secret, if two of them are dead.
- Ben F.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to