Received: (qmail 18521 invoked by uid 2012); 3 Jan 2000 16:50:30 -0000 Message-Id: <20000103165030.18520.qmail@hyperreal.org> Date: 3 Jan 2000 16:50:30 -0000 From: Jonathan Quist Reply-To: jeq@att.com To: apbugs@hyperreal.org Subject: install-bindist.sh installation script clobbers original httpd.conf file. X-Send-Pr-Version: 3.2 >Number: 5531 >Category: os-aix >Synopsis: install-bindist.sh installation script clobbers original httpd.conf file. >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Jan 3 10:10:00 PST 2000 >Last-Modified: >Originator: jeq@att.com >Organization: apache >Release: 1.3.9 >Environment: AIX v4.3, AIXv4.2 >Description: The install-bindist.sh installation script bundled with Apache 1.3.9 for AIX carefully preserves the original conf/httpd.conf file, then even more carefully clobbers it when editing the install path in httpd.conf.default. See install-bindist.sh, line 100. >How-To-Repeat: install Apache in the standard location. Add a custom entry to conf/httpd.conf. Re-install Apache using install-bindist.sh. The install script will indicate that the config files were preserved, but the custom entry will be gone. >Fix: The offending sed script in install-bindist.sh, line 100, replaces instances of "/usr/local/apache" with the local install path. Move this command to the if-then-else that preserves the config files, after the "lcopy bindist/conf ..." command (line 87 in my copy). This will fix the install path in httpd.conf only if httpd.conf is actually installed. We can assume that if it already exists, it has been fixed. If it hasn't, the sysadmin deserves what he gets... :') >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]