Your message dated Thu, 31 Dec 2020 11:09:08 +0100
with message-id <[email protected]>
and subject line Re: [Pkg-nagios-devel] Bug#943888: check_libs: ignores deleted 
mmaped files
has caused the Debian Bug report #943888,
regarding check_libs: ignores deleted mmaped files
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.)


-- 
943888: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943888
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nagios-plugins-contrib
Version: 17.20161211

check_libs doesn't report processes that have mmaped files which have been deleted in the meantime.
Importantly that includes libraries that have been upgraded.

To reproduce on buster with systemd (but obviously applies to other processes as well):
apt install --reinstall libseccomp2
# /usr/lib/nagios/plugins/check_libs
No upgraded libs linked in running processes

This is caused by on overly aggressive optimization introduced in the lsof-speedup patch here:
https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib/commit/cd5eacf4faa9f81ec82d57befd44bf6d623c7e26#24f6022115d4e658ca493136b4c17be4fc7e0537_8_8

When reverting that patch to (removing -a +L1)
> my $LSOF = '/usr/bin/lsof -nPF0';

it correctly reports systemd processes

# /usr/lib/nagios/plugins/check_libs
The following processes have libs linked that were upgraded: root: (sd-pam) (544), systemd (1, 543), [...]

--
Felix Geyer
Berater
Tel.:   +49 2166 9901-0
Fax:    +49 2166 9901-100
E-Mail: [email protected]
PGP:    D1DF 8149 7643 8822 7283 92DC 1004 DA1C FF6D B892
https://www.credativ.de

credativ GmbH, HRB Mönchengladbach 12080
USt-ID-Nummer: DE204566209
Trompeterallee 108, 41189 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer

Unser Umgang mit personenbezogenen Daten unterliegt
folgenden Bestimmungen: https://www.credativ.de/datenschutz

--- End Message ---
--- Begin Message ---
Version: 27.20200511

Hi Jan,

On 07.12.20 17:32, Jan Wagner wrote:
tags 943888 + unreproducible moreinfo
thanks

Hi Felix,

thanks for reporting.

Am 31.10.19 um 13:37 schrieb Felix Geyer:
To reproduce on buster with systemd (but obviously applies to other
processes as well):
apt install --reinstall libseccomp2
# /usr/lib/nagios/plugins/check_libs
No upgraded libs linked in running processes

When running this on buster with package 27.20200511+1:

# /usr/lib/nagios/plugins/check_libs
The following processes have libs linked that were upgraded:
systemd-logind (662), systemd (11284, 11282)

I guess this was fixed with 27.20200511+1 by:

* [45d41ae] check_libs is now a symlink to check_libs_ng

Yes, this report doesn't apply to the new implementation.
Closing it now.

Felix

--
Felix Geyer
Berater
Tel.:   +49 2166 9901-0
Fax:    +49 2166 9901-100
E-Mail: [email protected]
https://www.credativ.de

credativ GmbH, HRB Mönchengladbach 12080
USt-ID-Nummer: DE204566209
Trompeterallee 108, 41189 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer

Unser Umgang mit personenbezogenen Daten unterliegt
folgenden Bestimmungen: https://www.credativ.de/datenschutz

--- End Message ---

Reply via email to