Bug#926037: systemd: localectl console keymap configuration delayed

Floris Bos bos at je-eigen-domein.nl
Sat Dec 18 23:56:29 GMT 2021


Hi,


This issue is still present in recent Debian/Ubuntu versions.


 > Am 30.03.19 um 18:11 schrieb Iiro Laiho:
 > > When I set the system keymap using the "localectl" command, the

 > > application of the new layout to the virtual consoles is delayed.


On Sun, 31 Mar 2019 20:23:09 +0200 Michael Biebl <biebl at debian.org> wrote:

 > TTBOMK, localectl just writes to /etc/default/keyboard and /etc/default

 > /console-setup and leaves it up to console-setup to apply those changes,
 > which is usually done during bootup.



Yes, your Debian specific stuff in 
debian/patches/debian/Use-Debian-specific-config-files.patch only seems 
to set /etc/default/keyboard

However with other Linux distributions the setting is also instantly 
applied to console, so that is what me and other users are expecting.


With other Linux distributions this seems to be done by restarting the 
systemd-vconsole-setup unit in src/local/localed.c vconsole_reload() :

https://github.com/systemd/systemd/blob/main/src/locale/localed.c#L97

Think that function needs to be patched by whatever is necessary to have 
the change do take effect on Debian (run "dpkg-reconfigure 
keyboard-configuration" and "setupcon -k --force" ?)



Yours sincerely,


Floris Bos



More information about the Pkg-systemd-maintainers mailing list