Bug 70705
| Summary: | Upgrading apache to httpd eats /var/www/html/index.html | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Nils Philippsen <nphilipp> |
| Component: | httpd | Assignee: | Joe Orton <jorton> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | chris.ricker |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-09-30 16:02:18 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 67218, 79579, 100644 | ||
|
Description
Nils Philippsen
2002-08-04 12:01:37 UTC
I don't think this is really fixable: a new feature of the 2.0 packages is that there are no files under RPM's control in /var/www/html/ (see bug 65736), this is a better strategy in the long run, and causes less surprises. So I'll class this as a migration issue, I'll try and get it added to the docs. I just hit this as well. It's not documented in either RELEASE_NOTES or /usr/share/doc/httpd-2.0.40/migration.html like it should be.... For what it's worth now, this was fixed in FC1.
# Prevent removal of index.html on upgrades from 1.3
%triggerun -- apache < 2.0, stronghold-apache < 2.0
if [ -r %{contentdir}/index.html -a ! -r
%{contentdir}/index.html.rpmold ]; then
mv %{contentdir}/index.html %{contentdir}/index.html.rpmold
fi
|