Configure Apache services to use correct locale
Closes-Bug: #2076453 Change-Id: I6af9baf09a19a7dbcaf98585870aa44ff79398d3 Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
This commit is contained in:
parent
3c130f290e
commit
2caa64df67
@ -39,3 +39,13 @@ EOF
|
||||
/usr/libexec/httpd-ssl-gencerts
|
||||
fi
|
||||
fi
|
||||
|
||||
# The default system locale with unicode support
|
||||
LANG=C.UTF-8
|
||||
|
||||
# Override the default locale if configured
|
||||
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
|
||||
[ -f /etc/default/locale ] && . /etc/default/locale
|
||||
else
|
||||
[ -f /etc/locale.conf ] && . /etc/locale.conf
|
||||
fi
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Apache services like Keystone now started with correct unicode locale.
|
||||
Keystone under Apache on Ubuntu will fail with a UnicodeEncodeError
|
||||
when LDAP driver and DEBUG are enabled.
|
||||
`LP#2076453 <https://bugs.launchpad.net/kolla/+bug/2076453>`__
|
Loading…
Reference in New Issue
Block a user