Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 443642 - if use net-analyzer/nagios-plugins with USE suid check_icmp not work
Summary: if use net-analyzer/nagios-plugins with USE suid check_icmp not work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-17 15:00 UTC by timtasse
Modified: 2012-11-19 05:39 UTC (History)
0 users

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 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.