[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#773231: [pkg-cryptsetup-devel] Bug#768314: cryptsetup: Passphrase prompt rolls by without stopping



Control: tags -1 pending

On Mon, 15 Dec 2014 21:32:42 +0100 Jonas Meurer <jonas@freesources.org>
wrote:
> clone 768314 -1
> severity -1 normal
> retitle -1 systemd without plymouth kills input prompts at boot process
> reassign -1 release-notes
> close 768314
> thanks
> 
> Hi,
> 
> Am 15.12.2014 um 20:50 schrieb Kjetil Kjernsmo:
> >> Am 2014-12-15 12:07, schrieb Kjetil Kjernsmo:
> >> > I think it is systemd (no conscious decision from my side):
> >>
> >> as written earlier, systemd has it's own cryptsetup agent and
> >> uses that one to unlock encrypted devices instead of the the
> >> cryptdisks initscripts used by sysvinit.
> >>
> >> the problem is, that systemd doesn't wait for optional user
> >> input after running cryptsetup. the boot logger plymouth is
> >> responsible for this task.
> > 
> > Aha, OK!
> > 
> >> could you try to install plymouth on your system and see whether
> >> that fixes your issues? you can configure plymouth to use a
> >> text-mode theme if you don't like the graphical boot splash
> >> screen that hides all the boot log messages.
> > 
> > Ah, yeah, that did work! In fact, I only had to write the passphrase
> > once, which is kinda weird, what if I didn't use the same passphrase for
> > both partitions? (Oh, I shouldn't say that I do ;-))
> 
> Good to know. So at least we know the root for this issue now :)
> 
> [...]

Hi,

Thanks for the report.

I have applied attached patch to the release-notes. A review of the text
would be very welcome. :)

Thanks,
~Niels




>From d9b46937acec6aeb9c689db4b46d33b8199f0058 Mon Sep 17 00:00:00 2001
From: nthykier <nthykier@313b444b-1b9f-4f58-a734-7bb04f332e8d>
Date: Wed, 28 Jan 2015 07:53:14 +0000
Subject: [PATCH] en/issues: Document plymouth requirement for boot prompts

Signed-off-by: Niels Thykier <niels@thykier.net>

git-svn-id: svn+ssh://svn.debian.org/svn/ddp/manuals/trunk/release-notes@10606 313b444b-1b9f-4f58-a734-7bb04f332e8d
---
 en/issues.dbk | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/en/issues.dbk b/en/issues.dbk
index 37e26fb..735af23 100644
--- a/en/issues.dbk
+++ b/en/issues.dbk
@@ -399,6 +399,22 @@ debsums -c -e | grep ^/etc/init.d
     </listitem>
   </itemizedlist>
 </section>
+<section id="plymouth-required-for-boot-prompts">
+  <!-- Wheezy to Jessie (#773231) -->
+  <title>Plymouth needed for boot-prompts under systemd boots</title>
+  <para>
+    If your boot is interactive (e.g. needs a password for an
+    encrypted disk), please ensure that you have <systemitem
+    role="package">plymouth</systemitem> installed.
+  </para>
+  <para>
+    Without <systemitem role="package">plymouth</systemitem>, you may
+    experience that your boot prompt might disappear.  Reports
+    suggests that the cryptsetup prompt still accepts input despite
+    not being visible.  Should you experience this issue, typing the
+    correct password may still work.
+  </para>
+</section>
 </section>
 
 <section id="udev-needs-kernel-with-devtmpfs">
-- 
2.1.4


Reply to: