cryptsetup documentation on where /dev/mapper/ is needed/not needed not ideal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: cryptsetup
I've just been setting up encrypted /home/ and /var/ on my laptop, and was caught out by an extra /dev/mapper/ entry in /etc/crypttab, which led to very odd errors
If you setup your /etc/crypttab along the lines of:
/dev/
(instead of just "enc_home /dev/sda7 none luks")
Then when "/etc/rcS.
dm_task_set_name /dev/mapper/
There's nothing in the header of /etc/crypttab to make it clear that you shouldn't prefix the target with /dev/mapper/ (which is required for /etc/fstab, so it's not too silly a mistake). The error message you get is really odd and cryptic, and ideally should be made clearer (eg it should issue a warning if you try to create an entry starting with "/dev/mapper" under /dev/mapper)
This is running 8.10 (rc), and cryptsetup is 2:1.0.6-6ubuntu2
Changed in cryptsetup (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |