Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 476756

Summary: sys-apps/systemd: provide a /etc/locale.conf file with comments about what to put there
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED FIXED    
Severity: normal CC: nikoli
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=465468
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2013-07-13 20:21:04 UTC
As looks like 02locale and localeconf have the same format (simply setting some LC_* related variables), why ebuild doesn't simply copy it if existing instead of telling people to manually do that?

Thanks

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2013-07-13 20:29:22 UTC
Sounds reasonable to me. The only danger would be if someone has manually altered /etc/env.d/02locale.
Comment 2 Pacho Ramos gentoo-dev 2013-07-20 14:56:50 UTC
(In reply to Mike Gilbert from comment #1)
> Sounds reasonable to me. The only danger would be if someone has manually
> altered /etc/env.d/02locale.

I think that the kind of stuff that can be put in /etc/env.d/02locale is the same recognized by systemd and, then, if somebody was having strange things there, they will probably don't see a regression as that wasn't neither working properly with openrc
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-31 21:17:45 UTC
Err, my 02locale doesn't fit :).

> Note that LC_ALL may not be configured in this file. For
> details about the meaning and semantics of these settings, refer to locale(7).
Comment 4 Pacho Ramos gentoo-dev 2013-07-31 21:21:05 UTC
In that case, I think the best think to do is to provide a file with comments telling people what kind of variables should they try to put there (if I don't misremember, some people even tried to separate langs with "," causing other problems)
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-18 11:11:58 UTC
Supposedly fixed through #465468.