Bug#790955: 790955 - localectl list-keymaps

Michael Biebl biebl at debian.org
Sat Nov 17 21:19:40 GMT 2018


Am 17.11.18 um 20:58 schrieb Andreas Henriksson:
> Hi Michael,
> 
> I'll do my best to fill in details that is how I've understood them
> (both on fedora and debian side). No promises I've got it right.
> I however think your description below isn't correct.
> 
> On Sat, Nov 17, 2018 at 08:32:40PM +0100, Michael Biebl wrote:
>> On Fri, 3 Jul 2015 08:25:37 -0400 Tom H <tomh0665 at gmail.com> wrote:
>>> Fedora (and other distributions as well as systemd upstream) uses
>>> "/usr/lib/systemd/systemd-vconsole-setup" and "/etc/vconsole.conf"
>>> whereas Debian uses its home-grown solution with systemd and sysvinit.
>>>
>>> So "localectl list-keymaps" cannot work. It could be patched to output
>>> an error; but is this work really worth it?
>>
>> The main issue afaics is that Fedora uses the keymap files from kbd [1].
> 
> AIUI Fedora uses the 'ckbcomp' part of console-setup to build static
> keymaps at build-time. Or atleast that's the impression I got from
> reading I think it was this:

Ok, thanks for the clarification.

What I did was run strace on localectl in a Fedora 29 VM which showed
that it accessed the files in /usr/lib/kbd/keymaps/, so I ran

# rpm -qf /usr/lib/kbd/keymaps/
kbd-misc-2.0.4-9.fc29.noarch

# dnf info kbd-misc
Last metadata expiration check: 2 days, 7:10:31 ago on Thu Nov 15
15:06:02 2018.
Installed Packages
Name         : kbd-misc
Version      : 2.0.4
Release      : 9.fc29
Arch         : noarch
Size         : 2.4 M
Source       : kbd-2.0.4-9.fc29.src.rpm
Repo         : @System
>From repo    : fedora
Summary      : Data for kbd package
URL          : http://www.kbd-project.org/
License      : GPLv2+
Description  : The kbd-misc package contains data for kbd package -
console fonts,
             : keymaps etc. Please note that kbd-misc is not helpful
without kbd.

Thanks for your reply.

Regards,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?




More information about the Pkg-systemd-maintainers mailing list