Project

General

Profile

Bug #12131

Agent script argument parsing failure when using non-default locale

Added by The Ranger 7 months ago. Updated 7 months ago.

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

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 ...]

Associated revisions

Revision 124464b1 (diff)
Added by The Ranger 7 months ago

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

History

#1 Updated by The Ranger 7 months ago

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

#2 Updated by Vincent MEMBRÉ 7 months ago

  • 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!

#3 Updated by Alexis MOUSSET 7 months ago

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

#4 Updated by Alexis MOUSSET 7 months ago

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

#5 Updated by Alexis MOUSSET 7 months ago

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

#6 Updated by Alexis MOUSSET 7 months ago

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

#7 Updated by The Ranger 7 months ago

  • Status changed from Pending technical review to Pending release

#8 Updated by Vincent MEMBRÉ 7 months ago

  • 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.

Also available in: Atom PDF