Bug#926037: systemd: localectl console keymap configuration delayed

Michael Biebl biebl at debian.org
Sun Jan 2 11:01:21 GMT 2022


On 19.12.21 00:56, Floris Bos wrote:

> 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" ?)

Currently we disable vconsole via debian/rules, so there is no 
systemd-vconsole-setup.service.

Maybe a fix could be as simple as shipping a symlink
systemd-vconsole-setup.service → keyboard-setup.service ?
Or do we need to restart console-setup.service as well?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20220102/d0943ad8/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list