Pino Toscano
2013-Dec-09 15:19 UTC
[Libguestfs] [PATCH] sysprep: remove more anaconda and tuned logs (RHBZ#1039540).
--- sysprep/sysprep_operation_logfiles.ml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sysprep/sysprep_operation_logfiles.ml b/sysprep/sysprep_operation_logfiles.ml index 8994af9..3055ca4 100644 --- a/sysprep/sysprep_operation_logfiles.ml +++ b/sysprep/sysprep_operation_logfiles.ml @@ -41,6 +41,7 @@ let globs = List.sort compare [ "/var/log/apache2/*_log"; "/var/log/apache2/*_log-*"; "/var/log/ntp"; + "/var/log/tuned/tuned.log"; (* logfiles configured by /etc/logrotate.d/* *) "/var/log/BackupPC/LOG"; @@ -66,6 +67,8 @@ let globs = List.sort compare [ "/root/install.log"; "/root/install.log.syslog"; "/root/anaconda-ks.cfg"; + "/root/anaconda-post.log"; + "/var/log/anaconda.syslog"; (* GDM and session preferences. *) "/var/cache/gdm/*"; -- 1.8.3.1
Richard W.M. Jones
2013-Dec-09 15:23 UTC
Re: [Libguestfs] [PATCH] sysprep: remove more anaconda and tuned logs (RHBZ#1039540).
On Mon, Dec 09, 2013 at 04:19:10PM +0100, Pino Toscano wrote:> --- > sysprep/sysprep_operation_logfiles.ml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/sysprep/sysprep_operation_logfiles.ml b/sysprep/sysprep_operation_logfiles.ml > index 8994af9..3055ca4 100644 > --- a/sysprep/sysprep_operation_logfiles.ml > +++ b/sysprep/sysprep_operation_logfiles.ml > @@ -41,6 +41,7 @@ let globs = List.sort compare [ > "/var/log/apache2/*_log"; > "/var/log/apache2/*_log-*"; > "/var/log/ntp"; > + "/var/log/tuned/tuned.log"; > > (* logfiles configured by /etc/logrotate.d/* *) > "/var/log/BackupPC/LOG"; > @@ -66,6 +67,8 @@ let globs = List.sort compare [ > "/root/install.log"; > "/root/install.log.syslog"; > "/root/anaconda-ks.cfg"; > + "/root/anaconda-post.log"; > + "/var/log/anaconda.syslog"; > > (* GDM and session preferences. *) > "/var/cache/gdm/*"; > -- > 1.8.3.1ACK. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/
Maybe Matching Threads
- [PATCH] sysprep: remove some Pegasus files, like certs (RHBZ#1041552).
- [PATCH 1/5] sysprep: remove /var/log/audit/audit.log
- [PATCH 1/2] sysprep: remove the logfiles configured by logrotate
- [PATCH 1/2] sysprep: remove fontconfig cache
- [PATCH] sysprep: remove the process accounting log files