Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53439 - nagios-core should prioritize one db or the other
Summary: nagios-core should prioritize one db or the other
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-09 11:08 UTC by Aron Griffis (RETIRED)
Modified: 2004-07-01 10:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Griffis (RETIRED) gentoo-dev 2004-06-09 11:08:48 UTC
if use mysql && use postgres; then
        eerror "Unfortunatly you can't have both MySQL and PostgreSQL enabled at the same time."
        eerror "You have to remove either 'mysql' or 'postgres' from your USE flags before emerging this."


This is the wrong approach.  In portage the standard is to choose one over the other when both USE flags are specified.  In the case of nagios-core, you should decide which one makes most sense as a default (probably mysql, I'd guess) and use that if both USE flags are specified.
Comment 1 Michael Boman (RETIRED) gentoo-dev 2004-06-09 20:20:24 UTC
Quick question: which one?

The database wars are almost as common as the distribution wars...
Comment 2 Eldad Zack (RETIRED) gentoo-dev 2004-07-01 10:05:55 UTC
Prioritized mysql over postgresql.
Change included in nagios-core-1.2-r1, now in portage.

Thanks Aron.