[master 1/1] Save the lvm.log Blivet may produce
vpodzime
installerbot-noreply at redhat.com
Mon Oct 19 13:42:58 UTC 2015
From: Vratislav Podzimek <vpodzime at redhat.com>
This file provides LVM debugging information people from the LVM team have
always been asking us for.
---
data/post-scripts/99-copy-logs.ks | 2 +-
pyanaconda/exception.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/data/post-scripts/99-copy-logs.ks b/data/post-scripts/99-copy-logs.ks
index ab8e9cb..638c42c 100644
--- a/data/post-scripts/99-copy-logs.ks
+++ b/data/post-scripts/99-copy-logs.ks
@@ -2,7 +2,7 @@
%post --nochroot
mkdir -p $ANA_INSTALL_PATH/var/log/anaconda
-for log in anaconda.log syslog X.log program.log packaging.log storage.log ifcfg.log yum.log dnf.log dnf.rpm.log; do
+for log in anaconda.log syslog X.log program.log packaging.log storage.log ifcfg.log yum.log dnf.log dnf.rpm.log lvm.log; do
[ -e /tmp/$log ] && cp /tmp/$log $ANA_INSTALL_PATH/var/log/anaconda/
done
cp /tmp/ks-script*.log $ANA_INSTALL_PATH/var/log/anaconda/
diff --git a/pyanaconda/exception.py b/pyanaconda/exception.py
index e698b42..91747db 100644
--- a/pyanaconda/exception.py
+++ b/pyanaconda/exception.py
@@ -227,7 +227,7 @@ def runDebug(self, exc_info):
def initExceptionHandling(anaconda):
fileList = ["/tmp/anaconda.log", "/tmp/packaging.log",
"/tmp/program.log", "/tmp/storage.log", "/tmp/ifcfg.log",
- "/tmp/dnf.log", "/tmp/dnf.rpm.log",
+ "/tmp/dnf.log", "/tmp/dnf.rpm.log", "/tmp/lvm.log",
"/tmp/yum.log", iutil.getSysroot() + "/root/install.log",
"/proc/cmdline"]
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/d28a9f4fb3b4f5251f88f8711fdf66b9a5768b12
More information about the anaconda-patches
mailing list