Bug 507471 - moin.fcg not marked as %config(noreplace)
Summary: moin.fcg not marked as %config(noreplace)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: moin
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ville-Pekka Vainio
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-22 21:40 UTC by Bernie Innocenti
Modified: 2009-07-06 06:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-05 12:04:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
proposed patch (1.58 KB, patch)
2009-06-22 21:40 UTC, Bernie Innocenti
no flags Details | Diff

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.


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