Bug 457687

Summary: fail to read kickstart file
Product: [Fedora] Fedora EPEL Reporter: Wart <wart>
Component: livecd-toolsAssignee: Jeroen van Meeuwen <vanmeeuwen+fedora>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: el5CC: katzj, markmc, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-16 23:39: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:

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