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

Bug 146667

Summary: net-analyzer/nagios-core: add /usr/nagios/bin and /usr/nagios/libexec to revdep-rebuild search path
Product: Gentoo Linux Reporter: Wolf Giesen (RETIRED) <frilled>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: eldad, jakub, pookey, ramereth, tobias.pal
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 172480    

Description Wolf Giesen (RETIRED) gentoo-dev 2006-09-07 02:59:52 UTC
After the recent OpenSSL update, nrpe breaks and remains broken if you follow the update instructions because revdep-rebuild doesn't catch it. As far as I understand, an ebuild would have to add non-standard paths to revdep-rebuild's search environment. If I got that right, please add /usr/nagios/bin there so revdep-rebuild knows about it. (If I didn't, please fix it magically ;-) Thanks!
Comment 1 Wolf Giesen (RETIRED) gentoo-dev 2006-09-07 05:21:18 UTC
Addendum: Also add /usr/nagios/libexec - check_nrpe links against libssl, too.
Comment 2 Lance Albertson (RETIRED) gentoo-dev 2006-09-08 07:57:01 UTC
Ah, didn't realize I needed to do that. Good catch. 

Netmon folks: I'm going to be pretty busy the next few days, so if you can take of this that'd be great. Otherwise I'll try and get it as soon as I can.
Comment 3 Wolf Giesen (RETIRED) gentoo-dev 2006-09-14 14:27:58 UTC
*blip*

This is kind of a blocker for unsuspecting users, really ...
Comment 4 Paul Tobias 2006-09-17 07:16:06 UTC
I was also affected by this. I did this:
echo 'LDPATH="/usr/nagios/bin:/usr/nagios/libexec"' > /etc/env.d/99nagios
after an etc-update && source /etc/profile it seems to work for me, i'm not sure if this is the right solution though. Another one would be adding it directly to /etc/revdep-rebuild, probably like this:
echo 'SEARCH_DIRS="/usr/nagios/bin /usr/nagios/libexec"' > /etc/revdep-rebuild/99nagios
I dont know which one is better.
Comment 5 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2006-09-18 04:56:43 UTC
fixed in cvs, thanks for reporting.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-12-27 22:25:52 UTC
*** Bug 159260 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-12-27 22:29:30 UTC
This really should be done in nagios-core ebuild, not any of the plugins or other packages. Not everyone is using the metabuild to install this.

Reopen.
Comment 8 Wolf Giesen (RETIRED) gentoo-dev 2006-12-27 23:10:05 UTC
Additionally, not everybody uses nagios-core. On the "clients", one usually only installs the plugins and nrpe, not nagios-core.
Comment 9 Markus Ullmann (RETIRED) gentoo-dev 2007-06-06 08:13:50 UTC
Fixed