Bug 1450046

Summary: icedtea-web icedteaweb-completion:`_itweb-settings': not a valid identifier
Product: Red Hat Enterprise Linux 7 Reporter: dbodnarc
Component: icedtea-webAssignee: jiri vanek <jvanek>
Status: CLOSED NEXTRELEASE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: cww, jvanek
Target Milestone: rcKeywords: EasyFix
Target Release: 7.4   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-26 09:07:01 UTC Type: Bug
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: 1420851, 1473612    

Description dbodnarc 2017-05-11 12:42:48 UTC
Description of problem:
As per customer example - rc scripts (.profile, .bashrc) which doesn't conform to POSIX mode causes issues (i.e. while using tigervnc)

According to the bash manual, names should contain letters, digits and underscores only. 

However there are files commonly used inside .bashrc that do not conform to POSIX mode.

The following script use hyphens in function names:
in /etc/bash_completion.d/: icedteaweb-completion

Version-Release number of selected component (if applicable):
icedtea-web-1.6.1-4.el7.x86_64

Steps to Reproduce:
1. $ bash --posix
2. $ . /etc/profile.d/bash_completion.sh
bash: `_itweb-settings': not a valid identifier

Actual results:
bash: `_itweb-settings': not a valid identifier

Expected results:
no errors

Comment 2 jiri vanek 2017-05-11 13:44:32 UTC
If I can read the error correctly, rhis was recently fixed usptream: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3365

Easy and safe to backport.

Comment 3 jiri vanek 2018-02-26 09:07:01 UTC
Should be fixed by upcoming rebase: https://bugzilla.redhat.com/show_bug.cgi?id=1475411