Package: squid
Version: 2.7.STABLE3-2
Severity: normal

This line in /etc/init.d/squid fails in the case that a coss cache_dir
is specified as a symbolic link, or a raw block device:

if [ -d "$cdr" -a ! -d "$cdr/00" ] || [ "$ctp" = "coss" -a ! -f "$cdr" ]

The '-f "$cdr"' is the problem.  Maybe -e, or -w would be better?

FWIW, the squid.conf line I'm using is:

cache_dir coss /dev/disk/by-id/ata-TOSHIBA_MK6034GAX_Y6L3T280T-part5 493 
max-size=1MB

Thanks,

Tim.
-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages squid depends on:
ii  adduser               3.110              add and remove users and groups
ii  debconf [debconf-2.0] 1.5.24             Debian configuration management sy
ii  libc6                 2.7-18             GNU C Library: Shared libraries
ii  libcomerr2            1.41.3-1           common error description library
ii  libdb4.6              4.6.21-11          Berkeley v4.6 Database Libraries [
ii  libkrb53              1.6.dfsg.4~beta1-5 MIT Kerberos runtime libraries
ii  libldap-2.4-2         2.4.11-1           OpenLDAP libraries
ii  libpam0g              1.0.1-5            Pluggable Authentication Modules l
ii  logrotate             3.7.1-5            Log rotation utility
ii  lsb-base              3.2-20             Linux Standard Base 3.2 init scrip
ii  netbase               4.34               Basic TCP/IP networking system
ii  squid-common          2.7.STABLE3-2      Internet object cache (WWW proxy c

squid recommends no packages.

Versions of packages squid suggests:
ii  logcheck-database          1.3.1         database of system log rules for t
pn  resolvconf                 <none>        (no description available)
ii  smbclient                  2:3.2.5-4     a LanManager-like simple client fo
pn  squid-cgi                  <none>        (no description available)
ii  squidclient                3.0.STABLE8-2 A full featured Web Proxy cache (H
pn  winbind                    <none>        (no description available)

-- debconf information:
  squid/largefiles_warning:
  squid-cgi/cachemgr:
  squid/old_version: false
  squid/fix_lines: true
  squid/fix_cachedir_perms: false
  squid/anonymize_headers:
  squid/http_anonymizer:
  squid/authenticate_program:



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to