| Summary: | net-analyzer/nagios-core-2.9: Non-FHS installation locations | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Chad Walstrom <chewie> |
| Component: | New packages | Assignee: | Tobias Scherbaum (RETIRED) <dertobi123> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | gfa, netmon |
| Priority: | Lowest | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://overlays.gentoo.org/dev/dertobi123/browser/net-analyzer | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 213683 | ||
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 This is fixed in CVS now. Note that nagios-3 ebuilds are still p.masked. (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. (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. |
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: