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

Re: [PATCH] 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


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