Nixpkgs: Plymouth does not show password prompt with encrypted root

Created on 20 Jun 2017  路  9Comments  路  Source: NixOS/nixpkgs

Issue description

Plymouth has the ability to ask the user for their password to decrypt their root device if necessary. Currently, Plymouth runs after the user already decrypts their device in the TTY, and as far as I can tell there is no option to override this.

Steps to reproduce

  1. Encrypt your root with LUKS.

  2. Enable plymouth:

boot.plymouth.enable = true

  1. Reboot. The init process will request your password before plymouth runs.

Technical details

  • System: NixOS 17.09pre108553.0011f9065a (HummingBird)
  • Nix version: 1.11.9
  • Nixpkgs version: 17.09pre108553.0011f9065a
  • Sandboxing enabled: false
enhancement nixos

Most helpful comment

Ideally, we should have flicker free boot like Fedora has now (see https://hansdegoede.livejournal.com/19224.html and https://hansdegoede.livejournal.com/19673.html).

All 9 comments

I remember myself trying to implement this some time ago; this would probably need us moving from shell scripts based initrd to systemd. Maybe I'll take another look at this...

Has anything ever happened in this regard? Does anyone know?

Unfortunately I was unable to get this working. I ended up disabling plymouth entirely. Hopefully someone else has a better idea on how to get this working.

I might have broken this with #39978. Checking if reverting 5777272bd2f4bde3ec9b048c0da3c388a8e0239e fixes the problem could be worthwhile.

Nope @hedning, this issue has been around for a long time.

Ideally, we should have flicker free boot like Fedora has now (see https://hansdegoede.livejournal.com/19224.html and https://hansdegoede.livejournal.com/19673.html).

Hello, I'm a bot and I thank you in the name of the community for opening this issue.

To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.

Still an issue. I suspect this will require #72401 (systemd in initramfs) and #99011 (nixos/plymouth: Add label plugin and a font to the initrd).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Infinisil picture Infinisil  路  146Comments

globin picture globin  路  65Comments

grahamc picture grahamc  路  88Comments

nico202 picture nico202  路  70Comments

peti picture peti  路  75Comments