[Pkg-libvirt-commits] [libguestfs] 11/179: sysprep: remove more logs

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 31 19:07:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 56cfb8a9262c508169fd69ea4ca8a8db4b5a5a35
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Fri Oct 3 14:24:48 2014 +0200

    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 1b90d9f..7659a18 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";

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list