Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13758

elytron-tool.* scripts use SEP variable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.2.0.CD12
    • 7.1.0.CR4
    • Security
    • None
    • Hide
      export SEP=\\
      ./elytron-tool.sh 
      
      ./elytron-tool.sh: eval: line 80: unexpected EOF while looking for matching `"'
      ./elytron-tool.sh: eval: line 81: syntax error: unexpected end of file
      
      Show
      export SEP=\\ ./elytron-tool.sh ./elytron-tool.sh: eval: line 80: unexpected EOF while looking for matching `"' ./elytron-tool.sh: eval: line 81: syntax error: unexpected end of file

      Customer impact low. Problem occures when environment defines SEP environment variable. If this happens user can unset variable locally or use elytron subsystem for managing credential stores (alternative to elytron-tool script)

      SEP for variable name is too general. It can happen running environment uses it for other purpose. Rename variable SEP in elytron-tool.* scripts (bat,ps1,sh) using namespace to ELYTRON_TOOL_SEP, as there are already variables using this namespace; ELYTRON_TOOL_RUNJAR, ELYTRON_TOOL_ADDONS.

      Variable SEP is not used in any other script.

              rhn-support-ivassile Ilia Vassilev
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: