[Nagiosplug-devel] check_ping and check_icmp confusion

Andreas Ericsson ae at op5.se
Thu Feb 23 01:46:01 CET 2006


sean finney wrote:
> On Thu, Feb 23, 2006 at 09:17:20AM +0100, Andreas Ericsson wrote:
> 
>>I take it you mean ./configure-time option? Otherwise it means parsing 
>>arguments as root. The '-j' flag could ofcourse be parsed separately and 
>>in an ultra-paranoid fashion, but still.
> 
> 
> hah.  tricky.  so it's a trade off between chrooting to a
> user-specified location and not parsing cmdline opts as
> root then.
> 

Yup. Unless we maintain CAP_CHROOT but drop other capabilities. That's 
not very portable though. *sigh*

> 
>>I made an effort to make command-line options identical with both 
>>check_ping and check_fping, so it should be no extra work at all. If 
>>there is, let me know and I'll fix it up.
> 
> 
> cool.  if there are no objections, i'll see what i can do this
> weekend.
> 

Go wild. :)

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231




More information about the Devel mailing list