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

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



Looks ok,

Regards,

Hans


On 06/16/2009 04:57 PM, Jeremy Katz wrote:
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,)


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