Uploaded image for project: 'Beaker'
  1. Beaker
  2. BKR-1140

~/.ssh/environment should be configured with LANG=en_US.UTF-8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Ready for Merge
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:

      Error rendering 'issue-templates-customfield'. Please contact your Jira administrators.

    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      In some environments the LANG / LC variables are not present in Beaker SSH sessions. This leads to problems because Ruby will set its Default encoding to US-ASCII by default, and Puppet may emit UTF-8 characters in output based on acceptance tests.

      I suggest for now that ~/.ssh/environment be modified to add LANG=en_us.UTF-8 universally. While image templates could be modified, third parties also use Beaker and may not have configured images in the same way. Puppet only supports UTF-8 as an encoding.

      This should likely be surfaced as a host configuration option at some point, but I think the simple solution is probably most appropriate for now.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ethan Ethan Brown
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support