diff --git a/checkrestart b/checkrestart index e20ab85..d818e83 100755 --- a/checkrestart +++ b/checkrestart @@ -5,13 +5,15 @@ # Further updated by Javier Fernandez-Sanguino # - included patch from Justin Pryzby # to work with the latest Lsof - modify to reduce false positives by not -# complaining about deleted inodes/files under /tmp/, /var/log/ or named -# /SYSV. +# complaining about deleted inodes/files under /tmp/, /var/log/, +# /var/run or named /SYSV. # PENDING: # - included code from 'psdel' contributed by Sam Morris to # make the program work even if lsof is not installed # (available at http://robots.org.uk/src/psdel) +# - make it work with a whitelist of directories instead of a blacklist +# (might make it less false positive prone) # # # This program is free software; you can redistribute it and/or modify @@ -301,6 +303,9 @@ # We don't care about log files if f.startswith('/var/log/'): continue + # Or about files under temporary locations + if f.startswith('/var/run/'): + continue # Or about files under /tmp if f.startswith('/tmp/'): continue diff --git a/debian/changelog b/debian/changelog index 837c2f9..9fb91e9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +debian-goodies (0.36) unstable; urgency=low + + * Exclude /var/run contents from the deleted files check which means + that apache2, when using mod_ssl should now not be reported + as needing a restart (Closes: 432569) + + -- Javier Fernandez-Sanguino Pen~a Thu, 06 Sep 2007 23:37:03 +0200 + debian-goodies (0.35) unstable; urgency=low * Make it Depend on python => 2.4 as the subprocess module used by