← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2122014] Re: Password prompts in initrd are not translated

 

** Bug watch added: gitlab.freedesktop.org/plymouth/plymouth/-/issues #309
   https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/309

** Also affects: plymouth via
   https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/309
   Importance: Unknown
       Status: Unknown

-- 
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 Plymouth:
  Unknown
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/plymouth/+bug/2122014/+subscriptions



References