/dev/mapper/* -> /dev/dm-* symlink scheme breaks partman-crypto
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devmapper (Ubuntu) |
Fix Released
|
Medium
|
Scott James Remnant (Canonical) |
Bug Description
The temporary /dev/mapper/* -> /dev/dm-* symlinks confuse various bits of partman. I think some of these problems are just latent bugs (e.g. bug 126328) and I'll fix them. However, there's a problem in partman-crypto that's more difficult to fix.
Consider the case where you have an encrypted swap partition: let's say /dev/mapper/
# dmsetup info -c /dev/dm-1
dm_task_set_name: Device /dev/dm-1 not found
Command failed
If this is only a temporary change, I don't propose to write messy code in partman-crypto to try to track down the corresponding /dev/mapper/* device. Instead, I think the right answer is to just milestone this bug for tribe-4 to indicate that this bug needs to be fixed before feature freeze, so I'm doing that.
Related branches
Changed in devmapper: | |
assignee: | nobody → ubuntu-kernel-team |
FWIW I've worked around this for d-i by turning these symlinks off in the libdevmapper udeb, but I'm leaving the bug open since things in the normal system might be affected too.