#994743 keyboard-configuration should trigger update-initramfs or warn about it

#994743#5
Date:
2021-09-20 11:37:56 UTC
From:
To:
Dear Maintainer,


1. Changed my keyboard layout to GB Colemak via "dpkg-reconfigure keyboard-
configuration"
2. Rebooted
3. All changed were ignored to my surprise.

After a lot of digging and discussion in Debian User mail group, I realized
that "pkg-reconfigure keyboard-configuration" did not trigger update-initramfs.
All my changes have been ignored. And it would stay that way, until I install
new Debian kernel or update current one. I had to do "update-initramfs -u -k
all" to have my keyboard layout changed.
This bug renders keyboard-configuration unusable, until user knows magic
command which needs to be done after.

Solution 1:
"dpkg-reconfigure keyboard-configuration" should warn about required update-
initramfs, otherwise changes are not implemented
Solution 2:
"dpkg-reconfigure keyboard-configuration" should update initramfs

I use Debian Stable with KDE, no exotics.

#994743#10
Date:
2021-09-20 11:41:06 UTC
From:
To:
#994743#15
Date:
2021-09-20 11:50:00 UTC
From:
To:
This is my discussion about this problem on Debian mail list:

https://linux.debian.user.narkive.com/naFOIjLq/colemak-layout-at-boot-time

#994743#20
Date:
2021-09-20 21:03:20 UTC
From:
To:
Just checked Trisquel GNU/Linux behaviour. Installed latest Triskel (KDE
variation) in VM, results:

$ sudo dpkg-reconfigure keyboard-configuration
[sudo] password for pioruns:
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.130ubuntu3.13) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-156-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/trisquel--vg-swap_1)
I: Set the RESUME variable to override this

So they have update-initramfs after keyboard-configuration change, and
very informative message about what's going on.
Debian should have that too!