Weird localectl behavior under CentOS 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

On a fresh CentOS 7 installation using Français/France as regional parameters
in the installer, here's what localectl looks like:

[microlinux@linuxbox ~]$ localectl
   System Locale: LANG=fr_FR.UTF-8
       VC Keymap: ch-fr
      X11 Layout: ch
     X11 Variant: fr

Now I'd like to have my system messages in english. So I set the system
language accordingly:

$ sudo localectl set-locale LANG=en_US.utf8

Things seem to look OK now:

[microlinux@linuxbox ~]$ localectl
   System Locale: LANG=en_US.utf8
       VC Keymap: ch-fr
      X11 Layout: ch
     X11 Variant: fr

Except when I display my LANG variable, it's still fr_FR.UTF-8 for normal
users... but en_US.utf8 for root.

This looks like inconsistent or buggy behavior to me.

Any suggestions on how to change the default system locale LANG so that it's
en_US.utf8 for everybody *without* having to jump through burning loops and
putting it in everybody's ~/.bashrc ?

Cheers,

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : info@xxxxxxxxxxxxx
Tél. : 04 66 63 10 32
Mob. : 06 51 80 12 12
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux