FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 02-26-2010, 08:01 PM
Chris Lumens
 
Default On live installs, the syslog is /var/log/dmesg. (#568814).

This is because we use the system syslog on live installs instead of
starting our own with its own special file locations.
---
exception.py | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/exception.py b/exception.py
index 7e27945..1075717 100644
--- a/exception.py
+++ b/exception.py
@@ -90,6 +90,15 @@ class AnacondaExceptionHandler(ExceptionHandler):
os.kill(os.getpid(), signal.SIGKILL)

def initExceptionHandling(anaconda):
+ fileList = [ "/tmp/anaconda.log", "/tmp/lvmout", "/tmp/resize.out",
+ "/tmp/program.log", "/tmp/storage.log", "/tmp/yum.log",
+ anaconda.rootPath + "/root/install.log",
+ anaconda.rootPath + "/root/upgrade.log", "/proc/cmdline" ]
+ if flags.livecdInstall:
+ fileList.extend(["/var/log/dmesg"])
+ else:
+ fileList.extend(["/tmp/syslog"])
+
conf = Config(programName="anaconda",
programVersion=isys.getAnacondaVersion(),
attrSkipList=[ "backend.ayum",
@@ -116,12 +125,7 @@ def initExceptionHandling(anaconda):
"intf.icw.stockButtons",
],
localSkipList=[ "passphrase", "password" ],
- fileList=[ "/tmp/syslog", "/tmp/anaconda.log", "/tmp/lvmout",
- "/tmp/resize.out", "/tmp/program.log",
- "/tmp/storage.log", "/tmp/yum.log",
- anaconda.rootPath + "/root/install.log",
- anaconda.rootPath + "/root/upgrade.log",
- "/proc/cmdline"])
+ fileList=fileList)
handler = AnacondaExceptionHandler(conf, anaconda.intf, ReverseExceptionDump)
handler.install(anaconda)

--
1.6.5.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-26-2010, 08:06 PM
 
Default On live installs, the syslog is /var/log/dmesg. (#568814).

> diff --git a/exception.py b/exception.py
> index 7e27945..1075717 100644
> --- a/exception.py
> +++ b/exception.py
> @@ -90,6 +90,15 @@ class AnacondaExceptionHandler(ExceptionHandler):
> os.kill(os.getpid(), signal.SIGKILL)
>
> def initExceptionHandling(anaconda):
> + fileList = [ "/tmp/anaconda.log", "/tmp/lvmout", "/tmp/resize.out",
> + "/tmp/program.log", "/tmp/storage.log", "/tmp/yum.log",
> + anaconda.rootPath + "/root/install.log",
> + anaconda.rootPath + "/root/upgrade.log", "/proc/cmdline" ]
> + if flags.livecdInstall:
> + fileList.extend(["/var/log/dmesg"])
> + else:
> + fileList.extend(["/tmp/syslog"])
> +
> conf = Config(programName="anaconda",
> programVersion=isys.getAnacondaVersion(),
> attrSkipList=[ "backend.ayum",

I need to be more careful what branch I'm sending patches from. This
patch came from my fixes branch which also has my reportification
patches. Therefore it's slightly wrong. In the final version, there
will still be a

bugFiler=anaconda.instClass.bugFiler,

argument as well.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 05:05 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org