[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Include the contents of /proc/cmdline in exception reports



Include /proc/cmdline in exception dumps so that we can see
what arguments people are trying to pass
---
 exception.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/exception.py b/exception.py
index cc03dba..3c614ea 100644
--- a/exception.py
+++ b/exception.py
@@ -229,7 +229,8 @@ class AnacondaExceptionDump:
                      "/tmp/lvmout", "/tmp/resize.out",
                      "/tmp/program.log", "/tmp/storage.log",
                      anaconda.rootPath + "/root/install.log",
-                     anaconda.rootPath + "/root/upgrade.log"):
+                     anaconda.rootPath + "/root/upgrade.log",
+                     "/proc/cmdline"):
             try:
                 f = open(file, 'r')
                 line = "\n\n%s:\n" % (file,)
-- 
1.6.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]