On 10/04/2017 06:30 PM, Hans Malissa wrote:
Thanks for the explanation, that helps a lot. I have now put 'LANG=en_US.UTF-8' into my /etc/locale.def. What is not yet clear to me: there is the locale definition (1) in /etc/locale.def, (2) via localectl [as described in 8.1-systemd 7.7] and (3) in the Bash startup files [as mentioned briefly in 8.1-systemd 7.7 and in BLFS-8.1-systemd chapter 3 'The Bash Shell Startup Files'. Are those three redundant and doing the same thing? Is localectl changing /etc/locale.def? Why is it necessary to define the locale separately in /etc/profile.d/i18n.sh again? Thanks a lot,
/etc/locale.conf is for systemd to set the system locale, but is not exported to the environment. /etc/profile.d/i18n.sh is for the users of the system.
--DJ -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
