Bug 14613 - localedrake should write LANG setting also in /etc/locale.conf
Summary: localedrake should write LANG setting also in /etc/locale.conf
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-20 00:17 CET by Florian Hubold
Modified: 2015-05-22 10:05 CEST (History)
3 users (show)

See Also:
Source RPM: drakxtools
CVE:
Status comment:


Attachments

Description Florian Hubold 2014-11-20 00:17:23 CET
Please extent localedrake to also run localectl set-locale LANG=$LANG to create /etc/locale.conf with that setting (or write it directly from localedrake).
/etc/locale.conf is read by systemd on early boot to set locale.

Also see man locale.conf

Reproducible: 

Steps to Reproduce:
Marja Van Waes 2014-12-03 17:43:21 CET

CC: (none) => mageia, marja11

Comment 1 Samuel Verschelde 2015-05-21 11:35:22 CEST
Is this bug still valid in latest cauldron?

Keywords: (none) => NEEDINFO

Comment 2 Rémi Verschelde 2015-05-21 11:49:03 CEST
I think this was fixed while fixing GNOME localisation issues.
Comment 3 Thierry Vignaud 2015-05-21 12:00:10 CEST
Indeed

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 4 Florian Hubold 2015-05-22 00:33:29 CEST
(In reply to Rémi Verschelde from comment #2)
> I think this was fixed while fixing GNOME localisation issues.

Well, are you sure? Maybe for the installer and for the pre-made images. I don't see an /etc/locale.conf on my system, not even after re-running localedrake. Only in initrd, but I think this is not sufficient.

And there's even https://wiki.mageia.org/en/Mageia_5_Release_Notes#Localisation_.28l10n.29_.2F_Internationalisation_.28i18n.29 so no I don't think this is fixed completely.

Which of your tools is supposed to write/generate /etc/locale.conf, or asked the other way around, what puts etc/locale.conf into initrd ?

Status: RESOLVED => REOPENED
CC: (none) => doktor5000
Resolution: FIXED => (none)

Samuel Verschelde 2015-05-22 10:01:56 CEST

Keywords: NEEDINFO => (none)

Comment 5 Thierry Vignaud 2015-05-22 10:05:12 CEST
I don't know how you're testing but everytime localedrake is run _AS ROOT_, it writes /etc/locale.conf
Obviously it won't write it if run _AS USER_

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.