Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476756 - sys-apps/systemd: provide a /etc/locale.conf file with comments about what to put there
Summary: sys-apps/systemd: provide a /etc/locale.conf file with comments about what to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-13 20:21 UTC by Pacho Ramos
Modified: 2013-09-18 11:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.