From a5fa77ec6eea2a7eca95b5f64b4f662c439ec9c0 Mon Sep 17 00:00:00 2001 From: Thomas Liske Date: Mon, 1 Dec 2014 21:51:39 +0100 Subject: [PATCH] Skip POSIX async I/O mappings to prevent false positive restarts (i.e. zfs-fuse). --- needrestart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/needrestart b/needrestart index 9350b93..5352c5c 100755 --- a/needrestart +++ b/needrestart @@ -304,6 +304,9 @@ if(defined($opt_l)) { # skip special device paths next if($path =~ m@^/(SYSV00000000$|drm$|dev/)@); + # skip aio(7) mapping + next if($path =~ m@^/\[aio\]@); + # check for non-existing libs unless(-e $path) { unless($path =~ m@^/tmp/@) {