Bug 498315 - ks %pre hangs forever in text mode install
Summary: ks %pre hangs forever in text mode install
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-29 20:25 UTC by Alexandre Oliva
Modified: 2009-04-29 20:33 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-04-29 20:33:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alexandre Oliva 2009-04-29 20:25:08 UTC
Description of problem:
Graphical install won't start on one of my machines (bug 498312), and this in turn triggers what appears to be a bug in kickstart %pre commands in text mode.

When it writes on the screen that it's running the pre commands, the second line on the screen has such noise as 'rhpl.executil waitpid: None', and it appears to run forever, even though the kickstart file says:
%pre
hostname libero
%end

After waiting a while, I switch to VT2, then back to VT1, and I see the following (incomplete) exception backtrace:

  File "/usr/lib/anaconda/kickstart.py", line 1087, in preScriptPass
    runPreScripts(anaconda, ksparser.handler.scripts)
  File "/usr/lib/anaconda/kickstart.py", line 1185, in runPreScripts
    map (lambda s: s.run("/", flags.serial, anaconda.intf), preScripts)
  File "/usr/lib/anaconda/kickstart.py , line 1185, in <lambda>
    map (lambda s: s.run("/", flags.serial, anaconda.intf), preScripts)
  File "/usr/lib/anaconda/kickstart.py , line 84, run
    root = scriptRoot)
  File "/usr/lib/anaconda/iutil.py", line 106, in execWithRedirect
    except OSError, (errno, msg):
ValueError: need more than 0 values to unpack
install exited abnormally [1/1]

Version-Release number of selected component (if applicable):
F11-Preview

How reproducible:
Every time

Steps to Reproduce:
1.Run kickstart install in text mode, with a %pre script

Comment 1 Chris Lumens 2009-04-29 20:33:25 UTC
There are a couple problems here, and they should all be fixed in the final release.  They're actually fixed in .48, but that was not included in the preview.


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