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

[Error] Failure to start Mageia container #1683

Open
dfandrich opened this issue Feb 8, 2025 · 0 comments
Open

[Error] Failure to start Mageia container #1683

dfandrich opened this issue Feb 8, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@dfandrich
Copy link

Describe the bug
Starting distrobox on the docker.io/mageia:9 Mageia container fails with an unhelpful error message:

$ distrobox enter mageia-9
Starting container...                            [ OK ]
Installing basic packages...                     Error: An error occurred

To Reproduce

distrobox create -i docker.io/mageia:9
distrobox enter mageia-9

Expected behavior
Entering a Mageia container.

Logs

mageia-failure.log.gz

Desktop (please complete the following information):

$ podman version
Client:       Podman Engine
Version:      4.9.3
API Version:  4.9.3
Go Version:   go1.22.0
Git Commit:   8d2b55ddde1bc81f43d018dfc1ac027c06b26a7f-dirty
Built:        Fri Feb 16 10:29:24 2024
OS/Arch:      linux/arm64
$ distrobox --version
distrobox: 1.6.0.1
$ lsb_release -a
LSB Version:    n/a
Distributor ID: Manjaro-ARM
Description:    Manjaro ARM Linux
Release:        24.03
Codename:       n/a

Installed with pacman.

Additional context
The error seems to be generated at this point in the log:

+ locale -a
+ grep -qi en_us.utf8
+ LANG=en_US.UTF-8
+ localedef -i en_US -f UTF-8 en_US.UTF-8
/usr/bin/entrypoint: line 684: localedef: command not found
+ '[' 127 -ne 0 ']'
Error: An error occurred
+ printf 'Error: An error occurred\n'

and indeed, /usr/bin/localedef (and a few other bits) from glibc is missing from the Docker image, presumably to save space. Updating it with dnf upgrade glibc brings it back.

@dfandrich dfandrich added the bug Something isn't working label Feb 8, 2025
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

No branches or pull requests

1 participant