Ticket #72 (closed defect: fixed)
Opened 2 years ago
Last modified 2 years ago
ntfs-3g gets confused by LC_*="POSIX"
Reported by: | Ivan Iakoupov <voxiac@gmail.com> | Owned by: | roy |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | rc | Version: | |
Keywords: | Cc: |
Description
mount.ntfs-3g uses system locale in absence of "locale=blah" argument and since LC_*="POSIX" gets exported during boot, directories and files using Danish characters (generally non-ASCII characters?) are missing.
Simple remount makes them show up again (as passing locale argument to mount.ntfs-3g probably) but baselayout-1 had exported the locale that I had set for my system during boot and thus it was not needed.
Change History
comment:313 Changed 2 years ago by roy
comment:314 Changed 2 years ago by Ivan Iakoupov <voxiac@gmail.com>
I think my /etc/env.d/02locale is good enough:
LC_ALL=en_GB.UTF-8
LANG=en_GB.UTF-8
What am I missing?
comment:371 Changed 2 years ago by roy
OK, this seems to be a bug. I'll try and fix it this week.
comment:444 Changed 2 years ago by Matthias Schwarzott <zzam@gentoo.org>
This also happens to me with vdr that should inherit the LANG and LC_* settings.
It seems to me that env_filter does load /e
comment:445 Changed 2 years ago by Matthias Schwarzott <zzam@gentoo.org>
Browser submitted accidentely :(
Analysis:
It seems that env_filter does load /etc/profile.env, but does not do anything with it then.
comment:446 Changed 2 years ago by Matthias Schwarzott <zzam@gentoo.org>
One workaround would be some shell-code like this in the init-script. (Maybe conditional on using openrc):
eval $(grep "export \(LANG\|LC_\)" /etc/profile.env)
Or: Letting the user specify LANG in /etc/conf.d/app
comment:506 Changed 2 years ago by roy
- Status changed from new to resolved
- Resolution set to fixed
Fixed - sorry about the delay.
http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commitdiff;h=3b86151c0d29e0c098173d5c345aa804b950f56f
You should set locale somewhere in /etc/env.d
Most people seem to use /etc/env.d/02locale