%traceback section in config file?

Chris Lumens clumens at redhat.com
Mon Jan 26 15:33:59 UTC 2009


>> Yes, a %traceback is a type of script just like a %pre or %post.  It
>> executes in the event anaconda gets a traceback, which is a python
>> error.  We use these for automated install testing and reporting.  I
>> don't think they are overly useful to end users, but who knows.
>
> Thanks, Chris. Do you know if this is documented anywhere? For example,  
> can I get access to the traceback in the script? Are there any options  
> to the %traceback section itself?
>
> I might have a use for this.
>
> If it's not documented, I'll dig out the source.

It's not documented very well, no.  You can access the traceback by
looking at /tmp/anacdump.txt.  It takes the same options as a %post
script does.

As usual, the source is the best documentation though.

- Chris




More information about the Kickstart-list mailing list