Locale fixed in containers
I am testing Racy and XenialPup running in containers, chasing
down that corrupted-wallpaper problem -- that I thought was fixed, but
isn't.
But then discovered that locale is broken on those desktops, getting
the message about only able to run applications in C locale.
I discovered the reason for this.
/usr/local/easy_containers/start-container is executed prior to running
the container, and it copys the contents of /usr/lib/locale into the
container. For example, folder /usr/lib/locale/en_US.utf8.
However, the locale files of the host system are not compatible with the old glibc in Racy and XenialPup.
Instead, it is required to use 'chroot' to generate them in the
container, executing the 'localedef' utility that is in the container.
Note, that utility is part of the 'glibc' package.
This is now being done in /usr/local/easy_containers/ec-chroot, and the problem is fixed.
Tags: easy