vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arku...@apache.org
Subject svn commit: r1787855 - /vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm
Date Mon, 20 Mar 2017 22:06:51 GMT
Author: arkurth
Date: Mon Mar 20 22:06:51 2017
New Revision: 1787855

URL: http://svn.apache.org/viewvc?rev=1787855&view=rev
Log:
VCL-957
Updated Linux.pm.  Added patterns to $CAPTURE_DELETE_FILE_PATHS so /tmp gets cleaned up.

Modified:
    vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm

Modified: vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm?rev=1787855&r1=1787854&r2=1787855&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm Mon Mar 20 22:06:51 2017
@@ -104,9 +104,11 @@ our $CAPTURE_DELETE_FILE_PATHS = [
 	'/etc/sysconfig/iptables*old*',
 	'/etc/sysconfig/iptables_pre*',
 	'/etc/udev/rules.d/70-persistent-net.rules',
-	'/tmp/ifcfg-*',
+	'/tmp/*',
 	'/var/log/*.0',
+	'/var/log/*-20*',
 	'/var/log/*.gz',
+	'/var/log/*.old',
 ];
 
 =head2 $CAPTURE_CLEAR_FILE_PATHS
@@ -118,9 +120,11 @@ our $CAPTURE_DELETE_FILE_PATHS = [
 
 our $CAPTURE_CLEAR_FILE_PATHS = [
 	'/etc/hostname',
+	'/var/log/audit/audit.log',
 	'/var/log/auth.log*',
 	'/var/log/boot.log*',
 	'/var/log/lastlog',
+	'/var/log/maillog',
 	'/var/log/messages',
 	'/var/log/secure',
 	'/var/log/udev',



Mime
View raw message