sysprep: remove the logfiles configured by logrotate

Remove the logfiles configured by /etc/logrotate.d/*.
Omit the logfile of "samba" and "sssd" which we removed
them separately .

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
This commit is contained in:
Wanlong Gao
2012-04-27 14:18:52 +08:00
committed by Richard W.M. Jones
parent e493884a76
commit ac75e46c5a

View File

@@ -38,6 +38,27 @@ let globs = List.sort compare [
"/var/log/tallylog*";
"/var/log/wtmp*";
(* logfiles configured by /etc/logrotate.d/* *)
"/var/log/BackupPC/LOG";
"/var/log/ceph/*.log";
"/var/log/chrony/*.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/libvirtd.log";
"/var/log/libvirt/lxc/*.log";
"/var/log/libvirt/qemu/*.log";
"/var/log/libvirt/uml/*.log";
"/var/named/data/named.run";
"/var/log/ppp/connect-errors";
"/var/account/pacct";
"/var/log/setroubleshoot/*.log";
"/var/log/squid/*.log";
(* And the status file of logrotate *)
"/var/lib/logrotate.status";
(* yum installation files *)
"/root/install.log";
"/root/install.log.syslog";