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)
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
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.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago