Project

General

Profile

Actions

Bug #12131

closed

Agent script argument parsing failure when using non-default locale

Bug #12131: Agent script argument parsing failure when using non-default locale

Added by The Ranger almost 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
80
Name check:
Fix check:
Regression:

Description

In certain non-default locales (such as et_EE.UTF-8 for example), rudder script fails parsing command line arguments:

rudder agent
Unknown role 'agen'

Usage: rudder help
rudder agent <command> [parameters ...]
rudder remote <command> [parameters ...]
rudder server <command> [parameters ...]

Updated by The Ranger almost 8 years ago Actions #1

Added a proposed bug fix in this PR: https://github.com/Normation/rudder-agent/pull/155

Updated by Vincent MEMBRÉ almost 8 years ago Actions #2

  • Subject changed from Agent script argument parsing failure to Agent script argument parsing failure when using non-default locale
  • Target version set to 4.1.10
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
  • Effort required set to Very Small
  • Priority changed from 0 to 80

Thank you the ranger for reporting!

We will try to include your fix in the next round of release (4.1.10 / 4.2.4 / 4.3.0)

Many thanks that you have already added the "Fixes #xxxx" prefix in the commit message!

Updated by Alexis Mousset almost 8 years ago Actions #3

  • Status changed from New to In progress
  • Assignee changed from The Ranger to Alexis Mousset

Updated by Alexis Mousset almost 8 years ago Actions #4

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to The Ranger

Updated by Alexis Mousset almost 8 years ago Actions #5

  • Status changed from Pending technical review to New
  • Pull Request set to https://github.com/Normation/rudder-agent/pull/158

Updated by Alexis Mousset almost 8 years ago Actions #6

  • Status changed from New to Pending technical review
  • Assignee changed from The Ranger to Vincent MEMBRÉ

Updated by The Ranger almost 8 years ago Actions #7

  • Status changed from Pending technical review to Pending release

Updated by Vincent MEMBRÉ almost 8 years ago Actions #8

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.10 and 4.2.4 which were released today.

Actions

Also available in: PDF Atom