Skip to content

[Error] HOST_LOCALE not obtained correctly in gentoo #1743

@mid-kid

Description

@mid-kid

Describe the bug
Currently, when entering a distrobox in gentoo, the LANG variable will be set to a locale that's not available in the container.

In gentoo, the locale is set in /etc/env.d/02locale, so it's never picked up in the HOST_LOCALE variable of the distrobox-init script.

I'd suggest setting the LANG variable on container creation instead of parsing the host's configuration, or otherwise providing a way to unconditionally set HOST_LOCALE in a way that overrides host configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions