Public bug reported:

$ sudo luksformat -t vfat /dev/sdd1
Creating encrypted device on /dev/sdd1...

WARNING!
========
This will overwrite data on /dev/sdd1 irrevocably.

Are you sure? (Type uppercase yes): yes
Command failed.
Could not create LUKS device /dev/sdd1 at /usr/sbin/luksformat line 58, 
<MOUNTS> line 19. 

luksformat gives this cryptic error if you enter a lower case "YES".
This should point to an error saying: Command failed. Could not create
LUKS device /dev/sdd1 because you need to type YES in uppercase. If
there is a way to change the error "Could not create LUKS device
/dev/sdd1 at /usr/sbin/luksformat line 58, <MOUNTS> line 19." to
something more useful, it would be appreciated.

Packages affected:
cryptsetup 2:1.0.6-7ubuntu7

** Affects: cryptsetup (Ubuntu)
     Importance: Undecided
         Status: New

-- 
luksformat gives cryptic error if you enter a lower case YES
https://bugs.launchpad.net/bugs/401182
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to