Bug 68696

Summary: Customized HTTP error messages are overwritten during upgrade
Product: [Retired] Red Hat Linux Reporter: Bill Smargiassi <william.smargiassi>
Component: squidAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 7.2CC: rvokal
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: 2002-07-12 16:12:53 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 Bill Smargiassi 2002-07-12 16:12:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530

Description of problem:
First, this is a RedHat packaging error. Not a bug in squid.

Every time we upgrade squid we lose our locally customized error messages. This
has happened from as far back as we have been using the RedHat version of the
squid RPM, at least 6.0 I think. The files in /etc/squid/errors should be
designated as config files such that the vanilla ones from the RPM are created
as *.rpmnew instead of overwriting any changed files. I think they need to be
the specified the same as the /etc/squid/squid.conf file in the spec file.

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


How reproducible:
Always

Steps to Reproduce:
1. Modify a file in /etc/squid/errors
2. Upgrade squid from an errata

	

Actual Results:  All HTTP error messages revert to the plain-vanilla squid samples.

Expected Results:  Our locally customized files should not be overwritten. The
plain-vanilla versions should be saved as *.rpmnew

Additional info:

Comment 1 Bill Nottingham 2002-07-19 02:25:26 UTC
If you want to customize them, make a new directory, and point the
/etc/squid/errors symlink there; the symlink should be preserved on upgrade.