Bug 82464
| Summary: | Crashes if --isodir=<directory> does not have trailing / | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Jon Burgess <jburgess777> |
| Component: | redhat-config-packages | Assignee: | Jeremy Katz <katzj> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9 | ||
| 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: | 2003-07-30 23:07:57 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 79579, 100644 | ||
Fixed in cvs, will be in 1.1.6-1 Closing out some bugs that have been in MODIFIED state. Please reopen if they persist. |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 Description of problem: Phoebe (RH-8.0.93) redhat-config-packages-1.1.5-1 When trying to add extra packages from iso images in a directory, redhat-config-packages only works if the directory name is specified with a trailing slash, otherwise an error is returned. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: redhat-config-packages --isodir=/usr/src/RedHat-8.0.93/iso/i386 Actual Results: Traceback (most recent call last): File "/usr/share/redhat-config-packages/MainWindow.py", line 151, in ? im = get_method(args) File "/usr/share/redhat-config-packages/config.py", line 53, in get_method return method.LoopbackIsoInstallMethod(isodir) File "/usr/share/redhat-config-packages/method.py", line 328, in __init__ self.mountDisc(1) File "/usr/share/redhat-config-packages/method.py", line 378, in mountDisc readOnly = 1) File "/usr/lib/python2.2/site-packages/rhpl/diskutil.py", line 82, in losetup targ = os.open(file, mode) OSError: [Errno 2] No such file or directory: '/usr/src/RedHat-8.0.93/iso/i386phoebe-i386-disc1.iso' [ Note the application appended the filename without adding a / after the directory name ] Expected Results: [ No errror ] This command works OK, apart from warnings: redhat-config-packages --isodir=/usr/src/RedHat-8.0.93/iso/i386/ * Core references package efibootmgr which doesn't exist * Core references package elilo which doesn't exist ... Additional info: This bug also exists in RH-8.0