From 56cfb8a9262c508169fd69ea4ca8a8db4b5a5a35 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Fri, 3 Oct 2014 14:24:48 +0200 Subject: [PATCH] sysprep: remove more logs - remove firewalld, grubby, and proftpd logs - extend the cups log removal also to its timestamped rotated logs - remove also the libvirt/libxl logs --- sysprep/sysprep_operation_logfiles.ml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sysprep/sysprep_operation_logfiles.ml b/sysprep/sysprep_operation_logfiles.ml index 1b90d9f4c..7659a18ff 100644 --- a/sysprep/sysprep_operation_logfiles.ml +++ b/sysprep/sysprep_operation_logfiles.ml @@ -45,16 +45,20 @@ let globs = List.sort compare [ "/var/log/debug*"; "/var/log/syslog*"; "/var/log/faillog*"; + "/var/log/firewalld*"; + "/var/log/grubby*"; + "/var/log/xferlog*"; (* logfiles configured by /etc/logrotate.d/* *) "/var/log/BackupPC/LOG"; "/var/log/ceph/*.log"; "/var/log/chrony/*.log"; - "/var/log/cups/*_log"; + "/var/log/cups/*_log*"; "/var/log/glusterfs/*glusterd.vol.log"; "/var/log/glusterfs/glusterfs.log"; "/var/log/httpd/*log"; "/var/log/jetty/jetty-console.log"; + "/var/log/libvirt/libxl/*.log"; "/var/log/libvirt/libvirtd.log"; "/var/log/libvirt/lxc/*.log"; "/var/log/libvirt/qemu/*.log";