-
Notifications
You must be signed in to change notification settings - Fork 144
-
Notifications
You must be signed in to change notification settings - Fork 144
Default locale unset on GCE #49
Comments
Yeah, when using the kvm provider I'm seeing a similar issue:
This is with the following set in the manifest: "system": {
"release": "wheezy",
"architecture": "amd64",
"bootloader": "grub",
"timezone": "Africa/Johannesburg",
"locale": "en_ZA",
"charmap": "UTF-8",
"virtio_modules": [ "virtio_pci", "virtio_blk", "virtio_balloon" ]
} In my case it appears that cloud-init is overwriting the default locale. A simple workaround for me is to:
|
@andsens The published images on GCE haven't been switched from build-debian-cloud to bootstrap-vz as of yet. Once the gce branch gets merged into bootstrap-vz master, we'd love to start working with Debian on switching the processes etc. Though, from what @odyssey4me said, it seems to be more general than just the gce provider. |
Ah, I see. This is actually a mix of two different bugs. One in the legacy build-debian-cloud bootstrapper (the one @dmytton is experiencing) and one in the cloud-init plugin for bootstrap-vz (which is what @odyssey4me is reporting). Regarding the build-debian-cloud bug: I am sorry to say that I simply do not have the time provide legacy support to that project. However the gce branch will soon be merged, which means this won't be a problem for long. Regarding bootstrap-vz bug: I have created #58 to track this bug, so that we can discuss it over there @odyssey4me. I wrote down what I think is the problem, so please correct me if I am mistaken. Closing this issue, since it was really only affecting build-debian-cloud in the described form. |
The default locale is not set on Debian builds on Google Compute Engine, tested in backports-debian-7-wheezy-v20140318. This causes warnings with apt e.g.
And causes some applications, like MongoDB, to fail to start. The workaround is to set
export LC_ALL=C
in the MongoDB init script and/or to set the default locale system wide:However, this should be set by default.
The text was updated successfully, but these errors were encountered: