[packagers] nagios-plugins patch

Wil Cooley wcooley at nakedape.cc
Thu Dec 7 23:59:52 CET 2006


On Fri, 2006-12-08 at 09:40 +1100, 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?

It might make sense to actually put them in a sub-package so people who
don't want setuid executable hanging around don't have to have them.

Wil
-- 
Wil Cooley <wcooley at nakedape.cc>
http://nakedape.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.rpmforge.net/pipermail/packagers/attachments/20061207/e870a1fe/attachment.bin


More information about the packagers mailing list