tcplay hangs at the device mapper stage. This happens in 16.04 LTS version of xubuntu (32 bit and 64 bit) and ubuntu (64bit). This makes tcplay containers not accessible.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tcplay (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Is there anything changed in xubuntu 16.04 LTS that causes tcplay device mapper to hang ?
The following command sequence works fine in xubuntu 14.04 but in 16.04 it hangs at the device mapper stage (5 below) when the valid passphrase is entered. The passphrase I use here is ‘testpw’.
I know it has accepted the correct passphrase because it gives a message if I enter an invalid passphrase.
This is a fresh install using the xubuntu-
I prefer using tcplay because of the container portability.
There are no dmesg messages during the process on 16.04.
This is the command sequence:
1) fallocate -l 20M foo.tc
2) sudo losetup -f
(response is /dev/loop0)
3) sudo losetup /dev/loop0 foo.tc
4) sudo tcplay -c -d /dev/loop0 -a whirlpool -b AES-256-XTS
(response is
Passphrase:
Repeat passphrase:
Summary of actions:
- Completely erase *EVERYTHING* on /dev/loop0
- Create volume on /dev/loop0
Are you sure you want to proceed? (y/n) y
Securely erasing the volume...
This process may take some time depending on the size of the volume
Creating volume headers...
Depending on your system, this process may take a few minutes as it uses true random data which might take a while to refill
and after about 10 minutes
Writing volume headers to disk...
All done!
)
5) sudo tcplay -m foo.tc -d /dev/loop0
(response is
Passphrase:
and it then hangs – I have given it up to one hour.
)
On xubuntu 14.04 step (5) takes less than one second, and I can then do the following
6) sudo mkfs.ext4 /dev/mapper/foo.tc
7) sudo mount /dev/mapper/foo.tc /mnt/FOO_DRIVE/
8) df -h
which shows the normal stuff plus
/dev/mapper/foo.tc 19M 170K 17M 1% /mnt/FOO_DRIVE
On xubuntu 16.04, after killing step 5, the would be step 6 gets the message
‘The file /dev/mapper/foo.tc does not exist and no size was specified.’
The above was the bug experience on a 32-bit laptop.
On a test 64-bit base unit, I was able to show that the bug also applies to 16.04 LTS 64-bit versions of xubuntu and ubuntu
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1625822/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]