/etc/default/squid default contents are misleading and need to match usage by /etc/init/squid.conf

Bug #634338 reported by Imre Gergely
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
squid (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: squid

I was trying to figure out how to add a command line option to squid. After a bit of looking around I found that /etc/default/squid is included in /etc/init/squid.conf from where squid is started with $SQUID_ARGS, which obviously should come from including /etc/default/squid.

It would be nice if that would appear by default in /etc/default/squid, with some basic comment so the user knows how to add command line options to squid.

Tags: lucid
Imre Gergely (cemc)
summary: - /etc/default/squid option missing
+ /etc/default/squid option missing in Lucid
Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: /etc/default/squid option missing in Lucid

Hi Imre, thanks for taking the time to create this bug report and help us make Ubuntu better.

The file, /etc/default/squid, is actually quite misleading, as SQUID_MAXFD is also specified but never used in /etc/init/squid.conf

Retitling to suggest that the entire file be reviewed, and that the instructions in README.Debian be reviewed and possibly patched to accurately describe how the file is used.

Marking Confirmed.

Setting Importance to Low.

Changed in squid (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
summary: - /etc/default/squid option missing in Lucid
+ /etc/default/squid default contents are misleading and need to match
+ usage by /etc/init/squid.conf
tags: added: lucid
Changed in squid (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Meant to mark Triaged, as this is ready for a developer to work on.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Ok, I must have been mistaken when I marked this bug as Triaged. In looking at the squid upstart job, it uses the contents of /etc/default/squid properly, including SQUID_MAXFD.

Also, going forward, the proper way to add commandline args to squid will be to edit /etc/init/squid.conf, since upstart jobs are (presumably) much easier to merge changes into than init.d scripts.

Marking this as Invalid, as it seems there's nothing in the package that doesn't meet the criteria of the bug.

Changed in squid (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.