[Pkg-libvirt-commits] [libguestfs] 01/14: excludefiles: Exclude various common log files when building the appliance.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Aug 30 08:29:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag upstream/1.27.21
in repository libguestfs.
commit 1e1d7cf6af45d9334e9cf24f771c47159d9a4fca
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Wed Jul 2 14:24:14 2014 +0100
excludefiles: Exclude various common log files when building the appliance.
These log files can get pretty big, and that causes problems
like this one:
http://linuxforum.ru/viewtopic.php?id=35381
and this one:
https://bugzilla.redhat.com/show_bug.cgi?id=1099172
In both cases the problem was /var/log/lastlog which is apparently a
large sparse file. Supermin cannot cope with sparseness, so it copies
the whole file non-sparse. But since this could affect other log
files this commit covers various common log file names and patterns.
Thanks: semperN
---
appliance/excludefiles.in | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in
index a2745b0..bf8e721 100644
--- a/appliance/excludefiles.in
+++ b/appliance/excludefiles.in
@@ -29,6 +29,13 @@ dnl The right kernel modules are added back by supermin.
-/usr/share/i18n/*
-/usr/share/pkgconfig/*
+-/var/log/*.log*
+-/var/log/cron*
+-/var/log/lastlog*
+-/var/log/messages*
+-/var/log/secure*
+-/var/log/syslog*
+
dnl For Debian:
-/usr/share/lintian/*
-/usr/share/initramfs-tools/*
--
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