Red Hat Bugzilla – Bug 66934
explicit prefix "/mnt/cdrom" causes problems if iso is mounted elsewhere
Last modified: 2007-07-31 15:07:57 EDT
Description of Problem:
Traceback occurs if the installer isn't mounted @ /mnt/cdrom:
[root@test81 root]# /mnt/installer/usr/sbin/satinstall
Traceback (innermost last):
File "/mnt/installer/usr/sbin/satinstall", line 33, in ?
from satinstall import tnsnames
ImportError: No module named satinstall
30 prefix = "/mnt/cdrom/"
31 sys.path.append("%s/usr/share/rhn/" % prefix)
33 from satinstall import tnsnames
34 from satinstall import satConfig
35 from satinstall import satInstall
36 from satinstall import satInstallErrors
Steps to Reproduce:
1. mount the iso at anything but /mnt/cdrom
2. try to launch the installer
should the prefix be dynamic? I don't know python, otherwise I might offer
Not really a bug. We are working on the assumption the
installer is always mounted on /mnt/cdrom.
If that assumption is not correct, we need to change
the spec and the code.
gdk: we are still assuming the cd will be at /mnt/cdrom correct?
Easy enough to make /mnt/cdrom an explicit requirement, since we're doing a
clean install. Closing.