Skip to content

Conversation

@maglub
Copy link
Collaborator

@maglub maglub commented Apr 16, 2019

This will allow the use of C.UTF-8 on Debian and Ubuntu, as discussed in #430

#430

The background is that the ansible module locale_gen fails when checking for the availability of C.UTF-8, which can be assumed to exist on all systems.

maglub added 2 commits April 16, 2019 09:47
This will allow the use of C.UTF-8 on Debian and Ubuntu, as discussed in #430
Ops, embarrassing typo. Used && instead of "and"
@gclough
Copy link
Collaborator

gclough commented Apr 24, 2019

Seems reasonable... are there any objections from those with Debian knowledge?

@maglub
Copy link
Collaborator Author

maglub commented Apr 25, 2019

I did some more research.

The C.UTF-8 locale is part of the libc-bin package in Debian, which is marked as "essential", which in turn means that it is always installed.

admin.mlue@com-icinga-l01:~$ dpkg -L libc-bin | grep locale
/usr/bin/locale
/usr/bin/localedef
/usr/lib/locale
/usr/lib/locale/C.UTF-8
/usr/lib/locale/C.UTF-8/LC_ADDRESS
/usr/lib/locale/C.UTF-8/LC_COLLATE
/usr/lib/locale/C.UTF-8/LC_CTYPE
/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION
/usr/lib/locale/C.UTF-8/LC_MEASUREMENT
/usr/lib/locale/C.UTF-8/LC_MESSAGES
/usr/lib/locale/C.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES
/usr/lib/locale/C.UTF-8/LC_MONETARY
/usr/lib/locale/C.UTF-8/LC_NAME
/usr/lib/locale/C.UTF-8/LC_NUMERIC
/usr/lib/locale/C.UTF-8/LC_PAPER
/usr/lib/locale/C.UTF-8/LC_TELEPHONE
/usr/lib/locale/C.UTF-8/LC_TIME

So we are good. It is always there.

Copy link
Collaborator

@gclough gclough left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gclough gclough merged commit 66fc309 into ANXS:master Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants