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

RHEL 9.0: use C.UTF-8 for images that only have glibc-minimal-langpack #2206

Closed
gicmo opened this issue Jan 20, 2022 · 6 comments · Fixed by #2351
Closed

RHEL 9.0: use C.UTF-8 for images that only have glibc-minimal-langpack #2206

gicmo opened this issue Jan 20, 2022 · 6 comments · Fixed by #2351
Assignees
Labels
bug Something isn't working

Comments

@gicmo
Copy link
Contributor

gicmo commented Jan 20, 2022

We currently set en_US.UTF-8 for all images:

According to the glib team, if glibc-minimal-langpack is installed, only C.UTF-8 is available.

The following images should be affected:

Images that install langpacks-en:

I took this info from the package sets. Maybe need to verify it by looking at the fully dep-solved package list.

Downstream bug: rhbz#2000878

@gicmo gicmo added bug Something isn't working rhel9 labels Jan 20, 2022
@teg
Copy link
Member

teg commented Feb 22, 2022

Should we not aim for uniformity and just go C.UTF-8 everywhere?

@gicmo
Copy link
Contributor Author

gicmo commented Feb 22, 2022

Should we not aim for uniformity and just go C.UTF-8 everywhere?

That was my first intuition as well, but it is quite late to change the default. But I am torn.

@gicmo
Copy link
Contributor Author

gicmo commented Feb 22, 2022

If we do set C.UTF-8 everywhere we should probably also remove langpacks-en from the images.

@gicmo
Copy link
Contributor Author

gicmo commented Feb 22, 2022

One other note: if a users sets a locale in the customisation, do we install the corresponding langpack? Or is that up to the user?

@teg
Copy link
Member

teg commented Feb 22, 2022

We should. But I don't recall if that's still a TODO.

@thozza thozza self-assigned this Feb 23, 2022
@thozza
Copy link
Member

thozza commented Feb 23, 2022

Affected image types:

$ grep  -L "langpack-en" test/data/manifests/rhel_90-x86_64*
test/data/manifests/rhel_90-x86_64-edge_commit-boot.json
test/data/manifests/rhel_90-x86_64-edge_commit_rt-boot.json
test/data/manifests/rhel_90-x86_64-edge_container-boot.json
test/data/manifests/rhel_90-x86_64-image_installer-boot.json
test/data/manifests/rhel_90-x86_64-qcow2-boot.json
test/data/manifests/rhel_90-x86_64-qcow2_customize-boot.json
test/data/manifests/rhel_90-x86_64-tar-boot.json

thozza added a commit to thozza/osbuild-composer that referenced this issue Feb 23, 2022
Change the default locale to `C.UTF-8` for the following images, which
do not contain `glibc-minimal-langpack` in their default package set:
 - edge-commit
 - edge-container
 - image-installer
 - qcow2
 - tar

Also change the default locale for the edge-simplified-installer
installer-tree pipeline, since its package set contains only
`glibc-minimal-langpack`.

Regenerate RHEL-90 and c9s image tests.

Fix osbuild#2206

Signed-off-by: Tomas Hozza <thozza@redhat.com>
thozza added a commit to thozza/osbuild-composer that referenced this issue Feb 23, 2022
Change the default locale to `C.UTF-8` for the following images, which
do not contain `glibc-minimal-langpack` in their default package set:
 - edge-commit
 - edge-container
 - image-installer
 - qcow2
 - tar

Also change the default locale for the edge-simplified-installer
installer-tree pipeline, since its package set contains only
`glibc-minimal-langpack`.

Regenerate RHEL-90 and c9s image tests.

Fix osbuild#2206

Signed-off-by: Tomas Hozza <thozza@redhat.com>
thozza added a commit to thozza/osbuild-composer that referenced this issue Feb 24, 2022
Change the default locale to `C.UTF-8` for RHEL-9.0.
For all the images which install `langpack-en`, keep using the
`en_US.UTF-8` locale. `C.UTF-8` is used as the default for:
 - edge-commit
 - edge-container
 - image-installer
 - qcow2
 - tar

