Red Hat Bugzilla – Bug 404721
segfault when trying to open a non existing device
Last modified: 2013-02-28 23:06:47 EST
Cryptsetup segfaults if called for non-existent device
# cryptsetup luksOpen /dev/bla test
Simple patch already in devel svn, or here
Thanks for reporting this. This happens also in F8, but it does not in F7. I do
not really know why. Nevetheless, I guess it would be enough to fix this in
rawhide. I plan to maybe upgrade rawhide to cryptsetup 1.0.6 pre, afaik it
mainly contains useful patches from debian, but I try it first on my notebook.
Then this would be fixed, too.
Till, there are other serious cryptsetup problems in rawhide (my test scripts
sometimes left temporary dm-crypt mapping etc.)
(Another debian patch "run udevsettle after dm device creation").
These patches should be backported asap or we should switch to 1.0.6 pre.
(Please let me know if you need help with testing or fixing these bugs.)
(btw bug is apparently even in F7 but because some compiler optimization it
(In reply to comment #2)
> Till, there are other serious cryptsetup problems in rawhide (my test scripts
> sometimes left temporary dm-crypt mapping etc.)
Could I have access to your test scripts?
> These patches should be backported asap or we should switch to 1.0.6 pre.
> (Please let me know if you need help with testing or fixing these bugs.)
It would be great when you could test cryptsetup 1.0.6 pre1, e.g. these rpms:
There is a bug in debian:
Cryptsetup 1.0.6 pre1 does not support adding keys to an opened luks partition
Rawhide does now contain cryptsetup 1.0.6 pre2. Nevertheless I am still
interested in the test scripts. :-)