[Pkg-libvirt-commits] [libguestfs] 64/156: excludefiles: Exclude various common log files when building the appliance.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Aug 30 08:25:52 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository libguestfs.
commit 5e444535706624875c2de41307977067756921ca
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
(cherry picked from commit 1e1d7cf6af45d9334e9cf24f771c47159d9a4fca)
---
appliance/excludefiles.in | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in
index c107268..0923e9f 100644
--- a/appliance/excludefiles.in
+++ b/appliance/excludefiles.in
@@ -28,6 +28,13 @@ dnl The right kernel modules are added back by supermin.
-/usr/share/cracklib/*
-/usr/share/i18n/*
+-/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