← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2122014] [NEW] Password prompts in initrd are not translated

 

Public bug reported:

The initrd might ask the user for the password of an encrypted device.
Plymouth will show a password prompt, a password prompt text, and the
keyboard layout. The password prompt text and the keyboard layout are
not translated. These two should be translated for users that cannot
read English.

Dracut 108 calls Plymouth with these prompt texts (plymouth ask-for-
password --prompt $text):

* Password ($device)
* Password ($keypath on $keydev for $device)
* PIN (OpenPGP card ${smartcardSerialNumber})

There are at least three possible solutions I can come up with:

1. Let Plymouth translate the keyboard layout text. Extend the Plymouth
ask-for-password command to allow specifying $device, $keypath, $keydev,
$smartcardSerialNumber, etc. Then let Plymouth generate the password
prompt text with translation support.

2. Let Plymouth translate the keyboard layout text. Do the --prompt text
translation inside Dracut itself.

3. Let Plymouth translate the keyboard layout text. Allow specifying %s
in the --prompt text and let Plymouth look up the translations for that
text before rendering it.

** Affects: dracut (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: plymouth (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: plymouth (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: initramfs-tools (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to dracut in Ubuntu.
https://bugs.launchpad.net/bugs/2122014

Title:
  Password prompts in initrd are not translated

Status in dracut package in Ubuntu:
  New
Status in initramfs-tools package in Ubuntu:
  New
Status in plymouth package in Ubuntu:
  New

Bug description:
  The initrd might ask the user for the password of an encrypted device.
  Plymouth will show a password prompt, a password prompt text, and the
  keyboard layout. The password prompt text and the keyboard layout are
  not translated. These two should be translated for users that cannot
  read English.

  Dracut 108 calls Plymouth with these prompt texts (plymouth ask-for-
  password --prompt $text):

  * Password ($device)
  * Password ($keypath on $keydev for $device)
  * PIN (OpenPGP card ${smartcardSerialNumber})

  There are at least three possible solutions I can come up with:

  1. Let Plymouth translate the keyboard layout text. Extend the
  Plymouth ask-for-password command to allow specifying $device,
  $keypath, $keydev, $smartcardSerialNumber, etc. Then let Plymouth
  generate the password prompt text with translation support.

  2. Let Plymouth translate the keyboard layout text. Do the --prompt
  text translation inside Dracut itself.

  3. Let Plymouth translate the keyboard layout text. Allow specifying
  %s in the --prompt text and let Plymouth look up the translations for
  that text before rendering it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2122014/+subscriptions



Follow ups