[pkg-cryptsetup-devel] Bug#772943: Bug#772943: Bug#772943: Bug#772943: cryptsetup: please soften cryptroot messages
Jonas Meurer
jonas at freesources.org
Wed Dec 9 12:05:57 UTC 2015
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?
Cheers
jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20151209/a8c36958/attachment.sig>
More information about the pkg-cryptsetup-devel
mailing list