Your message dated Sun, 02 Feb 2014 22:33:49 +0000 with message-id <[email protected]> and subject line Bug#626913: fixed in nagios-plugins 1.5-2 has caused the Debian Bug report #626913, regarding 'nagios-plugins-basic: different process count when invoking check_procs if default shell is /bin/dash instead of /bin/bash' to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 626913: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626913 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: nagios-nrpe-server Version: 2.12-4 Severity: important If default shell is /bin/dash then all check_procs commands run though nrpe daemon return a +1 value in the number of processes they count i.e. if there is one /usr/sbin/acpid process running the check will return 2, more seriously if there are none the check will return one, so if the check is used to restart dead daemons this won't be done anymore. The problem is dash-related: this can be easily verified by running root@server:~# su - nagios -s /bin/dash -c "/usr/lib/nagios/plugins/check_procs -c 1: -a '/sbin/init'" No directory, logging in with HOME=/ PROCS OK: 2 processes with args '/sbin/init' root@server:~# su - nagios -s /bin/bash -c "/usr/lib/nagios/plugins/check_procs -c 1: -a '/sbin/init'" No directory, logging in with HOME=/ PROCS OK: 1 process with args '/sbin/init' or by reconfiguring default system shell to be bash, then restarting /usr/sbin/nrpe and having nagios repeat all the process checks. I think I've tracked the problem to code line 1384 of file nrpe.c /* run the command */ fp=popen(command,"r"); since popen should do a /bin/sh -c command it is sensible to the default shell. I have not been able yet to discover why dash modify check_procs behaviour. For us at the moment workaround is reconfiguring /bin/bash as default shell, but of course we would prefer to conform to Debian standard. Best regards Massimiliano -- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/24 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages nagios-nrpe-server depends on: ii adduser 3.112+nmu2 add and remove users and groups ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libssl0.9.8 0.9.8o-4squeeze1 SSL shared libraries ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip Versions of packages nagios-nrpe-server recommends: ii nagios-plugins 1.4.15-3 Plugins for the nagios network mon ii nagios-plugins-basic 1.4.15-3 Plugins for the nagios network mon nagios-nrpe-server suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: nagios-plugins Source-Version: 1.5-2 We believe that the bug you reported is fixed in the latest version of nagios-plugins, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jan Wagner <[email protected]> (supplier of updated nagios-plugins package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Wed, 02 Oct 2013 20:14:38 +0200 Source: nagios-plugins Binary: nagios-plugins nagios-plugins-common nagios-plugins-basic nagios-plugins-standard Architecture: source all i386 Version: 1.5-2 Distribution: unstable Urgency: medium Maintainer: Debian Nagios Maintainer Group <[email protected]> Changed-By: Jan Wagner <[email protected]> Description: nagios-plugins - Plugins for nagios compatible monitoring systems (metapackage) nagios-plugins-basic - Plugins for nagios compatible monitoring systems nagios-plugins-common - Common files for plugins for nagios compatible monitoring nagios-plugins-standard - Plugins for nagios compatible monitoring systems Closes: 626913 734513 734811 Changes: nagios-plugins (1.5-2) unstable; urgency=medium . * Update Licensing text from upstream README * Switch over to packaging ti git-buildpackage * [1a95a53] Update Vcs-headers * [e0ee45e] Use check_ldap instead of check_ldaps for the check_ldaps* command definitions * [9bc7a29] Add 11_check_http_arguments.dpatch to fix argument processing of check_http * [219a55a] Add 12_check_ssh_read_socket.dpatch to fix socket read failure (Closes: #734811) * [0cc66f5] Fix typo in package description (Closes: #734513), thanks Pascal De Vuyst * [ec51a84] Just missed a typo to fix in debian/control * [de62798] Changing upstream URLs to monitoring-plugins.org * [1a03f82] Fix URL in the watch file * [201bd0e] Adding 13_check_proc_parent_process.dpatch (Closes: 626913), Thanks Anton Lofgren * [e5fc80f] Build again against libradiusclient-ng-dev, this Reopens: #721621 - libfreeradius-client-dev is actually not supported by upstream - check_radius Checksums-Sha1: 8e07133345c87b1da14c627cfe53bc569af90879 1750 nagios-plugins_1.5-2.dsc 439c0cb9a9b4647c69794161d1a69ff19b2551c2 1607103 nagios-plugins_1.5.orig.tar.gz 069147f606f99fea56b7087ceb73bbe5e022cfda 37338 nagios-plugins_1.5-2.diff.gz d2e2a2200929fafcdbe016e331af8aa6e3f13133 23416 nagios-plugins_1.5-2_all.deb 49fcf30a1e970c2d0fc3051935816beae5549d75 61354 nagios-plugins-common_1.5-2_i386.deb 1d96d8d4fe21818c4d24f9f33303a4099d07adcc 270226 nagios-plugins-basic_1.5-2_i386.deb 2d614b3eb08aceae88b0455f0f370c5cccc38667 141856 nagios-plugins-standard_1.5-2_i386.deb Checksums-Sha256: 62a7f95924f1bc35d7e1ab9e741a3efe722812ded2ec469960f8bc506ef9d246 1750 nagios-plugins_1.5-2.dsc 0de24f8c018f5af1f57bec4ef06b1d841224752c47b8600b7dba06526340f19a 1607103 nagios-plugins_1.5.orig.tar.gz 7e72c5bc0714b92ecc728fe97638d7d65df56c005505cd1986c7afb1d4a620a8 37338 nagios-plugins_1.5-2.diff.gz 555084969b06ace5aa58aa97f0bf231ed65f4a2554284587725b1fb1d9d213ef 23416 nagios-plugins_1.5-2_all.deb f906b0015ee5e964439e1d74b990c56f317f4e03b106927f0fedd7a1334fdb59 61354 nagios-plugins-common_1.5-2_i386.deb 0aca967982a6995c7551b0188b901474180a8d789e3f76a496be0c956f085498 270226 nagios-plugins-basic_1.5-2_i386.deb 45f156c1b354c8cff0cfec903677c794e7f344024ad9d6ad67305a2555506c45 141856 nagios-plugins-standard_1.5-2_i386.deb Files: b95557267e2858410539dfb34c8beff1 1750 net extra nagios-plugins_1.5-2.dsc 9ab75d6cea6799e243552bae0da00744 1607103 net extra nagios-plugins_1.5.orig.tar.gz 9f8ad36a63cf9a8dde3c45395ff719e5 37338 net extra nagios-plugins_1.5-2.diff.gz fc7e4e6b10092ab411f0877cbcdc2584 23416 net extra nagios-plugins_1.5-2_all.deb 66d2a4c9571505fabc80399a9fca7de2 61354 net extra nagios-plugins-common_1.5-2_i386.deb 214a20ef0c4010f6ea10e5b98a025445 270226 net extra nagios-plugins-basic_1.5-2_i386.deb d5acbb6d655fcb4a4708912c3b13e9e1 141856 net extra nagios-plugins-standard_1.5-2_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQFS7rgr9u6Dud+QFyQRAr+qAKDnO6/01h8OaTjPalxgPTDMuIBBPQCcDfwI QJGL4oczFv6/7dQHuUCOzYQ= =04ha -----END PGP SIGNATURE-----
--- End Message ---

