locale problem posix instead of utf

dr.fluss

New Member
Dec 14, 2015
2
0
1
62
Good morning,

I am running proxmox version 3.4. / debian / container debian 7.1

I have a problem with my locale-settings:
when I enter the container via ssh I get correct locale settings: de_DE.UTF-8.
when I enter the container via vzctl enter I get locale settings: POSIX

If in the container I enter:
export LANG=de_DE.UTF-8
export LC_ALL=de_DE.UTF-8
locale-gen de_DE.UTF-8
dpkg-reconfigure locales [and set the locales to de_DE] I get the correct locales.

When leaving the container and re-entering again the locales-settings are gone.

What am I doing wrong?

Regards
 
Are you entering with `pct enter`? Because this doesn't perform the full login procedure so the shell you end up in is probably not sourcing the full profile files.
 
Are you entering with `pct enter`? Because this doesn't perform the full login procedure so the shell you end up in is probably not sourcing the full profile files.

No, I am using vzctl enter <CT-NAME>.
The problem behind is, that cron-jobs do not have the correct locale set.