Bug 70785 - /etc/sysconfig/squid should specify SQUID_PIDFILE_TIMEOUT
/etc/sysconfig/squid should specify SQUID_PIDFILE_TIMEOUT
Status: CLOSED DUPLICATE of bug 70065
Product: Red Hat Public Beta
Classification: Retired
Component: squid (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2002-08-05 05:26 EDT by Need Real Name
Modified: 2014-03-16 22:29 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-08-05 05:26:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2002-08-05 05:26:05 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020724

Description of problem:
The /etc/sysconfig/squid file does not specify the variable
SQUID_PIDFILE_TIMEOUT. This variable is expected by the /etc/rc.d/init.d/squid
startscript. The startscript does not provide any default so a shell syntax
error message occurs when the script is run with "start" as the first parameter.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Be root and RPM-install squid from the "limbo" distribution.
2.Type `/etc/rc.d/init.d/squid start'


Actual Results:  Error message seen, "/etc/rc.d/init.d/squid: line 65: [: 0:
unary operator expected".

Expected Results:  No such error message.

Additional info:

Workaround: Append something like "SQUID_PIDFILE_TIMEOUT=3600" to

To fix the bug it may be a good idea to make the /etc/rc.d/init.d/squid script
permissive so that if the variable is not specified in /etc/sysconfig/squid it
will be automatically declared and given a reasonable default value.

I am leaving the severity as "normal" since I have not investigated what the
consequences of the bug really are. Perhaps the severity could be "low"; at
least it seems that the squid process starts and can be stopped in an orderly
fashion even if the workaround is not applied.
Comment 1 Bill Nottingham 2002-08-12 15:58:01 EDT

*** This bug has been marked as a duplicate of 70065 ***

Note You need to log in before you can comment on or make changes to this bug.