Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 456064

Summary: dir type sources cannot contain spaces
Product: Red Hat Enterprise Linux 4 Reporter: Tim Goodwin <libresoftwaredesign>
Component: up2dateAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED ERRATA QA Contact: Preethi Thomas <pthomas>
Severity: low Docs Contact:
Priority: low    
Version: 4.6CC: jhutar, libresoftwaredesign, sstover
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-18 20:13:53 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:
Attachments:
Description Flags
one line patch to fix this none

Description Tim Goodwin 2008-07-21 10:48:23 UTC
Description of problem:
There is no way to make up2date look in a directory which contains spaces in its
pathname. Easy fix attached.

Version-Release number of selected component (if applicable):
up2date-4.6.2-7.el4_6.1

How reproducible:
$ echo dir foo '/tmp/has space' >> /etc/sysconfig/rhn/sources
$ <any up2date command>

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Error parsing /etc/sysconfig/rhn/sources
at line: dir foo /tmp/has space

Expected results:
Obviously, I would like up2date to handle pathnames containing spaces!

Additional info:
Patch attached.

Comment 1 Tim Goodwin 2008-07-21 10:48:23 UTC
Created attachment 312239 [details]
one line patch to fix this

Comment 9 errata-xmlrpc 2009-05-18 20:13:53 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0972.html