[Bug 433051] Re: cryptsetup fails to open LUKS partition

Anton¡o Sch¡fano skiantoz at tango.lu
Sat Sep 19 13:22:00 UTC 2009


** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/32068972/Dependencies.txt

** Description changed:

  Binary package hint: cryptsetup
  
- I have setup LUKS to have my encrypted home directory auto mounted when
+ I have set up LUKS to have my encrypted home directory auto mounted when
  logging in.
  
- After upgrading to Karmic, I noticed that from time to time my home dir would not get mounted. Recently, this has become very annoying: I have to try several time before cryptsetup succeeds in opening my home partition.
+ After upgrading to Karmic, I noticed that from time to time my home dir would not get mounted. Recently, this has become very annoying: I have to try several times before cryptsetup succeeds in opening my home partition.
  Below a typical login session:
  
  --------------------------------------------------
  Ubuntu karmic (development branch) ciccetto tty1
  
  ciccetto login: antonio
  Password:
  Last login: Sat Sep 19 14:51:42 CEST 2009 on tty2
  Linux ciccetto 2.6.31-10-generic #34-Ubuntu SMP Wed Sep 16 00:23:19 UTC 2009 i686
  
  To access official Ubuntu documentation, please visit:
  http://help.ubuntu.com/
  
  
  The programs included with the Ubuntu system are free software;
  the exact distribution terms for each program are described in the
  individual files in /usr/share/doc/*/copyright.
  
  Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
  applicable law.
  
  pam_mount(mount.c:67): Errors from underlying mount program:
  pam_mount(mount.c:71): Command failed: No key available with this passphrase.
  pam_mount(mount.c:71):
  pam_mount(pam_mount.c:543): mount of /dev/sda7 failed
  No directory, logging in with HOME=/
  To run a command as administrator (user "root"), use "sudo <command>".
  See "man sudo_root" for details.
  
  antonio at ciccetto:/$
  ---------------------------------------------------
  
  If I log with another user (having non-encrypted home dir) and try to
  unlock manually the partition with cryptsetup, I have to try several
  times before eventually succeeding (in the example below, I succeeded at
  5th attempt):
  
  ---------------------------------------------------
  root at ciccetto:~# cryptsetup luksOpen /dev/sda7 _dev_sda7
  Enter LUKS passphrase:
  Enter LUKS passphrase:
  Enter LUKS passphrase:
  Command failed: No key available with this passphrase.
  
  root at ciccetto:~# cryptsetup luksOpen /dev/sda7 _dev_sda7
  Enter LUKS passphrase:
  Enter LUKS passphrase:
  key slot 0 unlocked.
  Command successful.
  root at ciccetto:~#
  ---------------------------------------------------
  
  ProblemType: Bug
  Architecture: i386
  Date: Sat Sep 19 15:03:37 2009
  DistroRelease: Ubuntu 9.10
  Package: cryptsetup 2:1.0.6+20090405.svn49-1ubuntu4
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
  SourcePackage: cryptsetup
  Tags:  ubuntu-unr
  Uname: Linux 2.6.31-10-generic i686

-- 
cryptsetup fails to open LUKS partition
https://bugs.launchpad.net/bugs/433051
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list