RE: anaconda KeyError exception in %pre section

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

 



Figured out what caused the error message.  If the KS file is changed by one
of hte %pre scripts then the error is generated.  I know that anaconda
rereads the ks.cfg file if is is modified.  I'm not clear why there would be
an error though, because the change is minimal.
>  -----Original Message-----
> From: 	Fong Vang  
> Sent:	Monday, June 30, 2003 10:35 AM
> To:	'anaconda-devel-list@xxxxxxxxxx'
> Subject:	anaconda KeyError exception in %pre section
> 
> I have a shell script in the %pre section which causes the install to
> abort with an exception.  The error message reported is
> 
> Traceback (most recent call last):
>   File "/usr/bin/anaconda", line 705, in ?
>     instClass.setInstallData(id)
>   File "/usr/lib/anaconda/kickstart.py", line 1154, in setInstallData
>     self.readKickstart(id, self.file)
>   File "/usr/lib/anaconda/kickstart.py", line 667, in readKickstart
>     if handlers[args[0]]:
> KeyError: /mnt/source/pretools/finish.sh
> install exited abnormally
> sending termination signals...done
> sending kill signals...done
> disabling swap...
> unmounting filesystems...
> ....
> you may reboot
> 
> 
> There's nothing special int he finish script.  I checked the exit code of
> this script which is 0.  The script works sometimes and not others; it
> doesn't always fail.
> 
> This is anaconda under RedHat 9.  Anyone know what could be causing the
> error?  What is line 667 (kickstart.py) checking for? 
> 
> Thanks.
> 
> 
This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm)
service.  For more information, visit us at www.zantaz.com. 
IMPORTANT: This electronic mail message is intended only for the use of the
individual or entity to which it is addressed and may contain information
that is privileged, confidential or exempt from disclosure under applicable
law.  If the reader of this message is not the intended recipient, or the
employee or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If you have received
this communication in error, please notify the sender immediately by
telephone or directly reply to the original message(s) sent.  Thank you.




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux