Bug 1691335 - glibc-all-langpacks doesn't install all langpacks on cloud base images
Summary: glibc-all-langpacks doesn't install all langpacks on cloud base images
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: spin-kickstarts
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Václav Pavlín
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-21 12:40 UTC by Vojtech Trefny
Modified: 2019-03-25 18:31 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-03-25 18:31:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure cloud-sig issue 298 0 None None None 2019-03-25 18:31:43 UTC

Description Vojtech Trefny 2019-03-21 12:40:29 UTC
Installing "glibc-all-langpacks" on system installed Fedora 29 Cloud Base Image for Vagrant doesn't enable all locales, only English locales.

Version-Release number of selected component (if applicable):

$ rpm -qa | grep glib
glibc-common-2.28-26.fc29.x86_64
glibc-2.28-26.fc29.x86_64
glibc-all-langpacks-2.28-26.fc29.x86_64
glib2-2.58.1-1.fc29.x86_64
glibc-langpack-en-2.28-26.fc29.x86_64

$ locale -a
C
C.utf8
en_AG
...
en_ZW.utf8
POSIX

On "normal" Fedora installing "glibc-all-langpacks" installs all locales.

I guess this is related to "_install langs" macro which is different on cloud and normal Fedora.

cloud:
$ rpm --eval "%{_install_langs}"
C:en:en_US:en_US.UTF-8

fedora:
$ rpm --eval "%{_install_langs}"
all

Feel free to close this bug if this is intentional behaviour, but I think "glibc-all-langpacks" should install *all* langpacks on all Fedora releases.

Is there a simple way to install all locales using the cloud image (other than installing "glibc-langpack-*")?

Comment 1 Florian Weimer 2019-03-25 07:37:14 UTC
This is a documentation/configuration problem with the cloud images.  They probably still contain the locale stripping configuration that was introduced before we had the langpack RPMs.

One possible place to check for the relevant configuration file is /etc/rpm/macros.language-conf.

There are some private Red Hat Enterprise Linux bugs about this as well.  I have to say this is really confusing.

I'm trying to reassign this bug to the proper component.  I've asked for guidance here: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/XGE4DFRK7FXDGKJUDAGQPOIJGISLEUA6/

Comment 2 Joe Doss 2019-03-25 17:59:01 UTC
Fedora Cloud is handled by the Cloud SIG. https://pagure.io/cloud-sig/issues is most likely a better spot for this kind of issue. You can also join us in #fedora-cloud on Freenode too.

Comment 3 Florian Weimer 2019-03-25 18:31:44 UTC
(In reply to Joe Doss from comment #2)
> Fedora Cloud is handled by the Cloud SIG. https://pagure.io/cloud-sig/issues
> is most likely a better spot for this kind of issue. You can also join us in
> #fedora-cloud on Freenode too.

Thanks, I've moved this here: https://pagure.io/cloud-sig/issue/298


Note You need to log in before you can comment on or make changes to this bug.