Olaf Hering
2012-Sep-19 17:26 UTC
[Libguestfs] [PATCH] sysprep: remove apache2, audit and ntp in logfile operation
Add more entries to the dump ground of logfile patterns. Signed-off-by: Olaf Hering <olaf at aepfle.de> diff --git a/sysprep/sysprep_operation_logfiles.ml b/sysprep/sysprep_operation_logfiles.ml index 5e6ce7f..a2b1585 100644 --- a/sysprep/sysprep_operation_logfiles.ml +++ b/sysprep/sysprep_operation_logfiles.ml @@ -38,6 +38,10 @@ let globs = List.sort compare [ "/var/log/spooler*"; "/var/log/tallylog*"; "/var/log/wtmp*"; + "/var/log/apache2/*_log"; + "/var/log/apache2/*_log-*"; + "/var/log/audit/audit.log"; + "/var/log/ntp"; (* logfiles configured by /etc/logrotate.d/* *) "/var/log/BackupPC/LOG"; -- 1.7.12
Possibly Parallel Threads
- [PATCH 1/2] sysprep: remove the logfiles configured by logrotate
- [PATCH 1/2] sysprep: remove fontconfig cache
- [PATCH 1/5] sysprep: remove /var/log/audit/audit.log
- [PATCH] sysprep: remove more anaconda and tuned logs (RHBZ#1039540).
- [PATCH] sysprep: remove the process accounting log files