Red Hat Bugzilla – Bug 457687
fail to read kickstart file
Last modified: 2008-10-16 19:39:10 EDT
Description of problem:
livecd-creator fails on RHEL5.2 when trying to parse the kickstart file
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a scratch directory /pub/livecd
2. cp /usr/share/livecd-tools/*.ks /pub/livecd/
3. mkdir /pub/livecd/tmp
4. Try to create a new live cd with livecd-creator -t `pwd`/tmp -c livecd-fedora-desktop.ks
# livecd-creator -t `pwd`/tmp -c livecd-fedora-desktop.ks
Using label 'fedora-desktop-200808021858' and name 'livecd-fedora-desktop-200808021858'
Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 133, in ?
File "/usr/bin/livecd-creator", line 106, in main
ks = imgcreate.read_kickstart(options.kscfg)
File "/usr/lib/python2.4/site-packages/imgcreate/kickstart.py", line 59, in read_kickstart
raise errors.KickstartError("Failed to parse kickstart file "
imgcreate.errors.KickstartError: Failed to parse kickstart file 'livecd-fedora-desktop.ks' : There was a problem reading from line 64 of the kickstart file
new live cd is created
Line 64 of the kickstart file looks normal:
I saw some posts on the fedora-livecd list about potential problems using livecd-tools with selinux in enforcing mode, but switching to Permissive mode did not make any difference.
Found the error which is actually in livecd-fedora-base-desktop.ks, which has %end. Will be fixing this and submitting an update in the next few minutes
OK, so I built livecd-tools-013-6.el5 in plague so I guess it should land epel-updates-testing shortly. It seems the plague webinterface doesn't work right now so I can't link you a sneak preview built RPM.
Fixed in the latest build