Bug 463129
Summary: | Squid inist script test the wrong configfile | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Martin Langhoff <martin> |
Component: | squid | Assignee: | Jiri Skala <jskala> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | aglotov, henrik, jonathansteffan, jskala, mnagy |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-10-07 10:00:55 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Martin Langhoff
2008-09-22 04:25:21 UTC
Changing the squid.conf path using SQUIDOPTS isn't supported by squid.init: - The squid.conf path is hardcoded in squid.init when checking for cache directories. - Several squid invocations from squid.init isn't using $SQUIDOPTS SQUIDOPTS is only meant to be used for the simple command line flags such as -D, -F, -C, -s etc.. (i.e. most flags except for -z, -N, -h, -k or -f). As I see it there is two viable options for resolving this: a) Not supported b) Change squid.init to use a $SQUIDCONF variable in addition to $SQUIDOPTS From discussions with various Fedora/RH people at FudCon Boston and various email threads the general consensus seemed to be that init scripts for daemons are expected to support the /etc/sysconfig/$daemon file pointing to an alternative config file. I am ok with having an explicit $SQUID_CONF variable, and re-reading the init script I see it would make sense for the status and probe commands too. There is new variable $SQUID_CONF that can be adjusted in the /etc/sysconfig/squid file. Cool - is this going to make it to F9, F10 or F11? A F9 update would be ideal to minimise custom stuff on the OLPC XS :-) (In reply to comment #4) > Cool - is this going to make it to F9, F10 or F11? > > A F9 update would be ideal to minimise custom stuff on the OLPC XS :-) Yes, It will be implemented in rawhide too. (In reply to comment #4) > Cool - is this going to make it to F9, F10 or F11? > > A F9 update would be ideal to minimise custom stuff on the OLPC XS :-) Sorry, I watched the code with sleeping eyes. I was convinced I did it in rawhide too and I see now this is right. This extension is really in the rawhide. |