Bug 457687 - fail to read kickstart file
Summary: fail to read kickstart file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: livecd-tools
Version: el5
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeroen van Meeuwen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-03 16:45 UTC by Wart
Modified: 2008-10-16 23:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-10-16 23:39:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Wart 2008-08-03 16:45:59 UTC
Description of problem:
livecd-creator fails on RHEL5.2 when trying to parse the kickstart file

Version-Release number of selected component (if applicable):
livecd-tools-013-5.el5

How reproducible:
Always

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 ?
    sys.exit(main())
  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:
@korean-support

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 17:25:24 UTC
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 18:22:45 UTC
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 23:39:10 UTC
Fixed in the latest build


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