ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013201ClearOSapp-language - Languagepublic2017-02-21 13:192018-09-26 09:26
Reporterdloper 
Assigned Todloper 
PriorityhighSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version7.2.0 Updates 
Target Version7.3.1Fixed in Version7.3.1 
Summary0013201: Language detection from grub
DescriptionOn firstboot and subsequent boots, webconfig should preview environment variables potentially set in grub and change the language of the OS and the web interface if the environment variable is changed in any of these files:

/boot/grub2/grubenv
/boot/efi/EFI/clearos/grubenv
/boot/efi/EFI/install/grubenv

The priority is the last item.

A sample output of this text file is:

# GRUB Environment Block
saved_entry=ClearOS (3.10.0-327.36.1.v7.x86_64) 7 (Final)
lang=en
language=en_US
raid=RAID
raidmode=BTRFS
#############... snip ...

NOTE: THERE IS NO CARRIAGE RETURN ON THE LAST LINE OF THE BOOT BLOCK

Standard file which is ignored may look like this:

# GRUB Environment Block
saved_entry=ClearOS (3.10.0-514.6.1.el7.x86_64) 7 (Beta 1)
#############... snip ...
Additional InformationFeel free to cross sync this data if it exists so that if a change is made in Webconfig that it ALSO affects grubenv variables IF they exist.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0004891)
user2
2017-02-23 16:33

The grub2-to-locale.conf conversion will be checked on first boot and only first boot.
(0005001)
user2
2017-03-09 08:57

Requires verification.

- Issue History
Date Modified Username Field Change
2017-02-21 13:19 dloper New Issue
2017-02-21 13:37 user2 Status new => confirmed
2017-02-21 13:37 user2 Target Version 7.3.0 => 7.3.1
2017-02-21 13:38 user2 Category webconfig-utils => app-language - Language
2017-02-21 13:56 user2 Description Updated View Revisions
2017-02-23 16:33 user2 Note Added: 0004891
2017-02-23 16:33 user2 Status confirmed => resolved
2017-02-23 16:33 user2 Resolution open => fixed
2017-02-23 16:33 user2 Assigned To => user2
2017-03-09 08:57 user2 Assigned To user2 => dloper
2017-03-09 08:57 user2 Status resolved => assigned
2017-03-09 08:57 user2 Note Added: 0005001
2017-03-09 08:57 user2 Status assigned => resolved
2017-03-09 08:57 user2 Fixed in Version => 7.3.1
2018-09-26 09:26 user2 Status resolved => closed