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

Bug 53439

Summary: nagios-core should prioritize one db or the other
Product: Gentoo Linux Reporter: Aron Griffis (RETIRED) <agriffis>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

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.