Comment 11 for bug 122241

Revision history for this message
In , Marco (marco-redhat-bugs) wrote :

Created attachment 130664
detect CDs/DVDs in hal-luks-setup

Well I've tried cryptsetup-1.0.3 (release), but does not seem to work yet. The
only way to successfully Open the LUKS volume is to pass the --readonly to
cryptsetup:

cryptsetup luckOpen --readonly /dev/cdrom myvolume

If you don't specify --readonly, cryptsetup keeps asking you for the password
(even if it reports that the key has been successfully unlocked).

As a consequence g-v-m keeps asking for the password as well.

Attacched is a small patch/hack to fix this behaviour. Anyway for some reason I
still have to find the process stops there. The clear text dm device
(luck_crypto_<UUID>) is created, but not mounted nor added as a volume.

In summary, it seems that the upstream cryptsetup package still has issues with
 CDs/DVDs.