From 6b183cf204cd8df9a8a967f1e709832968c50cbb Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 11 Sep 2015 10:20:10 +0200 Subject: [PATCH] Apply Aurelien's nfs patch to the dsa-check-libs copy in puppet also --- modules/nagios/files/dsa-check-libs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nagios/files/dsa-check-libs b/modules/nagios/files/dsa-check-libs index 807796f41..77b378059 100755 --- a/modules/nagios/files/dsa-check-libs +++ b/modules/nagios/files/dsa-check-libs @@ -171,7 +171,7 @@ LINE: for my $line (@lsof) { my $inode = $fields{i}; my $path = $fields{n}; if ($path =~ m/\.dpkg-/ || $path =~ m/\(deleted\)/ || $path =~ /path inode=/ || $path =~ m#/\.nfs# || $fd eq 'DEL') { - my $deleted_in_path = ($path =~ m/\(deleted\)/); + my $deleted_in_path = ($path =~ m/\(deleted\)/ || $path =~ m/\.nfs/); next if ($deleted_in_path && $fd =~ /^[0-9]*$/); # Ignore deleted files that are open via normal file handles. next if ($deleted_in_path && $fd eq 'cwd'); # Ignore deleted directories that we happen to be in. -- 2.20.1