Bug 433777 - anaconda fails to run with --rootpath option
Summary: anaconda fails to run with --rootpath option
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda
Version: 5.2
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-21 13:13 UTC by Alexander Todorov
Modified: 2008-02-21 20:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-21 20:06:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alexander Todorov 2008-02-21 13:13:14 UTC
Description of problem:
when executed with the --rootpath option anaconda will fail

Version-Release number of selected component (if applicable):
anaconda-11.1.2.101-1

How reproducible:
Always

Steps to Reproduce:
1. /usr/sbin/anaconda --rootpath=/root/anaconda --method=http://server/tree
  
Actual results:
[root@ibm-alishan ~]# /usr/sbin/anaconda --rootpath=/root/anaconda
--method=http://server/tree
Traceback (most recent call last):
  File "/usr/sbin/anaconda", line 614, in ?
    instClass = getInstClass(opts)
  File "/usr/sbin/anaconda", line 363, in getInstClass
    retval = cobject(flags.expert)
  File "/usr/lib/anaconda/installclasses/rhel.py", line 163, in __init__
    self.tasks = self.taskMap[productPath.lower()]
KeyError: 'anaconda'


Expected results:
Anaconda runs and proceeds with installation. 

Additional info:
Both anaconda and anaconda-runtime packages are installed.
SELinux is in permissive mode. Host has the same OS version as in
http://server/tree. Trying to install the packages in a directory.

The above works for Fedora8 host/tree.

Comment 2 Joel Andres Granados 2008-02-21 15:35:06 UTC
This does not happen because of changes made for RHEL5.2,  thie bug appears in
RHEL5.1.

Comment 3 Alexander Todorov 2008-02-21 15:39:19 UTC
Also appears in RHEL 5 GA

Comment 4 Joel Andres Granados 2008-02-21 20:06:58 UTC
This works well in Fedora.
Additionally to make this work in RHEL5 there would have to be a big effort and
IMO it would not be worth it given the importance of the bug.


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