cryptdisks.functions ignores crypttab entries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: cryptsetup
My /etc/crypttab contains this line:
crypt /dev/sda6 /etc/cryptdisk-
/lib/cryptsetup
egrep -v "^[[:space:
# Make sure that all fields are present
if [ "x$dst" = "x" ]; then
fi
(sorry for the linebreaks)
If I am not mistaken the elif clause means that if the "opts" variable is empty, the current crypttab entry is ignored.
As can be seen in my crypttab line above i have only specified data for "src", "dst" and "key" but not for "opts". My crypttab worked fine in Ubuntu Feisty so far. Today I did an upgrade and it suddenly failed the way I described.
wouldn't it be a good idea to simply remove the -z "$opts" check or something?