Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 390859

Summary: www-apps/mediawiki should enforce that a db is enabled
Product: Gentoo Linux Reporter: Sebastian Luther (few) <SebastianLuther>
Component: New packagesAssignee: Christian Parpart (RETIRED) <trapni>
Status: RESOLVED WONTFIX    
Severity: normal CC: web-apps
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sebastian Luther (few) 2011-11-17 19:19:10 UTC
<few_> do I see it correctly that it needs at least one database use flag enabled?
<few_> if yes it should have a REQUIRED_USE to enforce this
<radhermit> few_: or rather a use default
<few_> radhermit: you could do that too. but it still calls for REQUIRED_USE.
<radhermit> feel free to open a bug
<radhermit> as I'm not going to do it right this moment
Comment 1 Anthony Basile gentoo-dev 2011-11-18 12:49:02 UTC
(In reply to comment #0)
> <few_> do I see it correctly that it needs at least one database use flag
> enabled?
> <few_> if yes it should have a REQUIRED_USE to enforce this
> <radhermit> few_: or rather a use default
> <few_> radhermit: you could do that too. but it still calls for REQUIRED_USE.
> <radhermit> feel free to open a bug
> <radhermit> as I'm not going to do it right this moment

Web apps that require a database backend should not require a db USE flag because the database might be hosted on a different server than the apache+php files.

Warnings or info messages alerting the user to the effect that they do need some db server somewhere is a good idea though.  For moodle I put it in webapp-config instructions.
Comment 2 Tim Harder gentoo-dev 2011-12-09 22:27:39 UTC
Closing as won't fix because databases don't have to be hosted on the same machine and creating/configuring the db is mentioned in the postinstall message.