Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 163416

Summary: /usr/sbin/system-install-packages fails if cwd has spaces in name
Product: [Fedora] Fedora Reporter: Edward J. Huff <ejhuff>
Component: system-config-packagesAssignee: Jeremy Katz <katzj>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-21 20:02:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Edward J. Huff 2005-07-16 01:27:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
exec python /usr/share/system-config-packages/SinglePackageWindow.py $*

should read

exec python /usr/share/system-config-packages/SinglePackageWindow.py "$*"


Version-Release number of selected component (if applicable):
system-config-packages-1.2.25-1

How reproducible:
Always

Steps to Reproduce:
1. mkdir 'two words'
2. cd 'two words'
3. /usr/bin/system-install-packages $(pwd)/foo.rpm


Actual Results:  After entering root password, got an alert:

Could not open package.
The file '/home/user/two' could not be read.
Make sure you have ...


Expected Results:  After entering root password, got an alert:

Could not open package.
The file '/home/user/two words/foo.rpm' could not be read.
Make sure you have ...


Additional info:

fgrep '$*' /usr/sbin/* shows a number of similar bugs.

Comment 1 Jeremy Katz 2005-09-21 20:02:49 UTC

*** This bug has been marked as a duplicate of 151621 ***