Bug 457687 - fail to read kickstart file
fail to read kickstart file
Product: Fedora EPEL
Classification: Fedora
Component: livecd-tools (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeroen van Meeuwen
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-08-03 12:45 EDT by Wart
Modified: 2008-10-16 19:39 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-10-16 19:39:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Wart 2008-08-03 12:45:59 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):

How reproducible:

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
Actual results:
# 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

Expected results:
new live cd is created

Additional info:
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.
Comment 1 Jeroen van Meeuwen 2008-08-03 13:25:24 EDT
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
Comment 2 Jeroen van Meeuwen 2008-08-03 14:22:45 EDT
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.
Comment 3 Jeroen van Meeuwen 2008-10-16 19:39:10 EDT
Fixed in the latest build

Note You need to log in before you can comment on or make changes to this bug.