Bug 768631 - Fedora 16 kickstart file breaks the anaconda 'liveinst' installer.
Summary: Fedora 16 kickstart file breaks the anaconda 'liveinst' installer.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 16
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-17 13:38 UTC by rwhalb
Modified: 2012-03-06 20:14 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-17 21:06:51 UTC
Type: ---


Attachments (Terms of Use)

Description rwhalb 2011-12-17 13:38:45 UTC
Description of problem:
With Fedora 16 using a kickstart file with the anaconda 'liveinst' installer fails when doing a hard disk install. It does not matter which kickstart file is used. 

Version-Release number of selected component (if applicable):
anaconda-16.25-1.fc16.x86_64

How reproducible:
1) Boot up the Fedora 16 Live CD Desktop: "Fedora-16-x86_64-LiveDesktop.iso"

2) Next Perform a 'liveinst' install to the hard disk

3) cd /tmp

4) Create an empty kickstart file (does not matter which one to use).

5) touch "k.cfg"

6) liveinst --kickstart="/tmp/k.cfg"
/usr/sbin/setenforce: SELinux is disabled
localuser:root being added to access control list
08:32:48 Starting graphical installation.
Traceback (most recent call last):
  File "/usr/sbin/anaconda", line 718, in <module>
    kickstart.setSteps(anaconda)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1517, in setSteps
    dispatch.request_steps("tasksel")
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 297, in request_steps
    changes = map(lambda s: self.steps[s].request(self._current_step()), steps)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 297, in <lambda>
    changes = map(lambda s: self.steps[s].request(self._current_step()), steps)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 119, in request
    return self._reschedule(self.SCHED_REQUESTED, current_step)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 98, in _reschedule
    self.namesched(to_sched)))
pyanaconda.errors.DispatchError: Can not reschedule step 'tasksel' from 'skipped' to 'requested'
/usr/sbin/setenforce: SELinux is disabled

  
Actual results: See above.


Expected results:
The anaconda graphical installer would appear using the kickstart file: "k.cfg".

Additional info:

Comment 1 Chris Lumens 2011-12-17 21:06:51 UTC
We're working on a new UI that doesn't involve any dispatcher at all, so there's not really any point in working on this for now.  It won't be an issue in the next release.

Comment 2 rwhalb 2011-12-17 21:19:17 UTC
Chris:

When you say next release are you referring to Fedora 17 or a new release of anaconda with Fedora 16.

Thanks...

Comment 3 Brian Lane 2011-12-21 23:40:44 UTC
Fedora 17. We only work on a version until the release hits the streets so the Fedora 16 version of Anaconda is now frozen.

Comment 4 Rob Woolley 2012-03-06 20:14:35 UTC
Hi rwhalb,

We were able to work around this issue by adding an empty %packages section to our kickstart file.

eg.

%packages
%end

Regards,
Rob

(In reply to comment #0)
> Description of problem:
> With Fedora 16 using a kickstart file with the anaconda 'liveinst' installer
> fails when doing a hard disk install. It does not matter which kickstart file
> is used. 
> 
> Version-Release number of selected component (if applicable):
> anaconda-16.25-1.fc16.x86_64
> 
> How reproducible:
> 1) Boot up the Fedora 16 Live CD Desktop: "Fedora-16-x86_64-LiveDesktop.iso"
> 
> 2) Next Perform a 'liveinst' install to the hard disk
> 
> 3) cd /tmp
> 
> 4) Create an empty kickstart file (does not matter which one to use).
> 
> 5) touch "k.cfg"
> 
> 6) liveinst --kickstart="/tmp/k.cfg"
> /usr/sbin/setenforce: SELinux is disabled
> localuser:root being added to access control list
> 08:32:48 Starting graphical installation.
> Traceback (most recent call last):
>   File "/usr/sbin/anaconda", line 718, in <module>
>     kickstart.setSteps(anaconda)
>   File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1517,
> in setSteps
>     dispatch.request_steps("tasksel")
>   File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 297,
> in request_steps
>     changes = map(lambda s: self.steps[s].request(self._current_step()), steps)
>   File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 297,
> in <lambda>
>     changes = map(lambda s: self.steps[s].request(self._current_step()), steps)
>   File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 119,
> in request
>     return self._reschedule(self.SCHED_REQUESTED, current_step)
>   File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 98, in
> _reschedule
>     self.namesched(to_sched)))
> pyanaconda.errors.DispatchError: Can not reschedule step 'tasksel' from
> 'skipped' to 'requested'
> /usr/sbin/setenforce: SELinux is disabled
> 
> 
> Actual results: See above.
> 
> 
> Expected results:
> The anaconda graphical installer would appear using the kickstart file:
> "k.cfg".
> 
> Additional info:


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