Bug 614989 - luksAddKey / device mapper complains
luksAddKey / device mapper complains
Status: CLOSED DUPLICATE of bug 613909
Product: Fedora
Classification: Fedora
Component: cryptsetup-luks (Show other bugs)
13
All Linux
low Severity medium
: ---
: ---
Assigned To: LVM and device-mapper development team
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-15 13:46 EDT by Nathanael Noblet
Modified: 2010-07-16 05:48 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-07-16 05:48:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nathanael Noblet 2010-07-15 13:46:25 EDT
Description of problem:
when running some of the cryptsetup options it complains with

device-mapper: remove ioctl failed: Device or resource busy

and in dmesg you get

device-mapper: ioctl: unable to remove open device temporary-cryptsetup-9696

It *does* however work, but is very confusing as you would think it hadn't completed successfully.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.cryptsetup luksAddKey --key-slot 4 -q -y /dev/sde3 ~gnat/keyfile
2.
3.
  
Actual results:
[root@iridium tmp]# cryptsetup luksAddKey --key-slot 2 -q -y /dev/sde3 ~gnat/keyfile
Enter any passphrase: 
Verify passphrase: 
device-mapper: remove ioctl failed: Device or resource busy
Key slot 0 unlocked.
device-mapper: remove ioctl failed: Device or resource busy


Expected results:
[root@iridium tmp]# cryptsetup luksAddKey --key-slot 2 -q -y /dev/sde3 ~gnat/keyfile
Enter any passphrase: 
Verify passphrase: 
Key slot 0 unlocked.


Additional info:
Comment 1 Milan Broz 2010-07-16 05:48:59 EDT
yes, because hald is broken...

(btw it will recover, so it is not crutical but should be fixed - I provided patch for that hal bug already...)

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

Note You need to log in before you can comment on or make changes to this bug.