|Summary:||cryptsetup hangs when isLuks is used on ordinary file|
|Product:||Red Hat Enterprise Linux 5||Reporter:||Pavel Holica <pholica>|
|Component:||cryptsetup-luks||Assignee:||Milan Broz <mbroz>|
|Status:||CLOSED ERRATA||QA Contact:||Release Test Team <release-test-team>|
|Version:||5.5||CC:||agk, atodorov, dwysocha, mbroz, prockai, pvrabec|
|Fixed In Version:||cryptsetup-luks-1.0.3-6.el5||Doc Type:||Bug Fix|
The cryptsetup utility became unresponsive when using the "cryptsetup isLuks" command on an ordinary file. This problem has been fixed: if running the command on an ordinary file, the cryptsetup utility informs users about the file not being a LUKS partition.
|Last Closed:||2011-07-21 07:04:11 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
Description Pavel Holica 2010-08-10 08:35:23 UTC
Description of problem: Running cryptsetup isLuks on ordinary file causes cryptsetup to hang. Version-Release number of selected component (if applicable): RHEL 5.5 Server x86_64 cryptsetup-luks-1.0.3-5.el5 How reproducible: always Steps to Reproduce: 1. echo foo > /tmp/foo 2. cryptsetup isLuks /tmp/foo Actual results: crypsetup hang consuming 95% of CPU Expected results: Cannot read device /tmp/foo Additional info:
Comment 1 RHEL Product and Program Management 2010-08-10 08:37:05 UTC
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
Comment 5 Milan Broz 2011-03-08 11:10:44 UTC
Fixed in cryptsetup-luks-1.0.3-6.el5
Comment 7 Alexander Todorov 2011-05-11 13:35:15 UTC
# rpm -q cryptsetup-luks cryptsetup-luks-1.0.3-8.el5 # echo foo > /tmp/foo # cryptsetup isLuks /tmp/foo /tmp/foo is not a LUKS partition # echo $? 234 #
Comment 8 Eliska Slobodova 2011-07-07 16:07:33 UTC
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The cryptsetup utility became unresponsive when using the "cryptsetup isLuks" command on an ordinary file. This problem has been fixed: if running the command on an ordinary file, the cryptsetup utility informs users about the file not being a LUKS partition.
Comment 9 errata-xmlrpc 2011-07-21 07:04:11 UTC
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0987.html