Bug 41047 - grub/default and localization
grub/default and localization
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Grub
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-5-errata
Assigned To: Philipp Hahn
Janek Walkenhorst
:
Depends on: 41046
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-13 12:15 CEST by Stefan Gohmann
Modified: 2016-05-04 15:18 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2016-04-13 12:15:22 CEST
Needs to be backported to UCS 4.0.

+++ This bug was initially created as a clone of Bug #41046 +++

It is possible to set the grub default entry, see Bug #26763. If the variable is set via LDAP policy, the update-grub is executed without a localization. On the other hand, if the UCR variable is set manually, a localization is set.

My workaround:
if ! grep -q LC_ALL /usr/sbin/update-grub; then sed -i "s|^grub-mkconfig -o|LC_ALL=C grub-mkconfig -o|" /usr/sbin/update-grub; /usr/sbin/update-grub; fi

Ticket #2015121821000574
Comment 1 Philipp Hahn univentionstaff 2016-04-15 17:19:40 CEST
r68710 | Bug #41047,Bug #40586,Bug #25157,Bug #40557: univention-grub

Package: univention-grub
Version: 8.0.4-5.133.201604151716
Branch: ucs_4.0-0
Scope: errata4.0-5

r68711 | Bug #41047,Bug #40586,Bug #25157,Bug #40557: univention-grub YAML
 univention-grub.yaml
Comment 2 Janek Walkenhorst univentionstaff 2016-05-04 13:45:26 CEST
Code review: OK
Advisory: OK
Tests: OK
Comment 3 Janek Walkenhorst univentionstaff 2016-05-04 15:18:43 CEST
<http://errata.software-univention.de/ucs/4.0/418.html>