Bug 614396 - MediaWiki config file not marked as %config(noreplace)
Summary: MediaWiki config file not marked as %config(noreplace)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mediawiki
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Axel Thimm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 621078 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-14 12:12 UTC by Jared Smith
Modified: 2011-04-05 19:58 UTC (History)
4 users (show)

Fixed In Version: mediawiki-1.15.4-55.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-25 05:35:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jared Smith 2010-07-14 12:12:31 UTC
Description of problem:

The mediawiki spec file doesn't mark the mediawiki.conf configuration file as %config(noreplace), which can cause it to be overwritten during an upgrade.

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

mediawiki-1.15.4-54

How reproducible:

Always.

Steps to Reproduce:
1.  Install an older version of MediaWiki
2.  Change the mediawiki.conf file
3.  Upgrade to the latest MediaWiki package
  
Actual results:

Configuration file gets rewritten, blowing away any changes.

Expected results:

Configuration file should not be overwritten.

Additional info:

Unfortunately, this problem caused problems with the Git Wiki.  See http://www.spinics.net/lists/git/msg135057.html for more details.

Comment 1 John 'Warthog9' Hawley 2010-07-14 12:42:46 UTC
well it caused problems with not only the Git Wiki, but with all wiki's on kernel.org.

Comment 2 Trevin Beattie 2010-08-27 15:17:00 UTC
I just got bitten by this when I applied software updates last week and it was upgraded to mediawiki-nomath-1.15.3-53.fc12.  (I'm running Fedora 12, BTW.)

Comment 3 John 'Warthog9' Hawley 2010-09-11 02:37:05 UTC
I'm going to bump this as I just got hit with it, again, in Fedora 13

Comment 4 Fedora Update System 2010-09-11 03:25:25 UTC
mediawiki-1.15.4-55.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/mediawiki-1.15.4-55.fc13

Comment 5 Fedora Update System 2010-09-11 03:25:30 UTC
mediawiki-1.15.4-55.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/mediawiki-1.15.4-55.fc14

Comment 6 Fedora Update System 2010-09-11 03:25:35 UTC
mediawiki-1.15.4-55.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/mediawiki-1.15.4-55.fc12

Comment 7 Fedora Update System 2010-09-11 08:56:56 UTC
mediawiki-1.15.4-55.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update mediawiki'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/mediawiki-1.15.4-55.fc13

Comment 8 Fedora Update System 2010-09-25 05:35:48 UTC
mediawiki-1.15.4-55.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-09-26 04:32:50 UTC
mediawiki-1.15.4-55.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2010-09-26 04:38:14 UTC
mediawiki-1.15.4-55.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Axel Thimm 2011-04-05 19:58:21 UTC
*** Bug 621078 has been marked as a duplicate of this bug. ***


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