Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #907415

Bug#903641: Preserve numlock state during cryptdisk boot password prompt in plymouth

From Guilhem Moulin <guilhem@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#903641: Preserve numlock state during cryptdisk boot password prompt in plymouth
Date 2018-07-12 16:00 +0200
Message-ID <waKit-v1-7@gated-at.bofh.it> (permalink)
References <waJw6-fD-21@gated-at.bofh.it> <waJw6-fD-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: severity -1 minor

Hi,

On Thu, 12 Jul 2018 at 15:02:20 +0200, Pascal Vibet - ADACIS wrote:
> So, i apply modifications like this:
> in /usr/share/initramfs-tools/hooks/cryptopensc:
> […]
> in /usr/share/initramfs-tools/scripts/local-top/cryptopensc:

Why only in cryptopensc and not in cryptroot?  Also /usr/bin/setleds
comes from the ‘kbd’ package which cryptsetup-initramfs doesn't depend
on (it's only a Recommends, not a hard Depends), so `copy_exec` needs to
wrapped to check for the program's existence.

>> INITTY=/dev/tty[1-8]
>> for tty in $INITTY ; do
>>    setleds -D +num < $tty
>> done

Does that really *preserve* the numlock state?  I'm not familiar with
setleds(1), but according to the manpage it *sets* numlock and changes
the default settings.

Cheers,
-- 
Guilhem.

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#903641: Preserve numlock state during cryptdisk boot password prompt in plymouth Pascal Vibet - ADACIS <pvibet@gmail.com> - 2018-07-12 15:10 +0200
  Bug#903641: Preserve numlock state during cryptdisk boot password prompt in plymouth Guilhem Moulin <guilhem@debian.org> - 2018-07-12 16:00 +0200
    Bug#903641: Preserve numlock state during cryptdisk boot password prompt in plymouth Pascal Vibet - ADACIS <pvibet@gmail.com> - 2018-07-12 20:00 +0200
      Bug#903641: initramfs-tools-core: 'keymap' scripts don't preserve numlock state Guilhem Moulin <guilhem@debian.org> - 2018-07-12 20:40 +0200
  Bug#903641: Preserve numlock state during cryptdisk boot password prompt in plymouth Ben Hutchings <ben@decadent.org.uk> - 2018-07-27 15:20 +0200
    Bug#903641: Preserve numlock state during cryptdisk boot password prompt in plymouth Pascal Vibet - ADACIS <pvibet@gmail.com> - 2018-07-27 16:00 +0200

csiph-web