[Bug 1095064] [NEW] Automount of luks encrypted DVD fails
Willem Brown
1095064 at bugs.launchpad.net
Tue Jan 1 16:17:42 UTC 2013
Public bug reported:
I have created an encrypted UDF file system on a DVD. If I insert the DVD into the drive it prompts for the pass phrase but then it fails with the following message:
"Error unlocking device: cryptsetup exited with exit code 1: device-
mapper: reload ioctl failed: Invalid argument"
I can manually mount the device if I specify the "-r" option.
* Open the DVD without the "-r" option:
$ sudo cryptsetup luksOpen /dev/sr0 d1
Enter passphrase for /dev/sr0:
device-mapper: reload ioctl failed: Invalid argument
* Open the DVD with the "-r" option:
$ sudo cryptsetup -r luksOpen /dev/sr0 d1
Enter passphrase for /dev/sr0:
$ sudo cryptsetup status d1
/dev/mapper/d1 is active.
type: LUKS1
cipher: aes-xts-plain
keysize: 512 bits
device: /dev/sr0
offset: 4096 sectors
size: 9175592 sectors
mode: readonly
---
ApportVersion: 2.0.1-0ubuntu15.1
Architecture: amd64
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
MarkForUpload: True
NonfreeKernelModules: nvidia
Package: cryptsetup 2:1.4.1-2ubuntu4
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 3.2.0-35.55-generic 3.2.34
Tags: precise running-unity
Uname: Linux 3.2.0-35-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-05-27 (219 days ago)
UserGroups: adm admin bluetooth cdrom dialout disk libvirtd lpadmin plugdev sambashare wireshark
crypttab: # <target name> <source device> <key file> <options>
** Affects: cryptsetup (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-collected automount precise readonly running-unity
** Attachment added: "apt-cache: cryptsetup"
https://bugs.launchpad.net/bugs/1095064/+attachment/3472015/+files/apt-cache-output.txt
** Tags added: apport-collected precise running-unity
** Description changed:
I have created an encrypted UDF file system on a DVD. If I insert the DVD into the drive it prompts for the pass phrase but then it fails with the following message:
"Error unlocking device: cryptsetup exited with exit code 1: device-
mapper: reload ioctl failed: Invalid argument"
I can manually mount the device if I specify the "-r" option.
* Open the DVD without the "-r" option:
$ sudo cryptsetup luksOpen /dev/sr0 d1
Enter passphrase for /dev/sr0:
device-mapper: reload ioctl failed: Invalid argument
* Open the DVD with the "-r" option:
$ sudo cryptsetup -r luksOpen /dev/sr0 d1
Enter passphrase for /dev/sr0:
$ sudo cryptsetup status d1
/dev/mapper/d1 is active.
type: LUKS1
cipher: aes-xts-plain
keysize: 512 bits
device: /dev/sr0
offset: 4096 sectors
size: 9175592 sectors
mode: readonly
+ ---
+ ApportVersion: 2.0.1-0ubuntu15.1
+ Architecture: amd64
+ DistroRelease: Ubuntu 12.04
+ InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
+ MarkForUpload: True
+ NonfreeKernelModules: nvidia
+ Package: cryptsetup 2:1.4.1-2ubuntu4
+ PackageArchitecture: amd64
+ ProcVersionSignature: Ubuntu 3.2.0-35.55-generic 3.2.34
+ Tags: precise running-unity
+ Uname: Linux 3.2.0-35-generic x86_64
+ UpgradeStatus: Upgraded to precise on 2012-05-27 (219 days ago)
+ UserGroups: adm admin bluetooth cdrom dialout disk libvirtd lpadmin plugdev sambashare wireshark
+ crypttab: # <target name> <source device> <key file> <options>
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/1095064
Title:
Automount of luks encrypted DVD fails
Status in “cryptsetup” package in Ubuntu:
New
Bug description:
I have created an encrypted UDF file system on a DVD. If I insert the DVD into the drive it prompts for the pass phrase but then it fails with the following message:
"Error unlocking device: cryptsetup exited with exit code 1: device-
mapper: reload ioctl failed: Invalid argument"
I can manually mount the device if I specify the "-r" option.
* Open the DVD without the "-r" option:
$ sudo cryptsetup luksOpen /dev/sr0 d1
Enter passphrase for /dev/sr0:
device-mapper: reload ioctl failed: Invalid argument
* Open the DVD with the "-r" option:
$ sudo cryptsetup -r luksOpen /dev/sr0 d1
Enter passphrase for /dev/sr0:
$ sudo cryptsetup status d1
/dev/mapper/d1 is active.
type: LUKS1
cipher: aes-xts-plain
keysize: 512 bits
device: /dev/sr0
offset: 4096 sectors
size: 9175592 sectors
mode: readonly
---
ApportVersion: 2.0.1-0ubuntu15.1
Architecture: amd64
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
MarkForUpload: True
NonfreeKernelModules: nvidia
Package: cryptsetup 2:1.4.1-2ubuntu4
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 3.2.0-35.55-generic 3.2.34
Tags: precise running-unity
Uname: Linux 3.2.0-35-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-05-27 (219 days ago)
UserGroups: adm admin bluetooth cdrom dialout disk libvirtd lpadmin plugdev sambashare wireshark
crypttab: # <target name> <source device> <key file> <options>
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1095064/+subscriptions
More information about the foundations-bugs
mailing list