Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 120252
Summary: | Scripted (kickstart) installation fails | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Benny Amorsen <benny+bugzilla> | ||||||||
Component: | anaconda | Assignee: | Jeremy Katz <katzj> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 1.0 | ||||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | i386 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | rhel4 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2006-02-03 18:00:10 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 114961, 123268, 166250 | ||||||||||
Attachments: |
|
Description
Benny Amorsen
2004-04-07 11:20:12 UTC
Can you save the complete dump and attach it? I can't reproduce this here (I do lots of kickstarts with a %post that always gets run). Any odd kernel messages on tty4? Created attachment 99231 [details]
Kickstart file that causes the problem
Here is the kickstart file that causes the problem. The traceback I posted
earlier is all I get as far as I can tell.
Heh, off to change the default root password now... Duh. Is this reproducible with newer trees? The problem persists with anaconda-9.92-8. I haven't tried anything later. I have an ugly workaround patch. Created attachment 100072 [details]
Ugly workaround patch
I am seeing this bug also. My commonality with this kickstart script is that I'm using %includes (much more frequently in my case however) in %post, as well as all other sections. I will be happy to attach my ks.cfg if you desire. Finally reproduced. Fixed in CVS. I had this problem in 3ES U4 with a kickstart config with both %include and %post scripts. Remove either and it didn't generate the error noted above. The fix is VERY similar to Benny's, but I pulled the code from a 4ES U2 anaconda where the readKickstart method is very similar. Patch attached. To use this loopback mount your stage2.img file somewhere, copy all the files to a working directory. Patch $workingdir/usr/lib/anaconda/kickstart.py with the attached patch. mkcramfs $workingdir /tmp/stage2-patched.img copy the /tmp/stage2-patched.img to your kickstart base directory (e.g. $CDROM/RedHat/base/stage2.img). Created attachment 123980 [details]
patch to fix undefined 'script' variable in readKickstart
Read the posting where this is attached for more information on how to apply
it.
|