Hi, I would like to be able to set the locale to en_US.UTF-8 in a toolbox running Fedora rawhide.
The toolbox is running in a Kinoite system.
The usual way for mutable OS does not work because localectl does not work:
[X@toolbox ~]$ localectl
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Slackoverflow provides solutions for Docker but not for podman as far as I could find anything.
Perhaps the solution is to use localedef but I don’t know what I am doing…
[X@toolbox ~]$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
which seems to contain issues and indeed makes the software I use still unhappy.
If you just want to modify the locale inside the toolbox, I’d expect that both that export command and editing the profile file would be done inside the toolbox.