Make the unowned files check skip /proc
authorTollef Fog Heen <tfheen@err.no>
Fri, 10 Feb 2012 20:36:37 +0000 (21:36 +0100)
committerTollef Fog Heen <tfheen@err.no>
Fri, 10 Feb 2012 20:37:40 +0000 (21:37 +0100)
dsa-nagios-checks/debian/changelog
dsa-nagios-checks/sbin/dsa-update-unowned-file-status

index ac49963..a0b2a95 100644 (file)
@@ -9,6 +9,9 @@ dsa-nagios-checks (9X) Xnstable; urgency=low
   * dsa-check-statusfile: change shebang from ruby to python and fix syntax
     errors.
 
+  [ Tollef Fog Heen ]  
+  * Make the unowned files check skip /proc.
+
  -- Peter Palfrader <weasel@debian.org>  Wed, 08 Feb 2012 15:36:05 +0100
 
 dsa-nagios-checks (90) unstable; urgency=low
index 746d3b2..9220888 100755 (executable)
@@ -17,4 +17,4 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 # USA
 
-find / -nouser > /var/cache/dsa/nagios/nouser
+find / -path /proc -prune -o -nouser > /var/cache/dsa/nagios/nouser