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

Bug 443642

Summary: if use net-analyzer/nagios-plugins with USE suid check_icmp not work
Product: Gentoo Linux Reporter: timtasse <stdi>
Component: New packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description timtasse 2012-11-17 15:00:56 UTC
hi,

i have found a small bug in the ebuild of the nagios-plugins.
the ebuild creates the user and group nagios and if USE suid is set it sets the correct fileperms for suid, but the problem is that the files have the wrong group.
please add the following line above the fperms line:
use suid && fowners root:nagios ${nagiosplugindir}/check_{icmp,ide_smart,dhcp}


thanks
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2012-11-19 05:39:42 UTC
This should be fixed in nagios-plugins-1.4.16-r3 by moving the fperms below the chown in src_install.  This bug also had the side effect of getting rid of the suid markings.