localectl list-keymaps (and set-keymap) will not work. A list-keymaps will result in: "Couldn't find any console keymaps." As you can see at http://cgit.freedesktop.org/systemd/systemd/plain/src/locale/localectl.c the function static int list_vconsole_keymaps(DBusConnection *bus, char **args, unsigned n) looks for keymaps in the following directories: "/usr/share/kbd/keymaps/" "/usr/lib/kbd/keymaps/" "/lib/kbd/keymaps/" Gentoo is using "/usr/share/keymaps" to store the files. Is this place more or less correct than the other ones? This upstream add the directory to their list? If I am using something similar to mkdir -p /usr/share/kbd/keymaps mount -t none -o bind /usr/share/keymaps /usr/share/kbd/keymaps all is working fine. Could we find a solution, so systemd users could use localectl as expected. Reproducible: Always
Might this also be the reason why I still need to use locale-env-file? I followed the systemd-guide, but never got working locale with only /etc/locale.conf
AFAICS we're using the standard install locations [1] while Fedora is explicitly changing it to /lib/kbd [2]. @base-system, please confirm. I'll move the bug upstream then. [1]:http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/kbd/kbd-1.15.5-r1.ebuild?view=markup#l42 [2]:http://pkgs.fedoraproject.org/cgit/kbd.git/tree/kbd.spec#n99
(In reply to Michał Górny from comment #2) yes, we're using the default (and long common) location of /usr/share/keymaps/ the irony wrt systemd and /usr merge is palpable
Maybe we could patch it in the meantime :/
Feel free to. And please attach a patch upstream as well.
Patched in 206-r1 that I have just committed.