[Pkg-nagios-devel] Bug#401107: nagios-plugins-basic: check_dhcp won't run under Nagios2 as it's not suid

Bruce Parkinson bruceparkinson at gmail.com
Thu Nov 30 20:52:30 UTC 2006


Package: nagios-plugins-basic
Version: 1.4.4-1
Severity: normal


When configuring a DHCP check using /usr/lib/nagios/plugins/check_dhcp, I get this:

[1164854938] SERVICE ALERT: dc1;DHCP;UNKNOWN;SOFT;3;Error: Could not bind socket to interface eth0.  Check your privileges...
[1164854948] SERVICE ALERT: dc2;DHCP;UNKNOWN;SOFT;3;Error: Could not bind socket to interface eth0.  Check your privileges...

Based on this:

http://article.gmane.org/gmane.network.nagios.plugins/2245

it looks like /usr/lib/nagios/plugins/check_dhcp should be suid root, but perms on install are -rwxr-xr-x.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-386
Locale: LANG=en_NZ, LC_CTYPE=en_NZ (charmap=ISO-8859-1)

Versions of packages nagios-plugins-basic depends on:
ii  iputils-ping              3:20020927-3.1 Tools to test the reachability of 
ii  libc6                     2.3.6.ds1-8    GNU C Library: Shared libraries
ii  libssl0.9.8               0.9.8c-3       SSL shared libraries
ii  procps                    1:3.2.7-3      /proc file system utilities
ii  ucf                       2.0017         Update Configuration File: preserv

nagios-plugins-basic recommends no packages.

-- no debconf information




More information about the Pkg-nagios-devel mailing list