Am 09.12.2015 um 13:05 schrieb Jonas Meurer: > Hi Holger, hi debian-desktop, > > Am 19.01.2015 um 14:27 schrieb Holger Levsen: >> On Montag, 19. Januar 2015, Jonas Meurer wrote: >>> Any progress on that bugreport in the meantime? >> >> nope, too busy with other stuff :/ >> >>> It seems like cryptsetup >>> will need another upload to jessie anyway. So if we've something ready >>> to enhance the cryptoroot message then we could try to push that into >>> jessie as well (after discussing with RMs). >> >> sadly not, thanks for thinking about this issue..! > > Now that Jessie is released, I ping you again regarding this issue. I'd > love to soften the disk unlocking prompt displayed by cryptsetup during > boot process. So did you (or the debian-desktop team) come up with an > alternative suggestion for the prompt yet? > > At the moment, the prompt is as follows: > >> cryptkey="Please unlock disk $diskname: " > > where $diskname is: > >> if [ ${cryptsource#/dev/disk/by-uuid/} != $cryptsource ]; then >> # UUIDs are not very helpful >> diskname="$crypttarget" >> else >> diskname="$cryptsource ($crypttarget)" >> fi > > In other words, if $cryptsource starts with '/dev/disk/by-uuid/', then > $diskname contains only $crypttarget, otherwise it contains both > $cryptsource and $crypttarget. > > $cryptsource is the source device name (e.g. /dev/sda1 or > /dev/debian-vg/root or > /dev/disk/by-uuid/b2629cd2-3565-48f6-910e-3ef091268491) and $crypttarget > is the target device name as specified in /etc/crypttab (usually > something like sda1_crypt). > > Problem is, that both seem rather arbitrary to users who used the > automatic partitioning by debian-installer. My suggestion is to drop > $cryptsource completely and just display $crypttarget in the prompt. > > Probably then we could improve the naming of $crypttarget in > partman(-crypto) code from debian-installer and use more descriptive > names like "system-disk"? > > Any suggestions? For now, I'll bring the passphrase prompt from the init script in line with the one from initramfs. This is, all prompts will display "Please unlock disk $diskname: " from now on. I don't have any idea on how to further soften the message. Cheers jonas
Attachment:
signature.asc
Description: OpenPGP digital signature