Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326367 - net-analyzer/nagios-nrpe links against tcp-wrappers without appropriate USE flag and dependency
Summary: net-analyzer/nagios-nrpe links against tcp-wrappers without appropriate USE f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
: 400989 (view as bug list)
Depends on: 410891
Blocks:
  Show dependency tree
 
Reported: 2010-06-30 22:09 UTC by Luca Lesinigo
Modified: 2019-10-28 19:45 UTC (History)
3 users (show)

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


Attachments
tcp-wrapper-configure.in.patch (tcp-wrapper-configure.in.patch,1.10 KB, patch)
2012-01-08 18:41 UTC, Marcel Pennewiß
Details | Diff
nagios-nrpe-2.12-r103.ebuild.patch (nagios-nrpe-2.12-r103.ebuild.patch,1.22 KB, patch)
2012-01-08 18:41 UTC, Marcel Pennewiß
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Lesinigo 2010-06-30 22:09:48 UTC
nrpe will dynamically choose at build time to link against tcp-wrappers if it finds them on the system, but the ebuild does not list it as a dependency. If you remove tcp-wrappers at a later time nrpe will not run anymore.

The ebuild should list tcp-wrappers as dependency or, better, honor the already established USE flag and force compiling and dependency with or without libwrap.

# emerge tcp-wrappers nagios-nrpe; ldd /usr/sbin/nrpe
        linux-vdso.so.1 =>  (0x00007fff903ff000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00007faf22c6e000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00007faf228f3000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00007faf226db000)
        libwrap.so.0 => /lib/libwrap.so.0 (0x00007faf224d2000)
        libc.so.6 => /lib/libc.so.6 (0x00007faf22175000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007faf21f71000)
        libz.so.1 => /lib/libz.so.1 (0x00007faf21d5c000)
        /lib64/ld-linux-x86-64.so.2 (0x00007faf22ebe000)
# emerge --unmerge tcp-wrappers; emerge nagios-nrpe; ldd /usr/sbin/nrpe
        linux-vdso.so.1 =>  (0x00007fff64b3f000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00007f81d68ff000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00007f81d6584000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00007f81d636c000)
        libc.so.6 => /lib/libc.so.6 (0x00007f81d600f000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f81d5e0b000)
        libz.so.1 => /lib/libz.so.1 (0x00007f81d5bf6000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f81d6b4f000)
Comment 1 Marcel Pennewiß 2012-01-08 18:41:08 UTC
Created attachment 298341 [details, diff]
tcp-wrapper-configure.in.patch

A possible solution to resolve this issue...
Comment 2 Marcel Pennewiß 2012-01-08 18:41:53 UTC
Created attachment 298343 [details, diff]
nagios-nrpe-2.12-r103.ebuild.patch

patch for last ebuild in portage
Comment 3 Marcel Pennewiß 2012-01-08 18:43:36 UTC
Resolve Bug #398175 additionaly to prevent QA-Notices
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2012-02-28 14:07:53 UTC
*** Bug 400989 has been marked as a duplicate of this bug. ***
Comment 5 Christian Ruppert (idl0r) gentoo-dev 2012-06-07 00:10:38 UTC
Fixed in net-analyzer/nagios-nrpe-2.13. Thanks!