Hide Forgot
Description of problem: Currently no one tells where the mapped device created by luks-open is. It's completely the user's job to read the manual and take '/dev/mapper/mapname'. Guestfish should help to remember this name. Version-Release number of selected component (if applicable): libguestfs-1.7.17-15.el6 How reproducible: always Steps to Reproduce: 1. ... ><fs> luks-open /dev/sda1 map1 Enter key or passphrase ("key"): ><fs> list-devices /dev/vda ><fs> list-filesystems ><fs> mount /dev/[TAB] /dev/vda /dev/vda1 Actual results: We wanted to get the mapped device name from the tab completion, but failed. We can't either see it from list-devices or list-filesystems. However, `mount /dev/mapper/map1 / ` works fine.
Let's try to fix this for 6.2. Should be very simple.
Patch posted upstream: https://www.redhat.com/archives/libguestfs/2011-July/msg00020.html
Fix included upstream in the following commits: http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=ce5a8978b54f409de4347f16f7065b063cb47cf1 http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=4d4d3b2498be9dc8ab7e5f16928ac8f1874c2a58
https://brewweb.devel.redhat.com/taskinfo?taskID=3546057
Reproduced in -1.7.17-19 and verified in -1.7.17-26. $ guestfish ><fs> sparse test.img 100M ><fs> run ><fs> part-disk /dev/sda mbr ><fs> luks-format /dev/sda1 1 Enter key or passphrase ("key"): ><fs> luks-open /dev/sda1 luks1 Enter key or passphrase ("key"): ><fs> mount /dev/[TAB] /dev/mapper/luks1 /dev/vda /dev/vda1 (-19 does not have the /dev/mapper/luks1 entry, -26 does.)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1512.html