Bug 66934
| Summary: | explicit prefix "/mnt/cdrom" causes problems if iso is mounted elsewhere | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Ben Levenson <benl> |
| Component: | Server | Assignee: | Adrian Likins <alikins> |
| Status: | CLOSED NOTABUG | QA Contact: | Fanny Augustin <fmoquete> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | cturner, gafton, gdk, mihai.ibanescu, pjones |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2002-06-21 15:22:18 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: | |||
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. |
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 from /usr/sbin/satinstall: <snip> 30 prefix = "/mnt/cdrom/" 31 sys.path.append("%s/usr/share/rhn/" % prefix) 32 33 from satinstall import tnsnames 34 from satinstall import satConfig 35 from satinstall import satInstall 36 from satinstall import satInstallErrors <snip> Steps to Reproduce: 1. mount the iso at anything but /mnt/cdrom 2. try to launch the installer Additional Information: should the prefix be dynamic? I don't know python, otherwise I might offer another suggestion.