Bug 238633 - /var/www/moodle/web/config.php overwritten on upgrade
/var/www/moodle/web/config.php overwritten on upgrade
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: moodle (Show other bugs)
5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jerry James
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-01 17:32 EDT by Dan Young
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-05-07 16:51:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dan Young 2007-05-01 17:32:11 EDT
Description of problem:
/var/www/moodle/web/config.php contains the database configuration for Moodle.
It is being overwritten on upgrade.

Version-Release number of selected component (if applicable):
moodle-1.6.5-3.fc5

How reproducible:
every time

Steps to Reproduce:
1. Upgrade moodle
  
Actual results:
/var/www/moodle/web/config.php is overwritten with RPM default

Expected results:
Should get /var/www/moodle/web/config.php.rpmnew

Additional info:
Should be marked %config(noreplace)
Comment 1 Jerry James 2007-05-07 16:51:39 EDT
Thanks.  As it turns out, there are several other config.php files that need to
be marked %config(noreplace).  Fixed in moodle-1.6.5-4.{fc5,fc6} and
moodle-1.8-4.fc7.

Note You need to log in before you can comment on or make changes to this bug.