Bug 507471

Summary: moin.fcg not marked as %config(noreplace)
Product: [Fedora] Fedora Reporter: Bernie Innocenti <bernie+fedora>
Component: moinAssignee: Ville-Pekka Vainio <vpvainio>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: aleph, ivazqueznet, vpvainio
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: 2009-07-05 12:04:13 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:
Attachments:
Description Flags
proposed patch none

Description Bernie Innocenti 2009-06-22 21:40:32 UTC
Created attachment 349002 [details]
proposed patch

Installing MoinMoin as an fcgi involves editing the file /moin/server/moin.fcg, therefore it should be moved to /etc and marked as %config(noreplace).

I'm attaching a patch to do this for the F-10 branch.  It's been tested in production, and hopefully it applies on -devel too.

Comment 1 Ville-Pekka Vainio 2009-07-05 12:04:13 UTC
Thanks for the patch, but I disagree. moin.fcg, such as moin.wsgi and moin.cgi, are files which you should copy to a "configuration" directory yourself and then point your Apache to this directory. For example copy moin.fcg to somewhere like /var/www/mywiki/config and then do FastCgiServer /var/www/mywiki/config/moin.fcg in your Apache config. More information is in http://moinmo.in/HelpOnInstalling/FastCgi . I just took a look at the Debian packages, they don't mark moin.fcg as a config file either. Doing that would not allow running several different wiki instances from the same moin package.

The README-rpm file on F10 is outdated, there is a newer one for F11 which can be seen here: 
http://cvs.fedoraproject.org/viewvc/rpms/moin/F-11/README-rpm?revision=1.3&view=markup

If there ever is a new update to the moin package in F10, I might update the README a bit. However, I'm not sure if I'll add any fcgi instructions since mod_wsgi is now the recommended way of running moin and it's available on Fedora.

Comment 2 Bernie Innocenti 2009-07-06 06:25:47 UTC
After reading your explanation, I agree with you.  Patch withdrawn.