Package: cryptmount
Version: 5.0-1
Severity: normal

Dear Maintainer,

I've run into a small issue with cryptmount when I attempt to run it as
my normal user.  It reports that it "Failed to initialize device for
LUKS keyfile".  However if I run "sudo cryptmount" to give it root
privileges then it works fine.

Output of "sudo cryptmount usb32-CRYPT":
Enter password for target "usb32-CRYPT":
e2fsck 1.42.11 (09-Jul-2014)
/dev/mapper/usb32-CRYPT: clean, 548/1632000 files, 1541405/6521408 blocks

Output of "cryptmount usb32-CRYPT":
Enter password for target "usb32-CRYPT":
Failed to initialize device for LUKS keyfile
Enter password for target "usb32-CRYPT":
Failed to initialize device for LUKS keyfile
Enter password for target "usb32-CRYPT":
Failed to initialize device for LUKS keyfile
Failed to extract cipher key

Additionally I can use "cryptsetup luksOpen" to mount the encrypt
partition just fine.  So it does not appear that there is anything wrong
with the media or partition format.  Rather the problem only occurs when
I run cryptmount as my normal user.

I also tried changing the dev= line in cmtab to /dev/sdb2, and it
produces the same bugs when run as my normal user while working fine
when run via sudo.

Is there something I'm doing wrong or something I should change?

Thanks,

Dave V.


-- System Information:
Debian Release: sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cryptmount depends on:
ii  libc6               2.19-9
ii  libcryptsetup4      2:1.6.6-1
ii  libdevmapper1.02.1  2:1.02.88-1
ii  libgcrypt11         1.5.4-2

Versions of packages cryptmount recommends:
ii  udev  208-8

Versions of packages cryptmount suggests:
ii  dmsetup  2:1.02.88-1
ii  openssl  1.0.1i-2

-- Configuration Files:
/etc/cryptmount/cmtab changed:
_DEFAULTS_ {
        passwdretries=3
}
usb32-CRYPT {
        dev=/dev/disk/by-uuid/f2cccfbb-4e18-4e72-98cf-db804fd53255
        dir=/media/usb32-CRYPT
        keyformat=luks
        fstype=ext4
        mountoptions=noatime,relatime
}


-- no debconf information

-- 
Dave Vehrs                          dve...@gmail.com


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to