Project

General

Profile

Bug #73551

Force en_US.UTF-8 locale for iocage

Added by Waqar Ahmed 9 months ago. Updated 7 months ago.

Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Middleware
Target version:
Severity:
Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

We should forces locale settings to be 'en_US.UTF-8' for iocage fixing any unintended issues with user's locale settings.

Risk
We risk breaking all file handling and stdout/stderr

Acceptance Criteria
So with default locale settings, there should be no issues creating/starting/stopping/destroying jails. Locale settings could be changed and then jails should be created/started/stopped/destroyed and ensured that we don't have any issues.
This should be tested with CLI though. Checking it via freenas UI may result in unintended consequences with locale settings changed and this ticket does not affect/concern the lib portion

History

#1 Updated by Waqar Ahmed 9 months ago

#2 Updated by Waqar Ahmed 9 months ago

  • Description updated (diff)

#3 Updated by Waqar Ahmed 9 months ago

  • Status changed from In Progress to Ready for Testing

#4 Updated by Dru Lavigne 9 months ago

  • Subject changed from Correct Locale settings to Forces en_US.UTF-8 locale for iocage
  • Target version changed from 11.3 to 11.3-BETA1

#5 Updated by Dru Lavigne 9 months ago

  • Subject changed from Forces en_US.UTF-8 locale for iocage to Force en_US.UTF-8 locale for iocage

#6 Updated by Bonnie Follweiler 9 months ago

Assigned to Zackary Welch

#7 Avatar?id=55038&size=24x24 Updated by Zackary Welch 9 months ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Created a jail and saw the locale setting was set to en_US.UTF-8. Changed the system environment LANG and a new jail was still set to en_US.UTF-8, so this seems to pass.

#8 Updated by Dru Lavigne 8 months ago

  • Status changed from Passed Testing to Done
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#10 Updated by Dru Lavigne 7 months ago

  • Target version changed from 11.3-BETA1 to 11.3-ALPHA1

Also available in: Atom PDF