Red Hat Bugzilla – Bug 996118
blivet.reset() opens LUKS devices
Last modified: 2013-11-06 14:53:34 EST
Created attachment 785679 [details]
Description of problem:
blivet.reset() opens LUKS devices. In OpenLMI, this behavior is not acceptable. After I create a LUKS device, I'm expecting the device to be created (if there was not an error) and not opened.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. choose a partition (e.g. /dev/vda12)
2. wipefs -a /dev/vda12 (careful here!!)
3. run the reproducer
4. ls /dev/mapper
5. observe an opened LUKS device in the device mapper
LUKS device is opened.
LUKS device is not opened.
I don't see how blivet could possibly open that luks device. What is the filename in /dev/mapper/?
It would be helpful if you could use the code from examples/list_devices.py to set up logging so you could attach /tmp/blivet.log to these bug reports.
Now I can see how blivet is getting the passphrase. I'll make that code only run in installer mode.
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.
More information and reason for this action is here: