[packagers] nagios-plugins patch
Dag Wieers
dag at wieers.com
Tue Dec 12 18:05:44 CET 2006
On Fri, 8 Dec 2006, Gavin Carr wrote:
> The current nagios-plugins package is missing the setuid plugins
> (check_icmp and check_dns at least) because the nagios-plugins guys
> split them out into a separate install target, 'make install-root'.
>
> The attached patch fixes the spec file to install with that target
> as well.
>
> Note that it doesn't make the plugins setuid. Is there any kind of
> rpmforge policy on setuid binaries? If they're okay, what's the
> best way to make them setuid? A files section like:
>
> %{_libdir}/nagios/plugins/
> %attr(04755,root,root) %{_libdir}/nagios/plugins/check_icmp
> %attr(04755,root,root) %{_libdir}/nagios/plugins/check_dns
>
> and ignore the duplicate item warnings?
I tried to stay away from setuid binaries (leaving it up to the user to
make something setud if they like). In this case I opted to create a
setuid subpackage that holds the setuid plugins.
Kind regards,
-- dag wieers, dag at wieers.com, http://dag.wieers.com/ --
[all I want is a warm bed and a kind word and unlimited power]
More information about the packagers
mailing list