I have created a chroot jail and when I log in I get a bash warning bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

I tried to google the error, but wasn't able to find a solution

link|improve this question

60% accept rate
feedback

1 Answer

up vote 2 down vote accepted

Sounds like you're missing /usr/lib/locale inside your chroot. Try copying them into place from your non-chroot'd /usr/lib/locale or chroot with LANG=C.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.