Your message dated Sun, 03 Feb 2019 23:58:13 +0100
with message-id <[email protected]>
and subject line Re: Preserve numlock state during cryptdisk boot password
prompt in plymouth
has caused the Debian Bug report #903641,
regarding initramfs-tools-core: 'keymap' scripts don't preserve numlock state
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
903641: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903641
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cryptsetup-initramfs
Version: 2:2.0.2-1ubuntu1
Dear Maintainers, i propose you my fix to this problem.
I'm using smartcard to decrypt luks disk, i'm using decrypt_opensc
script in /etc/crypttab. I want to preserve numlock state during
cryptdisk boot password prompt.
I found this article:
https://superuser.com/questions/1062979/preserve-numlock-state-during-cryptdisk-boot-password-prompt-in-plymouth
So, i apply modifications like this:
in /usr/share/initramfs-tools/hooks/cryptopensc:
65a66
> copy_exec /usr/bin/setleds
in /usr/share/initramfs-tools/scripts/local-top/cryptopensc:
36a37,45
>
> if [ ! -x /usr/bin/setleds ] ; then
> exit 0
> fi
>
> INITTY=/dev/tty[1-8]
> for tty in $INITTY ; do
> setleds -D +num < $tty
> done
I apply modifications:
update-initramfs -u -k all
So i can use my numlock in boot password prompt for my smartcard.
Cheers,
--- End Message ---
--- Begin Message ---
On Fri, 27 Jul 2018 15:51:57 +0200
Pascal Vibet - ADACIS <[email protected]> wrote:
> Hi,
>
> i will test your solutions.
I'm closing the bug as you haven't followed this up.
Ben.
--
Ben Hutchings
Horngren's Observation:
Among economists, the real world is often a special case.
signature.asc
Description: This is a digitally signed message part
--- End Message ---