[Libguestfs] [PATCH v2 3/3] appliance: Exclude more log files (RHBZ#1239154).

Richard W.M. Jones rjones at redhat.com
Thu Jul 9 12:20:59 UTC 2015


This removes further possible log files from the appliance, but
without removing any subdirectories.
---
 appliance/excludefiles.in | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in
index 9a48db7..5afeede 100644
--- a/appliance/excludefiles.in
+++ b/appliance/excludefiles.in
@@ -32,12 +32,23 @@ dnl The right kernel modules are added back by supermin.
 -/usr/share/i18n/*
 -/usr/share/pkgconfig/*
 
+-/var/log/?tmp
 -/var/log/*.log*
+-/var/log/*.gz
 -/var/log/cron*
 -/var/log/lastlog*
+-/var/log/maillog*
 -/var/log/messages*
 -/var/log/secure*
 -/var/log/syslog*
+-/var/log/tallylog*
+
+-/var/log/*/*.log*
+-/var/log/*/*.gz
+-/var/log/*/secure*
+-/var/log/*/syslog*
+
+-/var/log/sa/*
 
 dnl For Debian:
 -/usr/share/lintian/*
-- 
2.3.1




More information about the Libguestfs mailing list