Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch image cloud-init generate a wrong locale.gen file #31

Open
nplanel opened this issue Mar 3, 2016 · 6 comments
Open

Arch image cloud-init generate a wrong locale.gen file #31

nplanel opened this issue Mar 3, 2016 · 6 comments

Comments

@nplanel
Copy link

nplanel commented Mar 3, 2016

cloud-init generate not correctly /etc/locale.gen, like this :

# Created by cloud-init v. 0.7.6 on Thu, 03 Mar 2016 06:25:03 +0000
LANG=en_US.UTF-8

This should be

en_US.UTF-8 UTF-8

LANG=en_US.UTF-8 is valid only for /etc/locale.conf I think the confusion comes from here.

@hartwork
Copy link
Owner

hartwork commented Mar 3, 2016

Hi!

The bug is known upstream and in Arch for a long time. It looks like neither of these parties cares enough (and the package and project seem to lack attention in general, see e.g. open Arch bugs on cloud-init). I'm not sure if it's a good idea to patch cloud-init from within image-bootstrap on the fly. Maybe it's time for a community fork of cloud-init at GitHub.

Best, Sebastian

@nplanel
Copy link
Author

nplanel commented Mar 11, 2016

Daniel Wallace is the last packager of cloud-init : @gtmanfred

@markand
Copy link

markand commented Jan 9, 2019

Happened to me as well.

@hartwork
Copy link
Owner

hartwork commented Jan 9, 2019

Could you elaborate how much of a showstopper this is to you right now? Do you have a workaround in place?

@markand
Copy link

markand commented Jan 10, 2019

To be honest, I don't even know what this is. I've purchased a VPS on French hosting OVH and the Arch Linux image and once I connected to it the /etc/locale.gen conf was srong. But I've just seen it was initialized by cloud init.

Editing the file and re-run locale-gen is fine obviously.

@klausenbusk
Copy link

FYI: I opened a PR upstream: canonical/cloud-init#796, hopefully it gets some attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants