Bug 592825

Summary: syntax mistake in /etc/bashrc pathmunge
Product: Red Hat Enterprise Linux 6 Reporter: Ondrej Vasik <ovasik>
Component: setupAssignee: Ondrej Vasik <ovasik>
Status: CLOSED CURRENTRELEASE QA Contact: Ondrej Moriš <omoris>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: aron, azelinka, omoris, ovasik, pknirsch
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: setup-2.8.14-7.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 592799 Environment:
Last Closed: 2010-11-10 21:37:32 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: 592799    
Bug Blocks:    

Description Ondrej Vasik 2010-05-17 05:47:17 UTC
+++ This bug was initially created as a clone of Bug #592799 +++

Created an attachment (id=414438)
fix it

Description of problem:
pathmunch in /etc/bashrc quotes the regex. Current versions of bash require the regex to be unquoted (just like glob-matching), so the regex will never match. Note the var $1 should still be quoted to prevent interpretation of regex chars.

Version-Release number of selected component (if applicable):
setup-2.8.17-1.fc13.noarch

Actual results:
$PATH with dups

Expected results:
$PATH without dups

--- Additional comment from ovasik on 2010-05-17 01:46:31 EDT ---

Thanks for report, I see - changed between 3.1 and 3.2 . Will fix that...

Comment 1 RHEL Program Management 2010-05-17 06:05:42 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 2 Ondrej Vasik 2010-05-19 13:53:53 UTC
Fixed in setup-2.8.14-7.el6 -> MODIFIED

Comment 5 releng-rhel@redhat.com 2010-11-10 21:37:32 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.