Also change the default locale for the edge-simplified-installer
installer-tree pipeline, since its package set contains only
`glibc-minimal-langpack`.

Regenerate RHEL-90 and c9s image tests.

Fix osbuild#2206

Signed-off-by: Tomas Hozza <thozza@redhat.com>
thozza added a commit to thozza/osbuild-composer that referenced this issue Feb 24, 2022
Change the default locale to `C.UTF-8` for RHEL-9.0.
For all the images which install `langpack-en`, keep using the
`en_US.UTF-8` locale. `C.UTF-8` is used as the default for:
 - edge-commit
 - edge-container
 - image-installer
 - qcow2
 - tar

Also change the default locale for the edge-simplified-installer
installer-tree pipeline, since its package set contains only
`glibc-minimal-langpack`.

Regenerate RHEL-90 and c9s image tests.

Fix osbuild#2206

Signed-off-by: Tomas Hozza <thozza@redhat.com>
thozza added a commit to thozza/osbuild-composer that referenced this issue Feb 24, 2022
Change the default locale to `C.UTF-8` for RHEL-9.0.
For all the images which install `langpack-en`, keep using the
`en_US.UTF-8` locale. `C.UTF-8` is used as the default for:
 - edge-commit
 - edge-container
 - image-installer
 - qcow2
 - tar

Also change the default locale for the edge-simplified-installer
installer-tree pipeline, since its package set contains only
`glibc-minimal-langpack`.

Regenerate RHEL-90 and c9s image tests.

Fix osbuild#2206

Signed-off-by: Tomas Hozza <thozza@redhat.com>
thozza added a commit to thozza/osbuild-composer that referenced this issue Feb 25, 2022
Change the default locale to `C.UTF-8` for RHEL-9.0.
For all the images which install `langpack-en`, keep using the
`en_US.UTF-8` locale. `C.UTF-8` is used as the default for:
 - edge-commit
 - edge-container
 - image-installer
 - qcow2
 - tar

Also change the default locale for the edge-simplified-installer
installer-tree pipeline, since its package set contains only
`glibc-minimal-langpack`.

Regenerate RHEL-90 and c9s image tests.

Fix osbuild#2206

Signed-off-by: Tomas Hozza <thozza@redhat.com>
thozza added a commit to thozza/osbuild-composer that referenced this issue Feb 25, 2022
Change the default locale to `C.UTF-8` for RHEL-9.0.
For all the images which install `langpack-en`, keep using the
`en_US.UTF-8` locale. `C.UTF-8` is used as the default for:
 - edge-commit
 - edge-container
 - image-installer
 - qcow2
 - tar

Also change the default locale for the edge-simplified-installer
installer-tree pipeline, since its package set contains only
`glibc-minimal-langpack`.

Regenerate RHEL-90 and c9s image tests.

Fix osbuild#2206

Signed-off-by: Tomas Hozza <thozza@redhat.com>
gicmo pushed a commit to thozza/osbuild-composer that referenced this issue Feb 26, 2022
Change the default locale to `C.UTF-8` for RHEL-9.0.
For all the images which install `langpack-en`, keep using the
`en_US.UTF-8` locale. `C.UTF-8` is used as the default for:
 - edge-commit
 - edge-container
 - image-installer
 - qcow2
 - tar

Also change the default locale for the edge-simplified-installer
installer-tree pipeline, since its package set contains only
`glibc-minimal-langpack`.

Regenerate RHEL-90 and c9s image tests.

Fix osbuild#2206

Signed-off-by: Tomas Hozza <thozza@redhat.com>
gicmo pushed a commit that referenced this issue Feb 26, 2022
Change the default locale to `C.UTF-8` for RHEL-9.0.
For all the images which install `langpack-en`, keep using the
`en_US.UTF-8` locale. `C.UTF-8` is used as the default for:
 - edge-commit
 - edge-container
 - image-installer
 - qcow2
 - tar

Also change the default locale for the edge-simplified-installer
installer-tree pipeline, since its package set contains only
`glibc-minimal-langpack`.

Regenerate RHEL-90 and c9s image tests.

Fix #2206

Signed-off-by: Tomas Hozza <thozza@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants