New comment by oreo639 on void-packages repository https://github.com/void-linux/void-packages/pull/39264#issuecomment-1868238585 Comment: > There are still problems sanitizing input. For example, if somebody has a file like Thank you for pointing that out. > I have not found any documentation on `locale.conf` besides systemd manual pages. `locale.conf` originates from systemd, before that distributions had their own locale configuration files, e.g. `/etc/sysconfig/i18n` on RHEL or `/etc/default/locale` on debian. Arch Linux used to recommend just setting LANG in your `.bashrc` (or `/etc/rc.conf` for systemwide). > I think the Arch way is preferable; just let a pre-set LANG gate the sourcing of the file That was the original way I implemented this PR and people didn't like it. > Given we have established precedent that `locale.conf` is just sourced by a shell, users should feel free to do things like Personally, I would prefer for that to continue to work as it did before to not break things for people, although I don't think it should be promoted or listed as supported.