Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194141 - net-analyzer/nagios-core-2.9: Non-FHS installation locations
Summary: net-analyzer/nagios-core-2.9: Non-FHS installation locations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement with 1 vote (vote)
Assignee: Tobias Scherbaum (RETIRED)
URL: http://overlays.gentoo.org/dev/dertob...
Whiteboard:
Keywords:
Depends on:
Blocks: 213683
  Show dependency tree
 
Reported: 2007-09-28 21:02 UTC by Chad Walstrom
Modified: 2008-06-17 15:36 UTC (History)
2 users (show)

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 Chad Walstrom 2007-09-28 21:02:29 UTC
The nagios-core and other nagios packages install to non-FHS directories.

        econf ${myconf} \
                --prefix=/usr/nagios \
                --localstatedir=/var/nagios \
                --sysconfdir=/etc/nagios \
                --datadir=/usr/nagios/share \
                || die "./configure failed"

Instead, the call should either use Gentoo's defaults, or specify specifically the FHS compliant directories.

Reproducible: Always

Steps to Reproduce:
Comment 1 Tobias Scherbaum (RETIRED) gentoo-dev 2008-02-03 21:04:25 UTC
I started to migrate nagios-* packages to FHS-compliant locations. To not break things more than necessary I chose to take the upcoming Nagios-3 for this change, as everybody needs to put some work on migrating to Nagios-3 anyways.

nagios, nagios-core, nagios-plugins and nagios-imagepack are done - nrpe/nsca plus some smaller plugins are about to follow. Find the ebuilds in my dev-overlay [1], make sure to also use the -r100 versions of plugins/imagepack from the overlay.

Please test and report back. Thanks :)

[1] http://overlays.gentoo.org/dev/dertobi123/browser/net-analyzer
Comment 2 Tobias Scherbaum (RETIRED) gentoo-dev 2008-04-27 18:46:56 UTC
This is fixed in CVS now. Note that nagios-3 ebuilds are still p.masked.
Comment 3 hexa 2008-06-17 10:23:13 UTC
(In reply to comment #2)
> This is fixed in CVS now. Note that nagios-3 ebuilds are still p.masked.
> 

Sorry for unrelated post, but for users who wish to install nagios now, should we use version 3 or version 2?
Thanks.
Comment 4 Tobias Scherbaum (RETIRED) gentoo-dev 2008-06-17 15:36:15 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > This is fixed in CVS now. Note that nagios-3 ebuilds are still p.masked.
> > 
> 
> Sorry for unrelated post, but for users who wish to install nagios now, should
> we use version 3 or version 2?
> Thanks.
> 

You should use nagios-3, there are only minor issues related to other packages extending the main nagios packages for which I keep nagios-3 package.mask for now.