Bug 811163

Summary: cryptsetup luksClose - Device foo is busy
Product: [Fedora] Fedora Reporter: Marco Hartgring <marco.hartgring>
Component: cryptsetup-luksAssignee: LVM and device-mapper development team <lvm-team>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 16CC: agk, dwysocha, lvm-team, mbroz, okozina, pjones, prockai, tim, whulbert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-10 10:41:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Marco Hartgring 2012-04-10 10:15:24 UTC
Description of problem:
After opening and mounting a LUKS volume it's impossible to close it.

Version-Release number of selected component (if applicable):
cryptsetup-luks-1.3.1-3.fc16

How reproducible:
Always

Steps to Reproduce:
1. cryptsetup luksOpen <volume> crypt
2. mount /dev/mapper/crypt
3. umount /dev/mapper/crypt 
4. cryptsetup luksClose -v /dev/mapper/crypt

Actual results:
Closing of the LUKS volume

Expected results:

Device crypt is busy.
Command failed with code 16: Device crypt is busy.

Additional info:
This has been happening a few kernel versions ago, I can't recall exactly when it started.
A reboot will close the volume without problems.

Comment 1 Milan Broz 2012-04-10 10:41:47 UTC

*** This bug has been marked as a duplicate of bug 809188 ***